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

6, ['H', '1223', 'V', 'h', '6561', 'g', 'U', 'I', 'l', '4181', '1091', '8631', 'v', '107', '8207', 'p', 'i', '1551', '9103', 'Z', 'X', 't', 'A', '4417']
H, 1223, V, h, 6561, g

3, ['3509', 'z', '8637', '8639', 'x', 'G', 'M']
3509, z, 8637

9, ['2429', 'r', 'L', 'y', '3353', '4563', 'V', '3147', '2845', '1243', '9673', 's', 'h', '5999', 'F', 'V', '6431', 'N', '4423', 'o', '1341']

2429, r, L, y, 3353, 4563, V, 3147, 2845