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

5, ['U', 'g', 'f', '6789', 'b', '6139', '7743', '7289', 'B', '6821']
U, g, f, 6789, b

1, ['L', 'c']
L

7, ['1897', 'v', 'B', '2565', 'D', '3809', '9325', '767', 'V', '5487', '2453', 'X', '857', 'R', '7995', 'U', 'G', '8729', 'y', '7133', '6815', '7529', 'i', 'G', '9183', 'Q', '5381', 'j']

1897, v, B, 2565, D, 3809, 9325