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, ['509', 'W', '8345', '5231', '4925', 'z', 'D', 'j', '4939', '875', '249', 'y', '7117', 'M', 'l', '8757', '6057', '5349', '857', 'w', '1927', 'n']