Task: Program Execution
Input (English): p, 193, 351, c, 401, q, 459, u
Output (English): 0, 1, 3, 4, 5, 9