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

2, ['U', 'z', 'u', '2359', 'C', '3249', 'M']
U, z

4, ['5749', 'Q', 'W', 'Q', '645', '6993', 'Z', '9929']
5749, Q, W, Q

4, ['y', 'd', 's', 'g', '3617', 'U', 'D', '9189', '9033', '7859', 's', 'X', '9701', 'i', 'b', 'b']

y, d, s, g