Task: Program Execution
Input (English): p, m, 335, 227, 259, 29, 127, 215, x, r, 495, 201, 25, g
Output (English): 0, 1, 2, 3, 4, 5, 7, 9