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: 7, ['d', '4167', 'H', 'h', 'K', 'x', '237', '9489', '691', 'j', '7537', '1989', '3921', 'a']

SOLUTION: d, 4167, H, h, K, x, 237

PROBLEM: 4, ['g', 'x', 'c', 'P', 'P', 'T', '1765', '8999', '9509', '4159', 'K', 'z', 'r', '8389', 'W', '5627', 'O', '253', '2749', 'G', 'u', 'T', '5627']

SOLUTION: g, x, c, P

PROBLEM: 9, ['2797', 't', '6579', '9855', '3597', '9731', 'o', 'J', '7461', '2731', '6257', 'Z', 'G', '3935', 'U', 'T', '3125', '9765']

SOLUTION:
2797, t, 6579, 9855, 3597, 9731, o, J, 7461