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: 8, ['3017', 'J', 'U', '1787', '9841', '3611', 'l', '7137', 'S', '7435', 'E', 'E', 'C', '2829', 'Q', 'A', '4259']

SOLUTION: 3017, J, U, 1787, 9841, 3611, l, 7137

PROBLEM: 3, ['t', '1753', 'Q', 'A', '5813', '9011', 'N', '3165', 'g', '9657']

SOLUTION: t, 1753, Q

PROBLEM: 4, ['8739', 'K', 'z', 'A', '2031', '9747', '6739', '7847', 'D', 'g', '3797', 'w', 'e', 'H', '5213']

SOLUTION:
8739, K, z, A