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, ['h', '2449']
h

10, ['1113', 'n', '5085', '8051', 'j', 'L', 'n', '1095', 'X', '1965', '2445', 'Q', '6165', '3499', 'Q', 'l', 'x', 'l', 'T', 'u']

1113, n, 5085, 8051, j, L, n, 1095, X, 1965