Task: Program Execution
Input (English): 319, 4993, G, q, 415, w, 123
Output (English): 1, 2, 5, 7