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

8, ['313', 'x', '7689', 'y', 'P', 't', 'n', '4639', '8379', 'i', 'o', 'V', 'H', '7275', 'U', '6417', 'n', 'R', 'Q', 'G', 'i']
313, x, 7689, y, P, t, n, 4639

2, ['5021', '1715', 'F', '7107']
5021, 1715

1, ['g', '13', '7027', 't', 'L', 'D', 'a', 'b', '8409', 'h', '8575', '5787']

g