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

2, ['p', 'A', '9043', '5251']
p, A

4, ['P', 'W', '5035', '4291', 'G', 'D', 'h', '5089', '7117', 'V', '6155', '1235', '4201', 'O', '8813', '7503']
P, W, 5035, 4291

3, ['p', 'd', 'O', 'W', 'l', '2207', 'x']

p, d, O