Task: Program Execution
Input (English): a, 4255, K, o, 9637, K, N, W, 8691, k, 9233, r, Q, h, 7997, 9465, 9345, B, C, 2937
Output (English): 61560