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

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

1, ['1161', 'Y', 'A']
1161

5, ['g', '383', 'Z', '2863', '9711', '7771', 'S', 'f', '3935', 'Z', 'D']

g, 383, Z, 2863, 9711