Task: Program Execution
Input (English): 291, p, 261, z, 21, w, t, 417
Output (English): 1, 2, 4, 6, 7, 9