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

Example Input: 1, ['a', 'm', 'A', 'p', '7065', '7175', '9329', 'u']
Example Output: a

Example Input: 5, ['2969', '9463', 'P', '2153', '4021', '1967', 'r', '2095', '9431', '7215', '7797', 'j', 'T', 'R']
Example Output: 2969, 9463, P, 2153, 4021

Example Input: 2, ['Y', 'Y', '4757', '9203', '8595', 'g', 'v']
Example Output:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
Y, Y

