Task: Program Execution
Input (English): 49, 253, 433, 271, f, h, r, 307
Output (English): 0, 1, 2, 3, 4, 5, 7, 9