Task: Program Execution
Input (English): E, S, M, 5665, G, q, 9617, 2241, o, M, 1287
Output (English): 5, 19, 13, 5665, 7, 17, 9617, 2241, 15, 13, 1287