Task: Program Execution
Input (English): 1575, M, 975, 7247, V, D, 8941, g, i, 2745, 2567, n, 4621, 3153, 8197, 6541
Output (English): 46562