Task: Program Execution
Input (English): Z, 8747, 4095, K, 8227, n, 157, B, 2765, 1165, 327, c
Output (English): 25483