Task: Program Execution
Input (English): 3, ['3731', 'N', '5635', '541', 'm', '2999', 'Y', '1537', '7961', '1565', 'S', '6185', 'Q', 'y', '6987', '4141', 'D', '8853', '3669']
Output (English): 3731, N, 5635