Task: Program Execution
Input (English): T, F, 2541, 4949, D, 5551, 9073, 599, 8975, 4263, 5841, g, T, W
Output (English): 20, 6, 2541, 4949, 4, 5551, 9073, 599, 8975, 4263, 5841, 7, 20, 23