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
--------
Question: 6, ['5289', '5351', 'v', '8165', '5337', '5425', '9427', 'Y', '2271', 'r', 'J', 'o', '9957', 'K', '341', '5563', 'E', '8245', '273', '8547', '7495', 'S']

Answer: 5289, 5351, v, 8165, 5337, 5425

Question: 4, ['9403', 'e', 'O', 'J', 'h', 'r', '3027', '6105', '6983', 'R', '1685', 'L', '29', 'H', '4369']

Answer: 9403, e, O, J

Question: 7, ['J', '2023', '9517', '6959', '7481', 'O', '55', 'O', 's', '2785', 'r', '1141', 'r', 'C', '2239', '2603']

Answer:
J, 2023, 9517, 6959, 7481, O, 55