Task: Program Execution
Input (English): 9999 5909 9037 B q e E T 4343 J 6391 3915 1583 4235 b N 4011 6407 5313 I 857 j 8947 B y 6005 j E r D
Output (English): 9999, 5909, 9037, 2, 17, 5, 5, 20, 4343, 10, 6391, 3915, 1583, 4235, 2, 14, 4011, 6407, 5313, 9, 857, 10, 8947, 2, 25, 6005, 10, 5, 18, 4