#include <stdio.h>
int main ()
{
    int A,B,C;

    printf("Input 3 Numbers : ");
    scanf("%d %d %d", &A, &B, &C);

    if (A==B && A==C)
    {
        printf("No\n A, B and C are all equal, so this triple is not poor");
    }

    else if (A==B && C!=A || C!=B)
    {
        printf("Yes\n A and B are equal But C is different, so this triple is poor");
    }

    else if (B==C && A!=B || A!=C)
    {
        printf("Yes\n B and C are equal But A is different, so this triple is poor");
    }

    else if (A==C && B!=A || B!=C)
    {
        printf("Yes\n A and C are equal But B is different, so this triple is poor");
    }

    else
    {
        printf("Yes\n A, B and C are all different, so this triple is poor");
    }
}
