Task: Program Execution
Input (English): N, 4007, c, 661, g, O, 5397, 2103, M, 9895, M, 6007, n, 1169, I, b, 4739, b, 3105, X, 8765, I, 8721
Output (English): 12