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, ['T', '4337', 'P', '7709', '7427', '369', 't', '2357', 'A', '3669', 'r']
T, 4337

1, ['a', 'm', 'A', 'p', '7065', '7175', '9329', 'u']
a

5, ['1375', 'R', 'D', '7217', 'i', '6277', 'N', '9015', '4353', 'D', '9431', 'c', 'P', 'P']

1375, R, D, 7217, i