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: 2, ['M', '5735', '1053', '1707', 'p', 'p']

SOLUTION: M, 5735

PROBLEM: 5, ['429', '2903', '753', '727', '6321', '4017', '3715', 'u', '2457', 'b', 'D', '7747']

SOLUTION: 429, 2903, 753, 727, 6321

PROBLEM: 6, ['7887', '9729', '7511', 'X', '4189', 'A', '6779', 'n', 'k', '5665', 'y', '9699', '8213', '3101', 's', 's', 'Q', 'P', '4075', 'z', '381', 'b', 's']

SOLUTION:
7887, 9729, 7511, X, 4189, A