Task: Program Execution
Input (English): q, g, 451, 255, z, 257, f, g, r, t, p
Output (English): 1, 2, 4, 5, 7