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

1, ['4577', '8113']
4577

7, ['U', 'P', 'd', '8355', '6819', 'x', 'Q', 'e', 'R', 'H', '2257', 'o', '1669', 'R', '2281', '253', 'j', '8109', '689', '4897']
U, P, d, 8355, 6819, x, Q

1, ['o', 'z', 'I', 'a', '5665', 'f', '5339', '5779', 'w', 'w', '6393', 'R', '6485', '9269', '313', 'u', 'u', '2409', 'D', 'Y']

o