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

3, ['8395', '5877', 'p', '8849', 'M', 'U', 'Y', '7053', '665', 'B', 'C', 'Y', 'q', '9177', 'e', '5109', 'Y', 'A', '5855', 'F', '4335', 'H', 'T', '7395', '2825', 'p']
8395, 5877, p

2, ['L', '2675', 'X', 'v', '3247', '9217', '6047', 'r', 'o', 'F', 'k', '1491', 'f', '1107', 'A', 'j', '7963', '8413', 'f']
L, 2675

3, ['549', 'l', '6939', 'd', '8599', 'G', 'J']

549, l, 6939