Task: Program Execution
Input (English): V, C, E, Y, X, 2913, 2009
Output (English): 4922