TASK DEFINITION: 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
PROBLEM: 1, ['G', '2711', '4429']

SOLUTION: G

PROBLEM: 2, ['2497', 'O', 'K', 'N', '5557']

SOLUTION: 2497, O

PROBLEM: 5, ['U', 'g', 'f', '6789', 'b', '6139', '7743', '7289', 'B', '6821']

SOLUTION:
U, g, f, 6789, b