import java.util.*;
public class Main{
	public static void main(String[] args){
    	Scanner sc=new Scanner(System.in);
    	int[] x=new int[10];
    	boolean can = true;
    	for(int i=0;i<3;i++) {
    		x[sc.nextInt()]++;
    	}
    	for(int i=0;i<10;i++) {
    		if(x[i]==2) {
    			can = false;
    			break;
    		}
    	}
    	String s = can?"No":"Yes";
    	System.out.println(s);
	}
} import java.util.*; util.* java public class Main{
	public static void main(String[] args){
    	Scanner sc=new Scanner(System.in);
    	int[] x=new int[10];
    	boolean can = true;
    	for(int i=0;i<3;i++) {
    		x[sc.nextInt()]++;
    	}
    	for(int i=0;i<10;i++) {
    		if(x[i]==2) {
    			can = false;
    			break;
    		}
    	}
    	String s = can?"No":"Yes";
    	System.out.println(s);
	}
} Main public static void main(String[] args){
    	Scanner sc=new Scanner(System.in);
    	int[] x=new int[10];
    	boolean can = true;
    	for(int i=0;i<3;i++) {
    		x[sc.nextInt()]++;
    	}
    	for(int i=0;i<10;i++) {
    		if(x[i]==2) {
    			can = false;
    			break;
    		}
    	}
    	String s = can?"No":"Yes";
    	System.out.println(s);
	} main {
    	Scanner sc=new Scanner(System.in);
    	int[] x=new int[10];
    	boolean can = true;
    	for(int i=0;i<3;i++) {
    		x[sc.nextInt()]++;
    	}
    	for(int i=0;i<10;i++) {
    		if(x[i]==2) {
    			can = false;
    			break;
    		}
    	}
    	String s = can?"No":"Yes";
    	System.out.println(s);
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int[] x=new int[10]; x new int[10] 10 boolean can = true; can true for(int i=0;i<3;i++) {
    		x[sc.nextInt()]++;
    	} int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
    		x[sc.nextInt()]++;
    	} {
    		x[sc.nextInt()]++;
    	} x[sc.nextInt()]++ x[sc.nextInt()] x sc.nextInt() sc.nextInt sc for(int i=0;i<10;i++) {
    		if(x[i]==2) {
    			can = false;
    			break;
    		}
    	} int i=0; int i=0; i 0 i<10 i 10 i++ i++ i {
    		if(x[i]==2) {
    			can = false;
    			break;
    		}
    	} {
    		if(x[i]==2) {
    			can = false;
    			break;
    		}
    	} if(x[i]==2) {
    			can = false;
    			break;
    		} x[i]==2 x[i] x i 2 {
    			can = false;
    			break;
    		} can = false can false break; String s = can?"No":"Yes"; s can?"No":"Yes" can "No" "Yes" System.out.println(s) System.out.println System.out System System.out s String[] args args public class Main{
	public static void main(String[] args){
    	Scanner sc=new Scanner(System.in);
    	int[] x=new int[10];
    	boolean can = true;
    	for(int i=0;i<3;i++) {
    		x[sc.nextInt()]++;
    	}
    	for(int i=0;i<10;i++) {
    		if(x[i]==2) {
    			can = false;
    			break;
    		}
    	}
    	String s = can?"No":"Yes";
    	System.out.println(s);
	}
} public class Main{
	public static void main(String[] args){
    	Scanner sc=new Scanner(System.in);
    	int[] x=new int[10];
    	boolean can = true;
    	for(int i=0;i<3;i++) {
    		x[sc.nextInt()]++;
    	}
    	for(int i=0;i<10;i++) {
    		if(x[i]==2) {
    			can = false;
    			break;
    		}
    	}
    	String s = can?"No":"Yes";
    	System.out.println(s);
	}
} Main
import java.util.*;
public class Main{
	public static void main(String[] args){
    	Scanner sc=new Scanner(System.in);
    	int[] x=new int[10];
    	boolean can = true;
    	for(int i=0;i<3;i++) {
    		x[sc.nextInt()]++;
    	}
    	for(int i=0;i<10;i++) {
    		if(x[i]==2) {
    			can = false;
    			break;
    		}
    	}
    	String s = can?"No":"Yes";
    	System.out.println(s);
	}
}