Given the task definition and input, reply with output. 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, ['2335', 'x', 'q', '2477', '411', 'Y', '4067', '5955', '7461', '4231', 'b', 'q', '193', '1315', 'Z', '181', 's', '5561', '1989', 'a', '2153', '4221']
2335, x, q, 2477