In this task, you are given inputs i and A, where i is an integer and A is a list. You need to output the first i elements of A, starting with the 1st element in A. i will always have a value less than the length of A

5, ['5403', 'R', '8935', '2635', 'n', '2979', 'M', 'g', 'i', '8143', '5401', '5227', '2457', 'Q', 'k', 'l', '3729', '9507', '8227', '5909', 'z', 'c']
5403, R, 8935, 2635, n

2, ['9121', 'q', '4385', '3911', 'D', '553', 'o', '9411', '6257', '8119', 'T', '283', '9269']
9121, q

1, ['r', 'U']

r