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: 8, ['t', '6399', 't', 'j', 'K', '3151', 'M', '3997', 'A', 'f', '5243', '9961', 'k', '1569', 'i', '7287', '6887', '5959', '7315', '1363', '6011', 'C', '2403', 'g', '3609', 'e', '9475']

A: t, 6399, t, j, K, 3151, M, 3997
****
Q: 3, ['g', 'E', 'o', 'p', '2615', 'U']

A: g, E, o
****
Q: 8, ['9629', '8439', '3849', '3365', '6737', 'p', '2537', 'X', 'T', '5033', '5907', '3141', 'r', 'Z', 'W', '6793', '2575', '271', 'Y', 'u', '1827', '2897', 'S', '6883', 'L', 'R', '7891', '6653', 'G']

A:
9629, 8439, 3849, 3365, 6737, p, 2537, X
****