Task: Program Execution
Input (English): T, x, 7833, 7183, M, 9181, 2715, H
Output (English): 7833, 7183, 9181, 2715