Task: Program Execution
Input (English): d, g, V, 7573, n, 4111, V, 5943, 6821
Output (English): 24448