Task: Program Execution
Input (English): R, W, 2563, 5705, K, W, 4511, 99, X, z, x, X
Output (English): 12878