Task: Program Execution
Input (English): 4915, T, T, w, X, I
Output (English): 2, 3, 4, 5, 6