Task: Program Execution
Input (English): g, 9221, T, 7083, 6945, 2749, E
Output (English): 1, 3, 7