Task: Program Execution
Input (English): 249, g, v, o, 377, 131, 141, o, q, h
Output (English): 1, 2, 3, 4, 7, 9