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: 6, ['M', 'n', '5339', '8397', 'I', 'Y', 'L', '3101', '465', 'X', '5197', '6285', '1685', '2861', 'W']

A: M, n, 5339, 8397, I, Y
****
Q: 2, ['9085', 't', 'U', 's', '17', '2919', 'S', 'h', '1719', '2681']

A: 9085, t
****
Q: 1, ['5731', 'J', 'k']

A:
5731
****