Task: Program Execution
Input (English): 287, 25, h, 229, p, 249, q, 141, v
Output (English): 1, 2, 4, 5, 7, 8, 9