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

3, ['P', 'e', '9817', 'O', '3753', '3469', '4319', 'I', 'W', '6385', '6515', '8969', '8107', 'm', 'e', 'o', '1369', '1175', '8057', '5191', 'J']
P, e, 9817

1, ['x', 'x', '9773']

x