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]: 2, ['J', '6125', 'X', 'K', '6675', '7857', 'q', '3107', '3113', 'M', '3003', '4043']
[EX A]: J, 6125

[EX Q]: 4, ['269', '9963', '6829', 'p', '6287', '2979', 'O', '331', 'a', 'B', '7109', '8445', 'X', '3111', '1561']
[EX A]: 269, 9963, 6829, p

[EX Q]: 2, ['G', 'U', '1479', 'N', 'Q', 'l', '993', '6305', '6853', 'i', '1773', 'k', '4999']
[EX A]:
G, U