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, ['5371', '6183', '8049', 'I', '8429', 'd', '4473', '4067', 'p']

SOLUTION: 5371

PROBLEM: 1, ['J', 'Q', 'G', '221']

SOLUTION: J

PROBLEM: 2, ['3777', 'b', 'p', '4659', '4373', 's', 'Q', '9989', '1103', '8149', 'i', 'B', '9815']

SOLUTION:
3777, b