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, ['1799', '7727', 'w', '4585', '3837', 'A', 'B', 'a', 'J', '9783', 'v', '8199', 'o', 'F', '3897', '7703', '1983']

SOLUTION: 1799, 7727, w, 4585

PROBLEM: 4, ['5749', 'Q', 'W', 'Q', '645', '6993', 'Z', '9929']

SOLUTION: 5749, Q, W, Q

PROBLEM: 12, ['8841', 'j', 'D', '6095', '5703', 'J', 'P', 'y', 'J', 'r', 'A', '7111', '3621', '3613', '5261', '4571', 'L', 'b', 'J', 'o', '4709', 'k', '3981', '8595']

SOLUTION:
8841, j, D, 6095, 5703, J, P, y, J, r, A, 7111