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: 5, ['U', 'g', 'f', '6789', 'b', '6139', '7743', '7289', 'B', '6821']

SOLUTION: U, g, f, 6789, b

PROBLEM: 2, ['n', 'd', 'P', '165', '7221', '971', 'W', '7097', '8273', '419', 'y', '7771', '1387', 'u', 'v', 'F', '7003', '8139', 'i', '305', 'w']

SOLUTION: n, d

PROBLEM: 1, ['X', 'k', '6223', 'X', '2123', '8521', 'r', 'm', 'T', 'l', '3437', 'u', 'G']

SOLUTION:
X