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

2, ['J', '6125', 'X', 'K', '6675', '7857', 'q', '3107', '3113', 'M', '3003', '4043']
J, 6125

1, ['2553', '6477', '3005', 'Z', '1331', '977', 'x', '1339', '7309', '9403', '3189', '151', 'N']
2553

3, ['8617', 'E', 'h', 'd', '7745', 'r', 's']

8617, E, h