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: 7, ['d', '4167', 'H', 'h', 'K', 'x', '237', '9489', '691', 'j', '7537', '1989', '3921', 'a']

A: d, 4167, H, h, K, x, 237
****
Q: 1, ['C', 'G', 'v', 'U', 'c', 'T', 'z', '5947', 'W', 'X', 'Z', '8789', 'c', '7491', '353', 'm', '1333', 'N', '5201', '9973', '4375', '6929', '7411', '6591', 'S', 'W', '8881']

A: C
****
Q: 2, ['1247', '8103', '1553', '151', 'x', 'B', 'C', 'Q', '5581', '2417', 'g', '9097', '7399', 'W', '4361', 'T', '6081', '3655', '7775', 'S', 'h', '5265', 'U', '459', '8449', 'T', 'L', '229']

A:
1247, 8103
****