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.
/*	
 * Code Author: Anamika Modi
 * DA-IICT
 */
import java.io.*;
import java.math.BigInteger;
import java.math.RoundingMode;
import java.text.DecimalFormat;
import java.util.*;


 public class code1 {

	static double eps=(double)1e-6;
	static long mod=(int)1e9+7;
	public static void main(String args[]){
		InputReader in = new InputReader(System.in);
		OutputStream outputStream = System.out;
		PrintWriter out = new PrintWriter(outputStream);
		//----------My Code----------
		int t=in.nextInt();
		int s=in.nextInt();
		int x=in.nextInt();
		int ans=x-t;
		if(ans<s){
			if(ans==0)
				out.println("YES"); 
			else
				out.println("NO");
		}
		else{
			System.out.println();
		if((ans)%s==0)
			out.println("YES");
		else if((ans-1)%s==0)
			out.println("YES");
		else
			out.println("NO");
		}		
		//---------------The End------------------
		out.close();
	
	}
	static void rec(ArrayList<ArrayList<Integer>> arr,ArrayList<Integer> a,int position1,int position2){
		   
		   if(position1==position2){
		       arr.add(new ArrayList<Integer>());
		        for(int i=0;i<a.size();i++){
		            arr.get(arr.size()-1).add(a.get(i));
		        }
		    }
		    else{
		    for(int i=position1;i<=position2;i++){
		   //System.out.println(position1+" "+i);
		    swap(a,position1,i);
		    rec(arr,a,position1+1,position2);
		    //System.out.println(position1+" "+i);
		    swap(a,position1,i);
		    }
		    }
		}
		static void swap(ArrayList<Integer> a,int p,int q){
		   // System.out.println(a.get(p)+" "+a.get(q)+"before swap");
		    int temp=a.get(p);
		    a.set(p,a.get(q));
		    a.set(q,temp);
		  //  System.out.println(a.get(p)+" "+a.get(q)+"after swap");
		}


	static int recursiveBinarySearch(int[][] sortedArray, int start, int end, int key) {

		if (start <= end) {
			int mid = start + (end - start) / 2; 
			if (key < sortedArray[mid][0]) {
				return recursiveBinarySearch(sortedArray, start, mid, key);

			} else if (key > sortedArray[mid][0]) {
				return recursiveBinarySearch(sortedArray, mid+1, end , key);

			} else {
				return mid;  
			}
		}
		return -(start + 1); 
	}

	static long modulo(long a,long b,long c) {
		long x=1;
		long y=a;
		while(b > 0){
			if(b%2 == 1){
				x=(x*y)%c;
			}
			y = (y*y)%c; // squaring the base
			b /= 2;
		}
		return  x%c;
	}
	static long gcd(long x, long y)
	{
		long r=0, a, b;
		a = (x > y) ? x : y; // a is greater number
		b = (x < y) ? x : y; // b is smaller number
		r = b;
		while(a % b != 0)
		{
			r = a % b;
			a = b;
			b = r;
		}
		return r;
	}
	static class Pair implements Comparable<Pair>{
		int x;
		int y;
		//int i;
		Pair(int xx,int yy){
			x=xx;
			y=yy;
			//i=ii;
		}
		@Override
		public int compareTo(Pair o) {
			return Integer.compare(this.x,o.x);
		
		}
		
	}
	static class InputReader {
		public BufferedReader reader;
		public StringTokenizer tokenizer;

		public InputReader(InputStream inputstream) {
			reader = new BufferedReader(new InputStreamReader(inputstream));
			tokenizer = null;
		}

		public String nextLine(){
			String fullLine=null;
			while (tokenizer == null || !tokenizer.hasMoreTokens()) {
				try {
					fullLine=reader.readLine();
				} catch (IOException e) {
					throw new RuntimeException(e);
				}
				return fullLine;
			}
			return fullLine;
		}
		public String next() {
			while (tokenizer == null || !tokenizer.hasMoreTokens()) {
				try {
					tokenizer = new StringTokenizer(reader.readLine());
				} catch (IOException e) {
					throw new RuntimeException(e);
				}
			}
			return tokenizer.nextToken();
		}
		public long nextLong() {
			return Long.parseLong(next());
		}
		public int nextInt() {
			return Integer.parseInt(next());
		}
	}
} 