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, ['a', 'm', 'A', 'p', '7065', '7175', '9329', 'u']
a

7, ['6683', '5343', '8831', 'd', 'B', 'D', '3861', 'H', 'p', 'T', '6861', '1047', '3935', 'W', '3735', '9961', '9217', '7007', '99', '6133', 'U']
6683, 5343, 8831, d, B, D, 3861

5, ['E', 'X', '4673', '303', 'Y', '9475', '7639', 'h', 'C', '1475', '589']

E, X, 4673, 303, Y