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

3, ['X', 'u', '3309', 'I', 'h', 'J', '8437', 'L', '9765']
X, u, 3309

4, ['S', '4001', '1615', 'P', '7869', '4079', 'g', 'S', '4357', '5031']
S, 4001, 1615, P

4, ['c', 'k', '1761', 'X', 'a', '4887', '3327', 'd', '7465', 'g', '3151', 'l', 'U', '1805', 'I']

c, k, 1761, X