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: 6, ['4959', 'j', 'x', 'z', '5595', 'k', '215', '9099', 'H', '5321', 'K', '7677', 'I', 'M', '7601', '7413', '8465', 'E', '2899', 'I', '1371', 'z', 'R', '7247', 'Q', '9773', 'p', 'z', '3189']
Student:
4959, j, x, z, 5595, k