Task: Program Execution
Input (English): 5955 f 7537 565 R q M 223 9993 3861 L 5493 I u w Z N L O 355 A b l J 1401
Output (English): 5955, 6, 7537, 565, 18, 17, 13, 223, 9993, 3861, 12, 5493, 9, 21, 23, 26, 14, 12, 15, 355, 1, 2, 12, 10, 1401