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]: 1, ['y', 'i', '1227', 'f', 'r', 'R', 'J', '3731', '559', 'c']
[A]: y


[Q]: 1, ['7739', 'J', '9597', 'Z', '293', '7677', 'f', 'j', 'l', 'w', '711', '7529', '9393', 'X', 'y', '6027']
[A]: 7739


[Q]: 3, ['r', '2513', 'P', 'r', '3881', 'A', '8791', 'M', 'c']
[A]:
r, 2513, P