Task: Program Execution
Input (English): 477, 437, g, 461, q, h, m, l
Output (English): 1, 3, 4, 6, 7