Task: Program Execution
Input (English): X, 2061, 3237, 9567, V, 2259, 9849
Output (English): 24, 2061, 3237, 9567, 22, 2259, 9849