Task: Program Execution
Input (English): p, m, 363, z, 461, g, k, 23, 497, 391, 179, o
Output (English): 1, 2, 3, 4, 6, 7, 9