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

4, ['H', '2749', '3141', 'K', '8857', '7631', 't', 'x', 'Z', 'r', '6049', 'y', 'c', '4853', '8769', 'Z', '7911', '3771', '117', 'e', '4821', 'f', '3963']
H, 2749, 3141, K

1, ['Y', 't', 'Q', '4325', '3913', 'G', 'R', 'j', '5453', '5743', '8589', 'D', '3491', '7751', 'c', '6331', '7805', 'i', 'T']
Y

1, ['Q', '295', '8285', '65', 'y', '8209', '7775', 'w', '9577', 'J', 'C']

Q