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

2, ['4919', 'f', '9971', '3933', 'M']
4919, f

7, ['M', '2561', 'f', '6843', '653', '8287', '8869', '3745', '5591', '1357', '399', '3327', '5945', '7773']

M, 2561, f, 6843, 653, 8287, 8869