697_A. Pineapple Incident_28674
Ted has a pineapple. This pineapple is able to bark like a bulldog! At time t (in seconds) it barks for the first time. Then every s seconds after it, it barks twice with 1 second interval. Thus it barks at times t, t + s, t + s + 1, t + 2s, t + 2s + 1, etc.

<image>

Barney woke up in the morning and wants to eat the pineapple, but he can't eat it when it's barking. Barney plans to eat it at time x (in seconds), so he asked you to tell him if it's gonna bark at that time.

Input

The first and only line of input contains three integers t, s and x (0 ≤ t, x ≤ 109, 2 ≤ s ≤ 109) — the time the pineapple barks for the first time, the pineapple barking interval, and the time Barney wants to eat the pineapple respectively.

Output

Print a single "YES" (without quotes) if the pineapple will bark at time x or a single "NO" (without quotes) otherwise in the only line of output.

Examples

Input

3 10 4


Output

NO


Input

3 10 3


Output

YES


Input

3 8 51


Output

YES


Input

3 8 52


Output

YES

Note

In the first and the second sample cases pineapple will bark at moments 3, 13, 14, ..., so it won't bark at the moment 4 and will bark at the moment 3.

In the third and fourth sample cases pineapple will bark at moments 3, 11, 12, 19, 20, 27, 28, 35, 36, 43, 44, 51, 52, 59, ..., so it will bark at both moments 51 and 52.
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class pineapple {
	public static void main(String[] args) {
		Reader r = new Reader();
		Reader.init(System.in);
		try {
			long t = Reader.nextInt(), s = Reader.nextInt(), x = Reader
					.nextInt();
			if (((x - t) % s == 0 || (x - t - 1) % s == 0) && x >= t
					&& x != t + 1) {
				System.out.println("YES");
			} else {
				System.out.println("NO");
			}
		} catch (IOException e) {
			e.printStackTrace();
		}

	}

	static class Reader {
		static BufferedReader reader;
		static StringTokenizer tokenizer;

		/** call this method to initialize reader for InputStream */
		static void init(InputStream input) {
			reader = new BufferedReader(new InputStreamReader(input));
			tokenizer = new StringTokenizer("");
		}

		/** get next word */
		static String next() throws IOException {
			while (!tokenizer.hasMoreTokens()) {
				// TODO add check for eof if necessary
				tokenizer = new StringTokenizer(reader.readLine());
			}
			return tokenizer.nextToken();
		}

		static int nextInt() throws IOException {
			return Integer.parseInt(next());
		}

		static double nextDouble() throws IOException {
			return Double.parseDouble(next());
		}
	}

}

3 10 4
 3 8 52
 3 10 3
 3 8 51
 4 2 6
 3 743604 201724
 6947541 698167 6
 688051712 67 51
 29318 787017 587931018
 0 2 1000000000
 0 2 3
 0 2 0
 6 5 3
 556888 514614196 515171084
 6 328006 584834704
 3 3 1000000000
 11 2 0
 83 6 6772861
 21 65767 55245
 456947336 740144 45
 60 317278 109460971
 4363010 696782227 701145238
 3 10 125
 60686899 78474 60704617
 5 3 300000035
 586389 79039 850729874
 1 2 999999937
 1 10 20
 5 1000 1000
 2 2 4
 120 2 1000000000
 8 6728951 860676
 6 3 9
 4 4 0
 0 3 999999998
 351416375 243431 368213115
 723634470 2814619 940360134
 93647 7 451664565
 3 3 4
 5 18553 10908
 1 3 6
 10 5 15
 0 6906451 366041903
 6 52 30
 11750 8 446010134
 54 197366062 197366117
 1 38 902410512
 906385 342131991 685170368
 11 957526890 957526901
 0 79 4000
 5 2 7
 5 6 19
 0 4 0
 74619 213344 6432326
 5 3 8
 0 3 5
 1 2 1000000000
 6431 855039 352662
 1 5 1000000000
 10 5 11
 50 64536 153660266
 10 3 5
 0 2 999999999
 4567998 4 204966403
 1 5 6
 571128 973448796 10
 876884 55420 971613604
 5 3 9
 3 3 5
 5 5 13
 5 2 6
 1 2 3
 3 2 5
 76079 281367 119938421
 582692707 66997 925047377
 3 3 0
 0 2 1
 1 5 103
 3 8 53
 4796601 66897 4860613
 0 10 23
 749399100 103031711 761562532
 9295078 2 6
 5 5 10
 8897216 734348516 743245732
 1 2 4
 0 2 2
 5 2 10
 251132 67561 135026988
 914016 6 914019
 0 215 403
 0 2 900000000
 2 2 1000000000
 33 232603 599417964
 0 10001 0
 3 858900 201724
 0 1 0
 6947541 1148187 6
 358866430 67 51
 29318 787017 594773003
 0 2 -1
 8 5 3
 916562 514614196 515171084
 6 328006 894225749
 3 3 1010000000
 11 4 0
 83 5 6772861
 6 65767 55245
 456947336 1129818 45
 60 140664 109460971
 4363010 99284751 701145238
 3 3 125
 60686899 78474 49081528
 5 4 300000035
 586389 79039 1519525355
 1 3 999999937
 1 17 20
 5 1000 1010
 2 2 5
 148 2 1000000000
 11 6728951 860676
 6 3 17
 4 8 0
 15268430 243431 368213115
 723634470 2814619 986961042
 93647 7 347759567
 3 3 8
 10 18553 10908
 1 3 10
 10 5 2
 1 6906451 366041903
 6 18 30
 6825 8 446010134
 54 8901282 197366117
 2 38 902410512
 906385 673945327 685170368
 11 957526890 994155534
 0 143 4000
 5 2 14
 0 7 0
 74619 213344 706347
 0 2 5
 6431 51302 352662
 10 5 22
 50 64536 243790224
 10 2 5
 4567998 6 204966403
 2 5 6
 571128 1203989025 10
 876884 55420 1152861709
 5 6 9
 3 3 6
 5 5 1
 5 2 0
 1 4 3
 3 2 6
 76079 281367 160106493
 582692707 66997 1470928699
 3 5 0
 0 5 103
 3 8 61
 309365 66897 4860613
 0 10 4
 178769979 103031711 761562532
 8897216 734348516 783259913
 0 2 4
 1 2 2
 3 2 10
 201347 67561 135026988
 1548550 6 914019
 -1 215 403
 0 2 72858658
 4 2 1000000000
 33 232603 908492958
 0 10001 1
 3 10 7
 2 8 52
 5 10 3
 1 8 51
 1 858900 201724
 13656541 1148187 6
 53088652 67 51
 29318 787017 581601530

NO
 YES
 YES
 YES
 YES
 NO
 NO
 NO
 YES
 YES
 YES
 YES
 NO
 YES
 YES
 YES
 NO
 NO
 NO
 NO
 YES
 YES
 NO
 NO
 YES
 YES
 YES
 NO
 NO
 YES
 YES
 NO
 YES
 NO
 NO
 YES
 YES
 YES
 NO
 NO
 NO
 YES
 YES
 NO
 YES
 YES
 YES
 YES
 YES
 NO
 YES
 NO
 YES
 NO
 YES
 NO
 YES
 NO
 NO
 NO
 YES
 NO
 YES
 YES
 YES
 NO
 YES
 YES
 NO
 NO
 NO
 YES
 YES
 YES
 YES
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 YES
 YES
 YES
 YES
 YES
 NO
 NO
 NO
 YES
 YES
 YES
 YES
 NO
 YES
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 YES
 NO
 NO
 YES
 YES
 NO
 NO
 NO
 NO
 NO
 YES
 NO
 NO
 YES
 NO
 NO
 NO
 NO
 NO
 YES
 NO
 NO
 NO
 YES
 YES
 NO
 YES
 NO
 NO
 NO
 NO
 YES
 NO
 NO
 NO
 NO
 YES
 NO
 NO
 NO
 YES
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 YES
 NO
 YES
 NO
 NO
 NO
 YES
 YES
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
