Task: Program Execution
Input (English): 4, 5, ['g', '7427', '6303', '4411', 'N', '5301', '5803']
Output (English): N, 4411