Task: Program Execution
Input (English): 1317, 4427, 2021
Output (English): -1