Task: Program Execution
Input (English): J, 3315, 5707, m, 3539
Output (English): J, m