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

Example Input: 7, ['3833', 'd', 'r', '8133', 'f', 'q', 'H', '6295', '7403', '7061', 'l', '3757', '3483', 'y', '9225', 'F', 'X', 'f', 'V', '3139']
Example Output: 3833, d, r, 8133, f, q, H

Example Input: 1, ['5807', '1125', 'u', '187', '977', '9307', 'P', '8887', 'p', 'E', '5881', 'v', 'n', '2377', 'j']
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
5807

