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, ['y', '1717', '1977', 'A', '8865', '2343', 'G']
y, 1717

4, ['I', 'P', 'I', '9729', '359', '1947', '3337', '6291', 'M', 'L', 'Y', 'P', '4535', '4107', 'A', '7731', '3917', '5903', 'o', 'S', 'O', '9199', '8797', 'R']
I, P, I, 9729

2, ['4851', 'l', 'e', '3157', 'H', '3305', 'O', 'e', '4111', 'G', '1059', '1001', '1979', 'R']

4851, l