Task: Program Execution
Input (English): 3011, 6843, 3851
Output (English): -1