Task: Program Execution
Input (English): r, 335, 145, 351, g, 161, a, 9, p, o, e, 49, h, z, t
Output (English): 1, 3, 4, 5, 6, 9