Task: Program Execution
Input (English): Z, 9573, 1131, Q
Output (English): Z, Q, 9573, 1131