Task: Program Execution
Input (English): 6487, 8249, 7935, U, U, 7069, 6821, a, u, M, m, M, 7853, 4373, 735, n, H, 3551
Output (English): 1, 2, 3, 6, 7, 13, 14, 15, 18