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: 5, ['B', '4551', 'x', 'c', 'u', 'f', '4781', '4659', 'S', '8761', '7863', 'F', '6907', '3291']

A: B, 4551, x, c, u
****
Q: 3, ['7677', 'k', '8697', 'N', 'v', '351', '6619', 'v', '8559', 'Q', '9151', '8655', 'l', 'o', '2519', '9671', 'N', '2779', 'L']

A: 7677, k, 8697
****
Q: 3, ['B', '7901', 'P', 'x', '3845', '6445', '3861', '3633', 'q', 'q', '4523', 'U', '9429', 'v', 'b', 'm', 't', '5947', '3269', 'c', 'c', '15', 'd', '9381', 'b', 'V', 'p', 'm', 'Z']

A:
B, 7901, P
****