Task: Program Execution
Input (English): c, 9185, M, 3465, 7309, 7889, 6273, 3295, x, p, 945
Output (English): 2, 4, 5, 6, 7, 8, 11