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

4, ['D', '6687', 't', 'e', 'j', 'X', '9403', 'p', 'C', 'F', 'y', '3087', 'o', 'X']
D, 6687, t, e

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

1, ['4529', '7777', '3673']

4529