Task: Program Execution
Input (English): 447, X, 2761, R, x, V, g, 5625, J, 2471, O, D, 8853, h, 2875, 5369, F, G, 4643, 2837, n, 4031
Output (English): 447, 24, 2761, 18, 24, 22, 7, 5625, 10, 2471, 15, 4, 8853, 8, 2875, 5369, 6, 7, 4643, 2837, 14, 4031