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, ['7817', '9311', '6285', 'm', '5443', '2743', '1685', 'y', 'F', 'Q', 'U', 'M', 'h', 'G', '4049', '1949', 'N', 'W', '347', '793']
7817, 9311, 6285, m

1, ['51', 'Y', '2681', '9427', 'J', 'N', '6035', 'R', '2191', 'i', '5787', '683', '3633', 'k', 'J', '417', 'h', '2119']
51

9, ['E', '2143', '4633', '353', 'w', 'E', '7969', '8243', 'd', '7831', 'Z', 'o', 'e', '4939', '3583', 'g', '5593', 'K']
E, 2143, 4633, 353, w, E, 7969, 8243, d