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, ['J', '3439', 'h', 'z', 'p', '6937', 'b', 'y', '3799', '6275', 'v', 'z', '1537', '8843', 'D', 'u', '4471', 'B', '661', 'A', '5959', '1075', '6903', 'm', '5969', 'g']

SOLUTION: J, 3439, h, z

PROBLEM: 5, ['P', '8965', '9559', 'j', 'H', 'D', '435', 'F', '4667', '2971', '4355', 's', '5231', '5265', '2233', 'S', 't', '1489', 'y', 'N', 'Z', '1697', '8841', '5163', '523', 'g', 's']

SOLUTION: P, 8965, 9559, j, H

PROBLEM: 8, ['7547', '7403', 'O', 'A', '3561', 'o', 'P', 'a', '8741', 'u', '555', 'G', '9117', 'z', 'b', '6093', 'x', 's', 'v', '819', '3183', 'e', 'Y', 'r', '7495']

SOLUTION:
7547, 7403, O, A, 3561, o, P, a