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

1, ['y', 'i', '1227', 'f', 'r', 'R', 'J', '3731', '559', 'c']
y

10, ['8931', '9485', '6281', '1845', 'm', 'Z', '5805', 'v', '8291', 's', 'q', 'P', '5949', 'R', 'R', '6307', '7703', 'C', '3753', '8677', '5533', '2305', '3963', '6809', '4851', 'f']
8931, 9485, 6281, 1845, m, Z, 5805, v, 8291, s

2, ['T', '317', '2627', 'L', '4987', 'l', '1395']

T, 317