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, ['D', '6239', 'w', 'P', '4935', 'u']
D, 6239

3, ['7677', 'k', '8697', 'N', 'v', '351', '6619', 'v', '8559', 'Q', '9151', '8655', 'l', 'o', '2519', '9671', 'N', '2779', 'L']
7677, k, 8697

2, ['B', 't', 'c', '8537', 'b', 'W', '4593', '7097', 'S', 'X', '8385', '9007', 'n', 'p', '6793', '7585', '9259']

B, t