Task: Program Execution
Input (English): 7347 L 7911 2739 B 6885 3065 n 1079 4653 369 9997 1883 W T 2775 1327 X 8139 I 1001 n W 5623 2489 8203 5489 8281 s 5479 i 8365 487 P 5449 C
Output (English): 7347, 12, 7911, 2739, 2, 6885, 3065, 14, 1079, 4653, 369, 9997, 1883, 23, 20, 2775, 1327, 24, 8139, 9, 1001, 14, 23, 5623, 2489, 8203, 5489, 8281, 19, 5479, 9, 8365, 487, 16, 5449, 3