import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int C = sc.nextInt();
        int A = sc.nextInt();
        int B = sc.nextInt();

        int[] cmp = new int[10];
        String ans = "No";
        cmp[A]++;
        cmp[B]++;
        cmp[C]++;
        for (int i = 0; i < 10; i++) {
            if(cmp[i] == 2) {
                ans = "Yes";
            }
        }

        System.out.println(ans);

    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int C = sc.nextInt();
        int A = sc.nextInt();
        int B = sc.nextInt();

        int[] cmp = new int[10];
        String ans = "No";
        cmp[A]++;
        cmp[B]++;
        cmp[C]++;
        for (int i = 0; i < 10; i++) {
            if(cmp[i] == 2) {
                ans = "Yes";
            }
        }

        System.out.println(ans);

    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int C = sc.nextInt();
        int A = sc.nextInt();
        int B = sc.nextInt();

        int[] cmp = new int[10];
        String ans = "No";
        cmp[A]++;
        cmp[B]++;
        cmp[C]++;
        for (int i = 0; i < 10; i++) {
            if(cmp[i] == 2) {
                ans = "Yes";
            }
        }

        System.out.println(ans);

    } main {
        Scanner sc = new Scanner(System.in);
        int C = sc.nextInt();
        int A = sc.nextInt();
        int B = sc.nextInt();

        int[] cmp = new int[10];
        String ans = "No";
        cmp[A]++;
        cmp[B]++;
        cmp[C]++;
        for (int i = 0; i < 10; i++) {
            if(cmp[i] == 2) {
                ans = "Yes";
            }
        }

        System.out.println(ans);

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int C = sc.nextInt(); C sc.nextInt() sc.nextInt sc int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int B = sc.nextInt(); B sc.nextInt() sc.nextInt sc int[] cmp = new int[10]; cmp new int[10] 10 String ans = "No"; ans "No" cmp[A]++ cmp[A] cmp A cmp[B]++ cmp[B] cmp B cmp[C]++ cmp[C] cmp C for (int i = 0; i < 10; i++) {
            if(cmp[i] == 2) {
                ans = "Yes";
            }
        } int i = 0; int i = 0; i 0 i < 10 i 10 i++ i++ i {
            if(cmp[i] == 2) {
                ans = "Yes";
            }
        } {
            if(cmp[i] == 2) {
                ans = "Yes";
            }
        } if(cmp[i] == 2) {
                ans = "Yes";
            } cmp[i] == 2 cmp[i] cmp i 2 {
                ans = "Yes";
            } ans = "Yes" ans "Yes" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int C = sc.nextInt();
        int A = sc.nextInt();
        int B = sc.nextInt();

        int[] cmp = new int[10];
        String ans = "No";
        cmp[A]++;
        cmp[B]++;
        cmp[C]++;
        for (int i = 0; i < 10; i++) {
            if(cmp[i] == 2) {
                ans = "Yes";
            }
        }

        System.out.println(ans);

    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int C = sc.nextInt();
        int A = sc.nextInt();
        int B = sc.nextInt();

        int[] cmp = new int[10];
        String ans = "No";
        cmp[A]++;
        cmp[B]++;
        cmp[C]++;
        for (int i = 0; i < 10; i++) {
            if(cmp[i] == 2) {
                ans = "Yes";
            }
        }

        System.out.println(ans);

    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int C = sc.nextInt();
        int A = sc.nextInt();
        int B = sc.nextInt();

        int[] cmp = new int[10];
        String ans = "No";
        cmp[A]++;
        cmp[B]++;
        cmp[C]++;
        for (int i = 0; i < 10; i++) {
            if(cmp[i] == 2) {
                ans = "Yes";
            }
        }

        System.out.println(ans);

    }
}