#include<stdio.h>
int main()
{
    int A,B,C;
    printf("Enter the value of A,B,C:");
    scanf("%d%d%d",&A,&B,&C);
    if(A==B&&(A!=C&&B!=C))
       {printf("A and B are equal, but C is different from those two numbers, so this triple is poor.");}
    else if(A==C&&(A!=B&&C!=B))
        {printf("A and C are equal, but B is different from those two numbers, so this triple is poor.");}
    else if(B==C&&(B!=A&&C!=A))
    {printf("B and C are equal, but A is different from those two numbers, so this triple is poor.");}
    else
    {printf("A, B, and C are all equal, so this triple is not poor.");}
    return 0;
}
