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, ['d', 'a']
d

1, ['p', 'H', 'v', 'q', 'm', 'F', 'd', 'x', 'C', 'K', 'I', '8601', '8247', 'g', 'S', 'q', 'Z', 'V', 'H', 'l', '5077']
p

3, ['D', 't', 'a', '4241', '843', '8195', 'C', 'k', '955', 's', '7173', 'a', 'A', '7943', '4317', 'h', 'Z', '5961', 's', 'z', '1713', '3807', '901', 'N', '9135']

D, t, a