Task: Program Execution
Input (English): 2217, 8441, 51, 8223, U, r, K
Output (English): 3