Task: Program Execution
Input (English): 1747, U, 4651, 6377, v, K
Output (English): 3