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: 3, ['3731', 'N', '5635', '541', 'm', '2999', 'Y', '1537', '7961', '1565', 'S', '6185', 'Q', 'y', '6987', '4141', 'D', '8853', '3669']
Student:
3731, N, 5635