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

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

1, ['8385', 'S', '8579', 'H', 'i', 'b', 'l']
8385

6, ['4969', '2135', '4723', 'j', '901', '3893', 'm', 'D', '2141', 'm', '9657', 'c', '4315']

4969, 2135, 4723, j, 901, 3893