Task: Program Execution
Input (English): 4985 7361 u 5073 L 7475 u L r K 8835 u 5155 9579 c H P U k K j 5503 161 6549 R 7187 3027
Output (English): 4985, 7361, 21, 5073, 12, 7475, 21, 12, 18, 11, 8835, 21, 5155, 9579, 3, 8, 16, 21, 11, 11, 10, 5503, 161, 6549, 18, 7187, 3027