Task: Program Execution
Input (English): 5531, 1751, 6951, 9783, F, k, F, m, 487, 2601, 1603, T, 7215, m, 7181, 9307, M, G, 8405, 2181, h
Output (English): F, k, F, m, T, m, M, G, h, 5531, 1751, 6951, 9783, 487, 2601, 1603, 7215, 7181, 9307, 8405, 2181