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, ['2987', '5215', 'n', 'D', 'w', 'C', '7047', 'R']
2987, 5215

3, ['r', '9233', 'n', '8969', 'W', 'b', 'l', '7445', 'g', 'M', 'L', 'K', '6137', '3237', '5799', 'C']
r, 9233, n

2, ['s', '2361', 'M', 'h', '1067', 'W', '9695']

s, 2361