https://www.acmicpc.net/problem/16953시간 2초, 메모리 128MBinput :A, B (1 ≤ A < B ≤ 109)output : 연산의 최솟값에 1을 더한 값을 출력만들 수 없는 경우에는 -1을 출력조건 :2를 곱한다.1