Task: Program Execution
Input (English): 421, 83, g, 447, t, 277, p
Output (English): 1, 2, 3, 4, 7, 8