Task: Program Execution
Input (English): 9247, G, 5119, 9663, i, 4525, 5865, K, y, I, 3623, M, 1971, 8689, 8805
Output (English): 57507