Task: Program Execution
Input (English): K, 4245, 1261, 1585
Output (English): 1