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, ['5891', '5875', 'K', 'N', 'a', '523', 'h', 'o', '6417', '6465', '45', 'o', 'e', 'B', 'v', 'Q', 'W', '9687', '9821', 'c']
5891, 5875

6, ['3431', 'M', '8207', '6783', '3393', '655', '6873', 'U', 'V', 'i', 's', '9043', '3803', 'x', 'P', 'Q']

3431, M, 8207, 6783, 3393, 655