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, ['P', 'v', '8259', '3283', 'f', '9409', 'c', 'Y', '2253', 'P', '4549', '3015', '8515', 'e', 's', '8567', 's', '2611', '153', 'p', '1465', '1435', 'r', 'n']

SOLUTION: P, v, 8259, 3283, f, 9409, c

PROBLEM: 8, ['7923', 'a', '7805', '7491', 'f', '8155', '2019', '4953', '5127', '9301', '4063', '2023', 'o', 'a', '4191', 't', 'X', 'n', 'W', '361', 'Y']

SOLUTION: 7923, a, 7805, 7491, f, 8155, 2019, 4953

PROBLEM: 2, ['9097', '5951', 'd', 'X', '489', '4891']

SOLUTION:
9097, 5951