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

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

A: P, e, 9817
****
Q: 1, ['9469', '2635']

A: 9469
****
Q: 1, ['A', '245', 'g']

A:
A
****