Task: Program Execution
Input (English): R, x, r, b, i, 8777, X, 4767, 1873, k, W, F, 6469, Q, 5225, 3911, R, 2895, D, 9953, 7665, q
Output (English): 18, 24, 18, 2, 9, 8777, 24, 4767, 1873, 11, 23, 6, 6469, 17, 5225, 3911, 18, 2895, 4, 9953, 7665, 17