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, ['4919', 'f', '9971', '3933', 'M']
4919, f

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

2, ['n', 'd', 'P', '165', '7221', '971', 'W', '7097', '8273', '419', 'y', '7771', '1387', 'u', 'v', 'F', '7003', '8139', 'i', '305', 'w']

n, d