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

1, ['M', '7597', '5791', '6807']
M

5, ['2969', '9463', 'P', '2153', '4021', '1967', 'r', '2095', '9431', '7215', '7797', 'j', 'T', 'R']
2969, 9463, P, 2153, 4021

9, ['2145', '1827', 'D', '4895', '4241', 'j', 'p', '5249', '439', 'X', '1489', '9359', '5655', '5917', '3037', 's', '4587', 'u', '9699', '9541', '1645', '4075', 'i', 'f', 'X', '6963']

2145, 1827, D, 4895, 4241, j, p, 5249, 439