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

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

2, ['5891', '5875', 'K', 'N', 'a', '523', 'h', 'o', '6417', '6465', '45', 'o', 'e', 'B', 'v', 'Q', 'W', '9687', '9821', 'c']
5891, 5875

1, ['2517', '8647', 'G', 'F', '2405', 'n']

2517