Task: Program Execution
Input (English): 1771, K, v, 773, 2917, 2243, r, W
Output (English): 7704