Task: Program Execution
Input (English): 4, 5, ['t', '241', '239', 'N', '3779', '765']
Output (English): N3779