Task: Program Execution
Input (English): 7991, 8983, 2311, 641, 2009, 8351, M, 5907, 5851, E, 9071, 7311, 8911, 2797
Output (English): 1, 2, 3, 4, 5, 6, 8, 9, 11, 12, 13, 14