import java.util.*;
import java.io.*;

public class Main {
    public static void main(String[] args) throws IOException {
    	BufferedReader in = new  BufferedReader(new InputStreamReader(System.in));
    	StringTokenizer st = new StringTokenizer(in.readLine());
    	int a = Integer.parseInt(st.nextToken()),
    		b =	Integer.parseInt(st.nextToken()),
    		c =	Integer.parseInt(st.nextToken());
    	boolean r;
    	if(a == b) {
    		if(c == b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else if(a == c) {
    		if( c== b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else {
    		if(c == b) {
    			r = true;
    		}else {
    			r = false;
    		}

    	}
    	if(r) {
    		System.out.println("Yes");
    	}else {
    		System.out.println("No");
    	}
    }
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
    public static void main(String[] args) throws IOException {
    	BufferedReader in = new  BufferedReader(new InputStreamReader(System.in));
    	StringTokenizer st = new StringTokenizer(in.readLine());
    	int a = Integer.parseInt(st.nextToken()),
    		b =	Integer.parseInt(st.nextToken()),
    		c =	Integer.parseInt(st.nextToken());
    	boolean r;
    	if(a == b) {
    		if(c == b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else if(a == c) {
    		if( c== b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else {
    		if(c == b) {
    			r = true;
    		}else {
    			r = false;
    		}

    	}
    	if(r) {
    		System.out.println("Yes");
    	}else {
    		System.out.println("No");
    	}
    }
} Main public static void main(String[] args) throws IOException {
    	BufferedReader in = new  BufferedReader(new InputStreamReader(System.in));
    	StringTokenizer st = new StringTokenizer(in.readLine());
    	int a = Integer.parseInt(st.nextToken()),
    		b =	Integer.parseInt(st.nextToken()),
    		c =	Integer.parseInt(st.nextToken());
    	boolean r;
    	if(a == b) {
    		if(c == b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else if(a == c) {
    		if( c== b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else {
    		if(c == b) {
    			r = true;
    		}else {
    			r = false;
    		}

    	}
    	if(r) {
    		System.out.println("Yes");
    	}else {
    		System.out.println("No");
    	}
    } main {
    	BufferedReader in = new  BufferedReader(new InputStreamReader(System.in));
    	StringTokenizer st = new StringTokenizer(in.readLine());
    	int a = Integer.parseInt(st.nextToken()),
    		b =	Integer.parseInt(st.nextToken()),
    		c =	Integer.parseInt(st.nextToken());
    	boolean r;
    	if(a == b) {
    		if(c == b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else if(a == c) {
    		if( c== b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else {
    		if(c == b) {
    			r = true;
    		}else {
    			r = false;
    		}

    	}
    	if(r) {
    		System.out.println("Yes");
    	}else {
    		System.out.println("No");
    	}
    } BufferedReader in = new  BufferedReader(new InputStreamReader(System.in)); in new  BufferedReader(new InputStreamReader(System.in)) StringTokenizer st = new StringTokenizer(in.readLine()); st new StringTokenizer(in.readLine()) int a = Integer.parseInt(st.nextToken()) a Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st b =	Integer.parseInt(st.nextToken()) b Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st c =	Integer.parseInt(st.nextToken()); c Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st boolean r; r if(a == b) {
    		if(c == b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else if(a == c) {
    		if( c== b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else {
    		if(c == b) {
    			r = true;
    		}else {
    			r = false;
    		}

    	} a == b a b {
    		if(c == b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	} if(c == b) {
    			r = false;
    		}else {
    			r = true;
    		} c == b c b {
    			r = false;
    		} r = false r false {
    			r = true;
    		} r = true r true if(a == c) {
    		if( c== b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else {
    		if(c == b) {
    			r = true;
    		}else {
    			r = false;
    		}

    	} a == c a c {
    		if( c== b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	} if( c== b) {
    			r = false;
    		}else {
    			r = true;
    		} c== b c b {
    			r = false;
    		} r = false r false {
    			r = true;
    		} r = true r true {
    		if(c == b) {
    			r = true;
    		}else {
    			r = false;
    		}

    	} if(c == b) {
    			r = true;
    		}else {
    			r = false;
    		} c == b c b {
    			r = true;
    		} r = true r true {
    			r = false;
    		} r = false r false if(r) {
    		System.out.println("Yes");
    	}else {
    		System.out.println("No");
    	} r {
    		System.out.println("Yes");
    	} System.out.println("Yes") System.out.println System.out System System.out "Yes" {
    		System.out.println("No");
    	} System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main {
    public static void main(String[] args) throws IOException {
    	BufferedReader in = new  BufferedReader(new InputStreamReader(System.in));
    	StringTokenizer st = new StringTokenizer(in.readLine());
    	int a = Integer.parseInt(st.nextToken()),
    		b =	Integer.parseInt(st.nextToken()),
    		c =	Integer.parseInt(st.nextToken());
    	boolean r;
    	if(a == b) {
    		if(c == b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else if(a == c) {
    		if( c== b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else {
    		if(c == b) {
    			r = true;
    		}else {
    			r = false;
    		}

    	}
    	if(r) {
    		System.out.println("Yes");
    	}else {
    		System.out.println("No");
    	}
    }
} public class Main {
    public static void main(String[] args) throws IOException {
    	BufferedReader in = new  BufferedReader(new InputStreamReader(System.in));
    	StringTokenizer st = new StringTokenizer(in.readLine());
    	int a = Integer.parseInt(st.nextToken()),
    		b =	Integer.parseInt(st.nextToken()),
    		c =	Integer.parseInt(st.nextToken());
    	boolean r;
    	if(a == b) {
    		if(c == b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else if(a == c) {
    		if( c== b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else {
    		if(c == b) {
    			r = true;
    		}else {
    			r = false;
    		}

    	}
    	if(r) {
    		System.out.println("Yes");
    	}else {
    		System.out.println("No");
    	}
    }
} Main
import java.util.*;
import java.io.*;

public class Main {
    public static void main(String[] args) throws IOException {
    	BufferedReader in = new  BufferedReader(new InputStreamReader(System.in));
    	StringTokenizer st = new StringTokenizer(in.readLine());
    	int a = Integer.parseInt(st.nextToken()),
    		b =	Integer.parseInt(st.nextToken()),
    		c =	Integer.parseInt(st.nextToken());
    	boolean r;
    	if(a == b) {
    		if(c == b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else if(a == c) {
    		if( c== b) {
    			r = false;
    		}else {
    			r = true;
    		}
    	}else {
    		if(c == b) {
    			r = true;
    		}else {
    			r = false;
    		}

    	}
    	if(r) {
    		System.out.println("Yes");
    	}else {
    		System.out.println("No");
    	}
    }
}