Task: Program Execution
Input (English): N, 8227, J, 6071
Output (English): N, J, 8227, 6071