Task: Program Execution
Input (English): N, 4305, 2941, F, 7503, 4361, W, U
Output (English): 14, 4305, 2941, 6, 7503, 4361, 23, 21