Task: Program Execution
Input (English): R 2227 U h 55 h 3591 2867 173 p 1131 2187 4591 X D 4707 8243 3097 y J 6093 15 3791 z N k 5545 p v J 9259 b
Output (English): 18, 2227, 21, 8, 55, 8, 3591, 2867, 173, 16, 1131, 2187, 4591, 24, 4, 4707, 8243, 3097, 25, 10, 6093, 15, 3791, 26, 14, 11, 5545, 16, 22, 10, 9259, 2