Task: Program Execution
Input (English): M, c, 6465, 2247, 5473, 5143, T, G, 1603, H, J, 4147
Output (English): 6465, 2247, 5473, 5143, 1603, 4147