Task: Program Execution
Input (English): G, e, 1895, F, 2633, 9385, 9025, 7875, V, S
Output (English): 3, 5, 6, 7, 8