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, ['r', '2233', 'O', 'M', '6247', 'j', 'O', '8839', '4117', '5243', 'K', '5115', 'K', 'N', 'Z', '8231', 'X', '7749', '6991', '221', '7131', '5523', '2423', 'C', 's', '2801', 'h', '8587', '7067', 'Z']
r, 2233

6, ['v', 'z', 'N', 'P', 'o', '573', 'H', '6497', '5763', '1987', '825', 'I', 'R', 'W', '6525']
v, z, N, P, o, 573

8, ['983', 'C', '5829', '4271', 'w', '7861', 'a', 'H', 'y', 'R', '653', 'l', '9763', '6691', '7985', '565', '663', '483', '4239', '4091', '1317', '2387', '635']

983, C, 5829, 4271, w, 7861, a, H