Task: Program Execution
Input (English): 367, 577, 2935, F, 1057, 9387, T, b
Output (English): 367, 577, 2935, 6, 1057, 9387, 20, 2