Task: Program Execution
Input (English): q, 7255, J, N, 9581, 5843
Output (English): q, J, N