Task: Program Execution
Input (English): 2877, 3755, 3773, B, q, 6409, 4055, q, 971, 8583, j, g, W
Output (English): 30423