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: 9, ['8979', 'S', '8353', '363', '8679', '6641', 'G', 'M', 'N', 's', '7655', 'z', '2497', 'Z', 'p', '947', '9821', '1001', 'f', 'Q', '2479']

SOLUTION: 8979, S, 8353, 363, 8679, 6641, G, M, N

PROBLEM: 4, ['a', 'R', '6845', '2615', '6791', 'R', 'e', 'q', 'd']

SOLUTION: a, R, 6845, 2615

PROBLEM: 4, ['j', 'I', 'P', 'S', 'n', 'K', '8615', 'k', 'w', 'W', '8135', '1889', '7019', 's', '1313', '993', '269', '7495', 'P', '5743', 'x', 'p', 'w', '9623', 'd', 'Z', '7993', '9497', 'I', '8941']

SOLUTION:
j, I, P, S