Task: Program Execution
Input (English): F, 6189, 7771, 7897, 7601, 2917, r, 3885, W, a, 3097
Output (English): 6, 6189, 7771, 7897, 7601, 2917, 18, 3885, 23, 1, 3097