#include<stdio.h>
int main()
{
    int a,b,c;

    printf("Enter values between 1-9\n");
    printf("Enter value for a:\n");
    scanf("%d", &a);
    printf("Enter value for b:\n");
    scanf("%d", &b);
    printf("Enter value for c:\n");
    scanf("%d", &c);


    if(a==b && a==c)
    {
        printf("No");
    }
    else if(a==b || a==c || b==c)
    {
        printf("Yes\n"); //for poor
    }
    else
    {
        printf("No"); //for not poor
    }

    return 0;
}
