Teacher: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
Teacher: Now, understand the problem? Solve this instance: 8, ['329', 'S', '5633', '1855', 'Y', '4565', '3127', '1507', 'O', '7133', 'B', 'W', 'k', '4901', '6521', '6135', 'i', 'J', '9221', '6523', 'z']
Student:
329, S, 5633, 1855, Y, 4565, 3127, 1507