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, ['8533', 'T', '9927', 'Z', '8363', '1687', '9541', 'x', '9463', '777', 'Q', '8835', 'P', '9361', 'u', 'I', 'S', 'x', 'L', '2877']
8533, T

2, ['E', 'v', 'n', '6875', 'S', 'j', '7011', '3821', '4299']

E, v