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

[EX Q]: 8, ['3017', 'J', 'U', '1787', '9841', '3611', 'l', '7137', 'S', '7435', 'E', 'E', 'C', '2829', 'Q', 'A', '4259']
[EX A]: 3017, J, U, 1787, 9841, 3611, l, 7137

[EX Q]: 6, ['5453', 'I', 'j', '163', 'l', 'T', 'x', 'r', 'G', 'j', '5261', '6419', '6001', '5869', '1735']
[EX A]: 5453, I, j, 163, l, T

[EX Q]: 3, ['4975', 'm', '8429', 'I', '7087', 's', '6605', 'v', 'e', '6621', 'a']
[EX A]:
4975, m, 8429