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, ['6141', 'w']
6141

4, ['6787', '3563', 'j', '853', 'm', '2437', '1583', '7479', 'u', 'O', '5755', 'C', 'H', '6641', '6721', 'g', '2249', 't', 'P', 'F', 'g', 'K', 'P', 'o', '7561', '1309', 'r', 'h', 'W', '5409']
6787, 3563, j, 853

1, ['l', 'C', 'r', '4317', 'O', 'Z', 'V', 'x', 'l', 'N', '7565']

l