AMC 12A 2023 (Problem 24)

Let KK be the number of sequences A1,A2,,AnA_1,A_2,\ldots,A_n such that nn is a positive integer less than or equal to 1010, each AiA_i is a subset of {1,2,3,,10}\{1,2,3,\ldots,10\}, and Ai1A_{i-1} is a subset of AiA_i for each ii between 22 and nn, inclusive. For example, {},{5,7},{2,5,7},{2,5,7},{2,5,6,7,9}\{\},\{5,7\},\{2,5,7\},\{2,5,7\},\{2,5,6,7,9\} is one such sequence, with n=5n=5. What is the remainder when KK is divided by 1010?
(A)  1\text{(A)}\;1(B)  3\text{(B)}\;3(C)  5\text{(C)}\;5(D)  7\text{(D)}\;7(E)  9\text{(E)}\;9