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: 3, ['8593', 'h', 'P', 'w', '8115', 'U', 'a', '1485']

SOLUTION: 8593, h, P

PROBLEM: 4, ['e', 'n', 'D', '3691', 's', '4867', 'H', 'K', '6993', 'O', 'O', '2921', '3211', 'h', 'R', '1633', 's', 'h', '8065']

SOLUTION: e, n, D, 3691

PROBLEM: 2, ['D', 'J', '9557', 'K', 'R', '5993', 'M']

SOLUTION:
D, J