Task: Program Execution
Input (English): 9871, 5765, V
Output (English): 9871, 5765