import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 *
 * @author yoshkur
 */
public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData(br);
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	}
}

class InputData {

	private Integer a;
	private Integer b;
	private Integer c;

	public InputData(BufferedReader br) throws IOException {
		String line = br.readLine().trim();
		String[] values = line.split(" ");
		this.a = Integer.valueOf(values[0]);
		this.b = Integer.valueOf(values[1]);
		this.c = Integer.valueOf(values[2]);
	}

	public Integer getA() {
		return a;
	}

	public void setA(Integer a) {
		this.a = a;
	}

	public Integer getB() {
		return b;
	}

	public void setB(Integer b) {
		this.b = b;
	}

	public Integer getC() {
		return c;
	}

	public void setC(Integer c) {
		this.c = c;
	}
}

class Processing {

	private InputData inputData;

	public Processing(InputData inputData) {
		this.inputData = inputData;
	}

	public String getResult() {
		String result = null;
		if (this.inputData.getA() < this.inputData.getB()
				&& this.inputData.getB() < this.inputData.getC()) {
			result = "Yes";
		} else {
			result = "No";
		}
		return result;
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData(br);
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	}
} Main public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData(br);
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	} main {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData(br);
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	} try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData(br);
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		} IOException | NumberFormatException e {
			System.err.println(e.getLocalizedMessage());
		} System.err.println(e.getLocalizedMessage()) System.err.println System.err System System.err e.getLocalizedMessage() e.getLocalizedMessage e {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData(br);
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) InputData inputData = new InputData(br); inputData new InputData(br) Processing processing = new Processing(inputData); processing new Processing(inputData) System.out.println(processing.getResult()) System.out.println System.out System System.out processing.getResult() processing.getResult processing String[] args args class InputData {

	private Integer a;
	private Integer b;
	private Integer c;

	public InputData(BufferedReader br) throws IOException {
		String line = br.readLine().trim();
		String[] values = line.split(" ");
		this.a = Integer.valueOf(values[0]);
		this.b = Integer.valueOf(values[1]);
		this.c = Integer.valueOf(values[2]);
	}

	public Integer getA() {
		return a;
	}

	public void setA(Integer a) {
		this.a = a;
	}

	public Integer getB() {
		return b;
	}

	public void setB(Integer b) {
		this.b = b;
	}

	public Integer getC() {
		return c;
	}

	public void setC(Integer c) {
		this.c = c;
	}
} InputData private Integer a; a private Integer b; b private Integer c; c public InputData(BufferedReader br) throws IOException {
		String line = br.readLine().trim();
		String[] values = line.split(" ");
		this.a = Integer.valueOf(values[0]);
		this.b = Integer.valueOf(values[1]);
		this.c = Integer.valueOf(values[2]);
	} InputData {
		String line = br.readLine().trim();
		String[] values = line.split(" ");
		this.a = Integer.valueOf(values[0]);
		this.b = Integer.valueOf(values[1]);
		this.c = Integer.valueOf(values[2]);
	} String line = br.readLine().trim(); line br.readLine().trim() br.readLine().trim br.readLine() br.readLine br String[] values = line.split(" "); values line.split(" ") line.split line " " this.a = Integer.valueOf(values[0]) this.a this this.a Integer.valueOf(values[0]) Integer.valueOf Integer values[0] values 0 this.b = Integer.valueOf(values[1]) this.b this this.b Integer.valueOf(values[1]) Integer.valueOf Integer values[1] values 1 this.c = Integer.valueOf(values[2]) this.c this this.c Integer.valueOf(values[2]) Integer.valueOf Integer values[2] values 2 BufferedReader br br public Integer getA() {
		return a;
	} getA {
		return a;
	} return a; a public void setA(Integer a) {
		this.a = a;
	} setA {
		this.a = a;
	} this.a = a this.a this this.a a Integer a a public Integer getB() {
		return b;
	} getB {
		return b;
	} return b; b public void setB(Integer b) {
		this.b = b;
	} setB {
		this.b = b;
	} this.b = b this.b this this.b b Integer b b public Integer getC() {
		return c;
	} getC {
		return c;
	} return c; c public void setC(Integer c) {
		this.c = c;
	} setC {
		this.c = c;
	} this.c = c this.c this this.c c Integer c c class Processing {

	private InputData inputData;

	public Processing(InputData inputData) {
		this.inputData = inputData;
	}

	public String getResult() {
		String result = null;
		if (this.inputData.getA() < this.inputData.getB()
				&& this.inputData.getB() < this.inputData.getC()) {
			result = "Yes";
		} else {
			result = "No";
		}
		return result;
	}
} Processing private InputData inputData; inputData public Processing(InputData inputData) {
		this.inputData = inputData;
	} Processing {
		this.inputData = inputData;
	} this.inputData = inputData this.inputData this this.inputData inputData InputData inputData inputData public String getResult() {
		String result = null;
		if (this.inputData.getA() < this.inputData.getB()
				&& this.inputData.getB() < this.inputData.getC()) {
			result = "Yes";
		} else {
			result = "No";
		}
		return result;
	} getResult {
		String result = null;
		if (this.inputData.getA() < this.inputData.getB()
				&& this.inputData.getB() < this.inputData.getC()) {
			result = "Yes";
		} else {
			result = "No";
		}
		return result;
	} String result = null; result null if (this.inputData.getA() < this.inputData.getB()
				&& this.inputData.getB() < this.inputData.getC()) {
			result = "Yes";
		} else {
			result = "No";
		} this.inputData.getA() < this.inputData.getB()
				&& this.inputData.getB() < this.inputData.getC() this.inputData.getA() < this.inputData.getB() this.inputData.getA() this.inputData.getA this.inputData this this.inputData this.inputData.getB() this.inputData.getB this.inputData this this.inputData this.inputData.getB() < this.inputData.getC() this.inputData.getB() this.inputData.getB this.inputData this this.inputData this.inputData.getC() this.inputData.getC this.inputData this this.inputData {
			result = "Yes";
		} result = "Yes" result "Yes" {
			result = "No";
		} result = "No" result "No" return result; result public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData(br);
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	}
} public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData(br);
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 *
 * @author yoshkur
 */
public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			InputData inputData = new InputData(br);
			Processing processing = new Processing(inputData);
			System.out.println(processing.getResult());

		} catch (IOException | NumberFormatException e) {
			System.err.println(e.getLocalizedMessage());
		}
	}
}

class InputData {

	private Integer a;
	private Integer b;
	private Integer c;

	public InputData(BufferedReader br) throws IOException {
		String line = br.readLine().trim();
		String[] values = line.split(" ");
		this.a = Integer.valueOf(values[0]);
		this.b = Integer.valueOf(values[1]);
		this.c = Integer.valueOf(values[2]);
	}

	public Integer getA() {
		return a;
	}

	public void setA(Integer a) {
		this.a = a;
	}

	public Integer getB() {
		return b;
	}

	public void setB(Integer b) {
		this.b = b;
	}

	public Integer getC() {
		return c;
	}

	public void setC(Integer c) {
		this.c = c;
	}
}

class Processing {

	private InputData inputData;

	public Processing(InputData inputData) {
		this.inputData = inputData;
	}

	public String getResult() {
		String result = null;
		if (this.inputData.getA() < this.inputData.getB()
				&& this.inputData.getB() < this.inputData.getC()) {
			result = "Yes";
		} else {
			result = "No";
		}
		return result;
	}
}