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: 4, ['Z', '9555', '4853', '9641', 'f', '4331', 'Z', '9457', 'L']

SOLUTION: Z, 9555, 4853, 9641

PROBLEM: 3, ['W', '3951', 'v', '3539', 'D', '1649', '5479', '2173', '5923', 'Y', 'b', '2573', '5887', '6543', '761', 'Z', '5681', 't', '4727']

SOLUTION: W, 3951, v

PROBLEM: 5, ['3991', '689', '7185', '2433', 'c', 'K', '2563', 'u', 's', '4319', '1811', 'h', 'm', '9879']

SOLUTION:
3991, 689, 7185, 2433, c