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

7, ['217', 'R', '5579', '1189', '5221', '1101', '7135', '7231', '3203', 'Q', 'T', '1499', 's', '171', 'A', '1357', '7927', 'U']
217, R, 5579, 1189, 5221, 1101, 7135

5, ['B', '4551', 'x', 'c', 'u', 'f', '4781', '4659', 'S', '8761', '7863', 'F', '6907', '3291']
B, 4551, x, c, u

7, ['x', '3971', '5535', 't', '2273', 'y', '123', '9063', 't', 'x', '991', '3683', 'L', '541', '3581', 'B', 'p', 'T', '3835', '8247', '4165', 'n', '4539', 'f']

x, 3971, 5535, t, 2273, y, 123