Task: Program Execution
Input (English): 7349, T, 2651, m, p
Output (English): T, m, p