Task: Program Execution
Input (English): 8059 C z 2265 B 2161 6847 q e 625 R 3035 5977 7283 V 6957 9185 R 429 1673 601 U R F H n 4089
Output (English): 8059, 3, 26, 2265, 2, 2161, 6847, 17, 5, 625, 18, 3035, 5977, 7283, 22, 6957, 9185, 18, 429, 1673, 601, 21, 18, 6, 8, 14, 4089