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, ['R', '7001', 'D', '1335', 'Z', 'F', '4725', '5697', 'j', '7349', 'X', 'C', 'o', 'o', 'd', 'r', '6145', '43']

A: R, 7001, D, 1335, Z, F, 4725, 5697
****
Q: 2, ['5311', '5317', 'Q', 'n', '191', '9697', '8095', '2913', 'W']

A: 5311, 5317
****
Q: 5, ['h', '6691', 'F', '7509', 'j', 'm', '457', 'V', 'Q', '9409', 'u', '199', '7191', 'G', '9539', '7429', '9161', '7869', 'x', '701', '2025', '2473', 'n', '9519', 'I', '8015', '745', '1783', '8379', '2725']

A:
h, 6691, F, 7509, j
****