Task: Program Execution
Input (English): G, 8147, F, n, I, 463, 899, 3195
Output (English): 1, 3, 4, 5