Task: Program Execution
Input (English): Y, R, H, 8947, C, 1837, R, T, 5277, 2565, 2329
Output (English): 25, 18, 8, 8947, 3, 1837, 18, 20, 5277, 2565, 2329