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, ['L', '5897', '3573', '7105', 'p', 'B', 'q', '8211']

SOLUTION: L

PROBLEM: 4, ['Z', '9555', '4853', '9641', 'f', '4331', 'Z', '9457', 'L']

SOLUTION: Z, 9555, 4853, 9641

PROBLEM: 8, ['x', 'L', '8137', '649', 'h', '667', 'h', 'n', '7615', 'r', 'Y', '899', '2055', 'C', 'r', '3915']

SOLUTION:
x, L, 8137, 649, h, 667, h, n