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, ['P', '8965', '9559', 'j', 'H', 'D', '435', 'F', '4667', '2971', '4355', 's', '5231', '5265', '2233', 'S', 't', '1489', 'y', 'N', 'Z', '1697', '8841', '5163', '523', 'g', 's']

A: P, 8965, 9559, j, H
****
Q: 7, ['K', '5399', 'H', '1817', '8473', 'I', '7585', '8343', '7413', '4457', '3011', '7259', 'B', 'D', 'U', '9719', 'T', 'L', 'p']

A: K, 5399, H, 1817, 8473, I, 7585
****
Q: 11, ['2019', 'z', 'U', 'Y', 's', 'O', '331', '2289', 'T', '1557', '1845', '315', 'Z', '8043', '4761', 'g', 'v', '8217', 'J', 'V', 'u', 'C', 'J', 'O', 'W', 'C', '5997']

A:
2019, z, U, Y, s, O, 331, 2289, T, 1557, 1845
****