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

5, ['D', 'y', '145', '7913', '9413', '5897', '2123', 'b', '1383', 'y', 's', '4813', 'B', '1261', 'r', 's']
D, y, 145, 7913, 9413

1, ['1657', '945', 'v']
1657

2, ['4147', '5581', '1487', 'h', '1167', '225', '469', 'k', 'X', 'd', '6051', 'l', 'g']

4147, 5581