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

2, ['2587', '7809', '8521', 'n', 'D', '6783', '221', '4225', 'm', '499', 'l', 'F', '4427', 'H', '3787', '8079', '7847', '7031', '4263', 'P', 'E', '827', 'Z', 'Z', '2685', 'h', '7199', 'D']
2587, 7809

6, ['9679', '3843', '3211', '5965', '1505', 'L', '6763', 'W', 't', 'h', 'l', 'h']
9679, 3843, 3211, 5965, 1505, L

6, ['U', 'p', 'y', 'e', 'f', 'w', 'G', 'T', '5283', '6209', '4515', '9131', 't', 'B']

U, p, y, e, f, w