stablegradients/pie-gem5-pairs huggingface dataset:
// Slower C++ solution:
#include <iostream>

using namespace std;



int main()

{

	int a;

	int b;

	int c;

	cin >> a >> b >> c;

	if (a == b && a != c)

	{

		cout << "Yes";

	}

	else if (a == c && a != b)

	{

		cout << "Yes";

	}

	else if (b == c && a != b)

	{

		cout << "Yes";

	}

	else {

		cout << "No";

	}

	return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.294287296562686x):
#include <stdio.h>

int main(){

int A;

int B;

int C;	

	

scanf("%d",&A);

scanf("%d",&B);

scanf("%d",&C);	



	if(A==C&&A!=B&&B!=C){

	printf("Yes\n");

	}

	else if(A==B&&A!=C&&B!=C){

		printf("Yes\n");

	}

	else if(B==C&&B!=A&&A!=C){

		printf("Yes\n");

	}

	else if(A==B&&A==C&B==C){

		printf("No\n");

	}

	else if(A!=B&&A!=C&B!=C){

		printf("No\n");

	}

	return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

	int d,e,f;

	cin>>d>>e>>f;

	  if(d==e && e==f)

	    cout<<"No";

    else if(d==e || e == f || d==f)

	 {

	 	cout<<"Yes";

	 	

	 }



     else

         cout<<"No";

}

// Faster C++ solution for the same problem (measured speedup: 5.294360951255505x):
#include <stdio.h>

int main(){

int A;

int B;

int C;	

	

scanf("%d",&A);

scanf("%d",&B);

scanf("%d",&C);	



	if(A==C&&A!=B&&B!=C){

	printf("Yes\n");

	}

	else if(A==B&&A!=C&&B!=C){

		printf("Yes\n");

	}

	else if(B==C&&B!=A&&A!=C){

		printf("Yes\n");

	}

	else if(A==B&&A==C&B==C){

		printf("No\n");

	}

	else if(A!=B&&A!=C&B!=C){

		printf("No\n");

	}

	return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

int A, B, C;

cin>>A>>B>>C;

if((A==B && B != C) || (A==C && A != B) ||(B==C && B != A) ) 

    cout<<"Yes";

else 

   cout<<"No";

return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.29436608363802x):
#include <stdio.h>

int main(){

int A;

int B;

int C;	

	

scanf("%d",&A);

scanf("%d",&B);

scanf("%d",&C);	



	if(A==C&&A!=B&&B!=C){

	printf("Yes\n");

	}

	else if(A==B&&A!=C&&B!=C){

		printf("Yes\n");

	}

	else if(B==C&&B!=A&&A!=C){

		printf("Yes\n");

	}

	else if(A==B&&A==C&B==C){

		printf("No\n");

	}

	else if(A!=B&&A!=C&B!=C){

		printf("No\n");

	}

	return 0;

}
// Slower C++ solution:


#include<bits/stdc++.h>

using namespace std;

typedef long long ll;

int main(){

	int a,b,c;

	cin>>a>>b>>c;

	if(a==b&&a!=c||a==c&&b!=a||b==c&&b!=a) puts("Yes");

	else puts("No");

}


// Faster C++ solution for the same problem (measured speedup: 5.242541819175782x):
#include <stdio.h>

int main()

{

	int a,b,c;

	scanf("%d%d%d",&a,&b,&c);

	

	if( a == b && a != c ){

		printf("Yes");

	}

	else if( b == c && b !=a ){

		printf("Yes");

	}

	else if( c == a && c != b){

		printf("Yes");

	}

	else{

		printf("No");

}

	return 0;



}
// Slower C++ solution:
#include <iostream>

using namespace std;



int main()

{

	int a;

	int b;

	int c;

	cin >> a >> b >> c;

	if (a == b && a != c)

	{

		cout << "Yes";

	}

	else if (a == c && a != b)

	{

		cout << "Yes";

	}

	else if (b == c && a != b)

	{

		cout << "Yes";

	}

	else {

		cout << "No";

	}

	return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.298613951251797x):
#include <stdio.h>

int main()

{

	int a,b,c;

	scanf("%d%d%d",&a,&b,&c);

	

	if( a == b && a != c ){

		printf("Yes");

	}

	else if( b == c && b !=a ){

		printf("Yes");

	}

	else if( c == a && c != b){

		printf("Yes");

	}

	else{

		printf("No");

}

	return 0;



}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

	int d,e,f;

	cin>>d>>e>>f;

	  if(d==e && e==f)

	    cout<<"No";

    else if(d==e || e == f || d==f)

	 {

	 	cout<<"Yes";

	 	

	 }



     else

         cout<<"No";

}

// Faster C++ solution for the same problem (measured speedup: 5.298687666137499x):
#include <stdio.h>

int main()

{

	int a,b,c;

	scanf("%d%d%d",&a,&b,&c);

	

	if( a == b && a != c ){

		printf("Yes");

	}

	else if( b == c && b !=a ){

		printf("Yes");

	}

	else if( c == a && c != b){

		printf("Yes");

	}

	else{

		printf("No");

}

	return 0;



}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

int A, B, C;

cin>>A>>B>>C;

if((A==B && B != C) || (A==C && A != B) ||(B==C && B != A) ) 

    cout<<"Yes";

else 

   cout<<"No";

return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.298692802714356x):
#include <stdio.h>

int main()

{

	int a,b,c;

	scanf("%d%d%d",&a,&b,&c);

	

	if( a == b && a != c ){

		printf("Yes");

	}

	else if( b == c && b !=a ){

		printf("Yes");

	}

	else if( c == a && c != b){

		printf("Yes");

	}

	else{

		printf("No");

}

	return 0;



}
// Slower C++ solution:


#include<bits/stdc++.h>

using namespace std;

typedef long long ll;

int main(){

	int a,b,c;

	cin>>a>>b>>c;

	if(a==b&&a!=c||a==c&&b!=a||b==c&&b!=a) puts("Yes");

	else puts("No");

}


// Faster C++ solution for the same problem (measured speedup: 5.242533568049248x):
#include <stdio.h>



int main()

{

	int A, B, C;

	scanf("%d %d %d", &A, &B, &C);

	

	if(A==B&&A==C&&B==C)

{

	printf("No");

}

	else if(A==B||A==C||B==C)

{

	printf("Yes");

}

	else if(A!=B&&A!=C&&B!=C)

{

	printf("No");

}

	return 0;

}
// Slower C++ solution:
#include <iostream>

using namespace std;



int main()

{

	int a;

	int b;

	int c;

	cin >> a >> b >> c;

	if (a == b && a != c)

	{

		cout << "Yes";

	}

	else if (a == c && a != b)

	{

		cout << "Yes";

	}

	else if (b == c && a != b)

	{

		cout << "Yes";

	}

	else {

		cout << "No";

	}

	return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.29860561187451x):
#include <stdio.h>



int main()

{

	int A, B, C;

	scanf("%d %d %d", &A, &B, &C);

	

	if(A==B&&A==C&&B==C)

{

	printf("No");

}

	else if(A==B||A==C||B==C)

{

	printf("Yes");

}

	else if(A!=B&&A!=C&&B!=C)

{

	printf("No");

}

	return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

	int d,e,f;

	cin>>d>>e>>f;

	  if(d==e && e==f)

	    cout<<"No";

    else if(d==e || e == f || d==f)

	 {

	 	cout<<"Yes";

	 	

	 }



     else

         cout<<"No";

}

// Faster C++ solution for the same problem (measured speedup: 5.298679326644195x):
#include <stdio.h>



int main()

{

	int A, B, C;

	scanf("%d %d %d", &A, &B, &C);

	

	if(A==B&&A==C&&B==C)

{

	printf("No");

}

	else if(A==B||A==C||B==C)

{

	printf("Yes");

}

	else if(A!=B&&A!=C&&B!=C)

{

	printf("No");

}

	return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

int A, B, C;

cin>>A>>B>>C;

if((A==B && B != C) || (A==C && A != B) ||(B==C && B != A) ) 

    cout<<"Yes";

else 

   cout<<"No";

return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.298684463212967x):
#include <stdio.h>



int main()

{

	int A, B, C;

	scanf("%d %d %d", &A, &B, &C);

	

	if(A==B&&A==C&&B==C)

{

	printf("No");

}

	else if(A==B||A==C||B==C)

{

	printf("Yes");

}

	else if(A!=B&&A!=C&&B!=C)

{

	printf("No");

}

	return 0;

}
// Slower C++ solution:


#include<bits/stdc++.h>

using namespace std;

typedef long long ll;

int main(){

	int a,b,c;

	cin>>a>>b>>c;

	if(a==b&&a!=c||a==c&&b!=a||b==c&&b!=a) puts("Yes");

	else puts("No");

}


// Faster C++ solution for the same problem (measured speedup: 5.238504273057035x):
#include<stdio.h>

int main (){

	int A,B,C;

		scanf("%d",&A);

		scanf("%d",&B);

		scanf("%d",&C);	

		

	if(A == B && B == C && C == A){

		

		printf("No\n");

	}

	else if (A == B || B == C || C == A){

		printf("Yes\n");

	}

	else

	{

		printf("No\n");

	}

	

	

return 0;

}
// Slower C++ solution:
#include <iostream>

using namespace std;



int main()

{

	int a;

	int b;

	int c;

	cin >> a >> b >> c;

	if (a == b && a != c)

	{

		cout << "Yes";

	}

	else if (a == c && a != b)

	{

		cout << "Yes";

	}

	else if (b == c && a != b)

	{

		cout << "Yes";

	}

	else {

		cout << "No";

	}

	return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.294533221153398x):
#include<stdio.h>

int main (){

	int A,B,C;

		scanf("%d",&A);

		scanf("%d",&B);

		scanf("%d",&C);	

		

	if(A == B && B == C && C == A){

		

		printf("No\n");

	}

	else if (A == B || B == C || C == A){

		printf("Yes\n");

	}

	else

	{

		printf("No\n");

	}

	

	

return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

	int d,e,f;

	cin>>d>>e>>f;

	  if(d==e && e==f)

	    cout<<"No";

    else if(d==e || e == f || d==f)

	 {

	 	cout<<"Yes";

	 	

	 }



     else

         cout<<"No";

}

// Faster C++ solution for the same problem (measured speedup: 5.294606879267546x):
#include<stdio.h>

int main (){

	int A,B,C;

		scanf("%d",&A);

		scanf("%d",&B);

		scanf("%d",&C);	

		

	if(A == B && B == C && C == A){

		

		printf("No\n");

	}

	else if (A == B || B == C || C == A){

		printf("Yes\n");

	}

	else

	{

		printf("No\n");

	}

	

	

return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

int A, B, C;

cin>>A>>B>>C;

if((A==B && B != C) || (A==C && A != B) ||(B==C && B != A) ) 

    cout<<"Yes";

else 

   cout<<"No";

return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.294612011888465x):
#include<stdio.h>

int main (){

	int A,B,C;

		scanf("%d",&A);

		scanf("%d",&B);

		scanf("%d",&C);	

		

	if(A == B && B == C && C == A){

		

		printf("No\n");

	}

	else if (A == B || B == C || C == A){

		printf("Yes\n");

	}

	else

	{

		printf("No\n");

	}

	

	

return 0;

}
// Slower C++ solution:


#include<bits/stdc++.h>

using namespace std;

typedef long long ll;

int main(){

	int a,b,c;

	cin>>a>>b>>c;

	if(a==b&&a!=c||a==c&&b!=a||b==c&&b!=a) puts("Yes");

	else puts("No");

}


// Faster C++ solution for the same problem (measured speedup: 5.2432953315113755x):
#include<stdio.h>



int main()

{

	int A,B,C;

	scanf("%d %d %d", &A, &B, &C);

	

	if(A == B && B != C){

		printf ("Yes\n");

	}

	else if(A != B && A == C){

		printf ("Yes\n");

	}

	else if(B == C && A != C){

		printf ("Yes\n");

	}

	else{

		printf ("No\n");

	}

return 0;

}
// Slower C++ solution:
#include <iostream>

using namespace std;



int main()

{

	int a;

	int b;

	int c;

	cin >> a >> b >> c;

	if (a == b && a != c)

	{

		cout << "Yes";

	}

	else if (a == c && a != b)

	{

		cout << "Yes";

	}

	else if (b == c && a != b)

	{

		cout << "Yes";

	}

	else {

		cout << "No";

	}

	return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.2993755228541835x):
#include<stdio.h>



int main()

{

	int A,B,C;

	scanf("%d %d %d", &A, &B, &C);

	

	if(A == B && B != C){

		printf ("Yes\n");

	}

	else if(A != B && A == C){

		printf ("Yes\n");

	}

	else if(B == C && A != C){

		printf ("Yes\n");

	}

	else{

		printf ("No\n");

	}

return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

	int d,e,f;

	cin>>d>>e>>f;

	  if(d==e && e==f)

	    cout<<"No";

    else if(d==e || e == f || d==f)

	 {

	 	cout<<"Yes";

	 	

	 }



     else

         cout<<"No";

}

// Faster C++ solution for the same problem (measured speedup: 5.299449248334952x):
#include<stdio.h>



int main()

{

	int A,B,C;

	scanf("%d %d %d", &A, &B, &C);

	

	if(A == B && B != C){

		printf ("Yes\n");

	}

	else if(A != B && A == C){

		printf ("Yes\n");

	}

	else if(B == C && A != C){

		printf ("Yes\n");

	}

	else{

		printf ("No\n");

	}

return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

int A, B, C;

cin>>A>>B>>C;

if((A==B && B != C) || (A==C && A != B) ||(B==C && B != A) ) 

    cout<<"Yes";

else 

   cout<<"No";

return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.29945438565009x):
#include<stdio.h>



int main()

{

	int A,B,C;

	scanf("%d %d %d", &A, &B, &C);

	

	if(A == B && B != C){

		printf ("Yes\n");

	}

	else if(A != B && A == C){

		printf ("Yes\n");

	}

	else if(B == C && A != C){

		printf ("Yes\n");

	}

	else{

		printf ("No\n");

	}

return 0;

}
// Slower C++ solution:


#include<bits/stdc++.h>

using namespace std;

typedef long long ll;

int main(){

	int a,b,c;

	cin>>a>>b>>c;

	if(a==b&&a!=c||a==c&&b!=a||b==c&&b!=a) puts("Yes");

	else puts("No");

}


// Faster C++ solution for the same problem (measured speedup: 5.242533343018889x):
#include<stdio.h>

int main()

{

	int a,b,c;

	scanf("%d %d %d",&a,&b,&c);

	if(a==b&&b==c&&c==a || a!=b&&b!=c&&c!=a){

		printf("No");

	}

	else {

		printf("Yes");

	}

	

	return 0;

}
// Slower C++ solution:
#include <iostream>

using namespace std;



int main()

{

	int a;

	int b;

	int c;

	cin >> a >> b >> c;

	if (a == b && a != c)

	{

		cout << "Yes";

	}

	else if (a == c && a != b)

	{

		cout << "Yes";

	}

	else if (b == c && a != b)

	{

		cout << "Yes";

	}

	else {

		cout << "No";

	}

	return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.298605384437316x):
#include<stdio.h>

int main()

{

	int a,b,c;

	scanf("%d %d %d",&a,&b,&c);

	if(a==b&&b==c&&c==a || a!=b&&b!=c&&c!=a){

		printf("No");

	}

	else {

		printf("Yes");

	}

	

	return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

	int d,e,f;

	cin>>d>>e>>f;

	  if(d==e && e==f)

	    cout<<"No";

    else if(d==e || e == f || d==f)

	 {

	 	cout<<"Yes";

	 	

	 }



     else

         cout<<"No";

}

// Faster C++ solution for the same problem (measured speedup: 5.298679099203836x):
#include<stdio.h>

int main()

{

	int a,b,c;

	scanf("%d %d %d",&a,&b,&c);

	if(a==b&&b==c&&c==a || a!=b&&b!=c&&c!=a){

		printf("No");

	}

	else {

		printf("Yes");

	}

	

	return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

int A, B, C;

cin>>A>>B>>C;

if((A==B && B != C) || (A==C && A != B) ||(B==C && B != A) ) 

    cout<<"Yes";

else 

   cout<<"No";

return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.298684235772388x):
#include<stdio.h>

int main()

{

	int a,b,c;

	scanf("%d %d %d",&a,&b,&c);

	if(a==b&&b==c&&c==a || a!=b&&b!=c&&c!=a){

		printf("No");

	}

	else {

		printf("Yes");

	}

	

	return 0;

}
// Slower C++ solution:


#include<bits/stdc++.h>

using namespace std;

typedef long long ll;

int main(){

	int a,b,c;

	cin>>a>>b>>c;

	if(a==b&&a!=c||a==c&&b!=a||b==c&&b!=a) puts("Yes");

	else puts("No");

}


// Faster C++ solution for the same problem (measured speedup: 5.243254664524332x):
#include  <stdio.h>



int main()

{

    int a,b,c;

    scanf("%d %d %d", &a, &b, &c);

    

    if(a==b && b!=c){

        printf("Yes\n");

}

    else if(a==c && b!=a){

        printf("Yes\n");

}

    else if(b==c && a!=b){

        printf("Yes\n");

}

    else{

        printf("No\n");

}   

    return 0;

}
// Slower C++ solution:
#include <iostream>

using namespace std;



int main()

{

	int a;

	int b;

	int c;

	cin >> a >> b >> c;

	if (a == b && a != c)

	{

		cout << "Yes";

	}

	else if (a == c && a != b)

	{

		cout << "Yes";

	}

	else if (b == c && a != b)

	{

		cout << "Yes";

	}

	else {

		cout << "No";

	}

	return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.2993344209093x):
#include  <stdio.h>



int main()

{

    int a,b,c;

    scanf("%d %d %d", &a, &b, &c);

    

    if(a==b && b!=c){

        printf("Yes\n");

}

    else if(a==c && b!=a){

        printf("Yes\n");

}

    else if(b==c && a!=b){

        printf("Yes\n");

}

    else{

        printf("No\n");

}   

    return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

	int d,e,f;

	cin>>d>>e>>f;

	  if(d==e && e==f)

	    cout<<"No";

    else if(d==e || e == f || d==f)

	 {

	 	cout<<"Yes";

	 	

	 }



     else

         cout<<"No";

}

// Faster C++ solution for the same problem (measured speedup: 5.299408145818254x):
#include  <stdio.h>



int main()

{

    int a,b,c;

    scanf("%d %d %d", &a, &b, &c);

    

    if(a==b && b!=c){

        printf("Yes\n");

}

    else if(a==c && b!=a){

        printf("Yes\n");

}

    else if(b==c && a!=b){

        printf("Yes\n");

}

    else{

        printf("No\n");

}   

    return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

int A, B, C;

cin>>A>>B>>C;

if((A==B && B != C) || (A==C && A != B) ||(B==C && B != A) ) 

    cout<<"Yes";

else 

   cout<<"No";

return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.299413283093547x):
#include  <stdio.h>



int main()

{

    int a,b,c;

    scanf("%d %d %d", &a, &b, &c);

    

    if(a==b && b!=c){

        printf("Yes\n");

}

    else if(a==c && b!=a){

        printf("Yes\n");

}

    else if(b==c && a!=b){

        printf("Yes\n");

}

    else{

        printf("No\n");

}   

    return 0;

}
// Slower C++ solution:


#include<bits/stdc++.h>

using namespace std;

typedef long long ll;

int main(){

	int a,b,c;

	cin>>a>>b>>c;

	if(a==b&&a!=c||a==c&&b!=a||b==c&&b!=a) puts("Yes");

	else puts("No");

}


// Faster C++ solution for the same problem (measured speedup: 5.256379403053189x):
#include <stdio.h>



int main()

{

  int a, b, c;

  scanf("%d %d %d", &a, &b, &c);



  if ((a == c && b == a && b == c) || (a != c && b != a && b != c)) {

    puts("No");

  }

  else

  {

    puts("Yes");

  }

  

  return 0;

}
// Slower C++ solution:
#include <iostream>

using namespace std;



int main()

{

	int a;

	int b;

	int c;

	cin >> a >> b >> c;

	if (a == b && a != c)

	{

		cout << "Yes";

	}

	else if (a == c && a != b)

	{

		cout << "Yes";

	}

	else if (b == c && a != b)

	{

		cout << "Yes";

	}

	else {

		cout << "No";

	}

	return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.31259953639606x):
#include <stdio.h>



int main()

{

  int a, b, c;

  scanf("%d %d %d", &a, &b, &c);



  if ((a == c && b == a && b == c) || (a != c && b != a && b != c)) {

    puts("No");

  }

  else

  {

    puts("Yes");

  }

  

  return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

	int d,e,f;

	cin>>d>>e>>f;

	  if(d==e && e==f)

	    cout<<"No";

    else if(d==e || e == f || d==f)

	 {

	 	cout<<"Yes";

	 	

	 }



     else

         cout<<"No";

}

// Faster C++ solution for the same problem (measured speedup: 5.312673445850723x):
#include <stdio.h>



int main()

{

  int a, b, c;

  scanf("%d %d %d", &a, &b, &c);



  if ((a == c && b == a && b == c) || (a != c && b != a && b != c)) {

    puts("No");

  }

  else

  {

    puts("Yes");

  }

  

  return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

int A, B, C;

cin>>A>>B>>C;

if((A==B && B != C) || (A==C && A != B) ||(B==C && B != A) ) 

    cout<<"Yes";

else 

   cout<<"No";

return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.312678595985472x):
#include <stdio.h>



int main()

{

  int a, b, c;

  scanf("%d %d %d", &a, &b, &c);



  if ((a == c && b == a && b == c) || (a != c && b != a && b != c)) {

    puts("No");

  }

  else

  {

    puts("Yes");

  }

  

  return 0;

}
// Slower C++ solution:
#include <iostream>

#include <algorithm>

using namespace std;



int arr[3];

int main(){

    for(int i = 0;i<3;i++) scanf("%d",&arr[i]);

    sort(arr,arr+3);

    if(arr[0] == arr[1] && arr[1] != arr[2]){

        puts("Yes");

    }else if(arr[0] != arr[1] && arr[1] == arr[2]){

        puts("Yes");

    }else{

        puts("No");

    }





    return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.256341227367464x):
#include <stdio.h>

int main(){

int a,b,c;

scanf("%d %d %d",&a,&b,&c);

if(a==b && a!=c || a==c && a!=b || b==c && b!=a) puts("Yes");

else puts("No");

return 0;

}
// Slower C++ solution:
#include <iostream>

#include <algorithm>

using namespace std;



int arr[3];

int main(){

    for(int i = 0;i<3;i++) scanf("%d",&arr[i]);

    sort(arr,arr+3);

    if(arr[0] == arr[1] && arr[1] != arr[2]){

        puts("Yes");

    }else if(arr[0] != arr[1] && arr[1] == arr[2]){

        puts("Yes");

    }else{

        puts("No");

    }





    return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.241890656466112x):
#include<stdio.h>



int main(){

  int a,b,c;



  scanf("%d %d %d", &a, &b, &c);



  if((a == b && b != c) || (a == c && b != c) || (b == c && a != b)) printf("Yes\n");



  else printf("No\n");



  return 0;

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

int a1,b1,c1;

cin>>a1>>b1>>c1;

if(a1==b1 && a1!=c1)

{

cout<<"Yes";

}

else if(b1==c1 && c1!=a1)

{

 cout<<"Yes";

}

else if(a1==c1 && a1!=b1)

{

 cout<<"Yes";

}

else

{

 cout<<"No";

}

return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.298144062275299x):
#include<stdio.h>



int main(){

  int a,b,c;



  scanf("%d %d %d", &a, &b, &c);



  if((a == b && b != c) || (a == c && b != c) || (b == c && a != b)) printf("Yes\n");



  else printf("No\n");



  return 0;

}
// Slower C++ solution:
#include <iostream>

#include <algorithm>

using namespace std;



int arr[3];

int main(){

    for(int i = 0;i<3;i++) scanf("%d",&arr[i]);

    sort(arr,arr+3);

    if(arr[0] == arr[1] && arr[1] != arr[2]){

        puts("Yes");

    }else if(arr[0] != arr[1] && arr[1] == arr[2]){

        puts("Yes");

    }else{

        puts("No");

    }





    return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.243027217593918x):
#include<stdio.h>



int main()

{

	int x,y,z;

	scanf("%d %d %d", &x, &y, &z);

	if((x==y && x!=z) || (x==z && x!=y) || (y==z && y!=x)){

		printf("Yes\n");

	}

	else{

		printf("No\n");

	}

	return 0;	

}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

int a1,b1,c1;

cin>>a1>>b1>>c1;

if(a1==b1 && a1!=c1)

{

cout<<"Yes";

}

else if(b1==c1 && c1!=a1)

{

 cout<<"Yes";

}

else if(a1==c1 && a1!=b1)

{

 cout<<"Yes";

}

else

{

 cout<<"No";

}

return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.299292820421039x):
#include<stdio.h>



int main()

{

	int x,y,z;

	scanf("%d %d %d", &x, &y, &z);

	if((x==y && x!=z) || (x==z && x!=y) || (y==z && y!=x)){

		printf("Yes\n");

	}

	else{

		printf("No\n");

	}

	return 0;	

}
// Slower C++ solution:
#include<iostream>

 

using namespace std;

 

int main()

{

    int a,b,c;

    cin>>a>>b>>c;

    if(a==b && b==c)

    cout<<"No";

    else if(a==b || b==c || a==c)

    cout<<"Yes";

    else 

    cout<<"No";

    return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.299365299777552x):
#include<stdio.h>



int main()

{

	int x,y,z;

	scanf("%d %d %d", &x, &y, &z);

	if((x==y && x!=z) || (x==z && x!=y) || (y==z && y!=x)){

		printf("Yes\n");

	}

	else{

		printf("No\n");

	}

	return 0;	

}
// Slower C++ solution:
#include <iostream>

#include <algorithm>

using namespace std;



int arr[3];

int main(){

    for(int i = 0;i<3;i++) scanf("%d",&arr[i]);

    sort(arr,arr+3);

    if(arr[0] == arr[1] && arr[1] != arr[2]){

        puts("Yes");

    }else if(arr[0] != arr[1] && arr[1] == arr[2]){

        puts("Yes");

    }else{

        puts("No");

    }





    return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.242535087339872x):
#include <stdio.h>







int main ()

{

int A,B,C;

scanf("%d %d %d", &A, &B, &C);



if (A==B&&A!=C){

	printf ("Yes");

}

else if (A==C&&A!=B){

	printf("Yes");

}

else if(B==C&&B!=A){

	printf("Yes");

}

else {

	printf("No");

}

	return 0;

	}
// Slower C++ solution:
#include<iostream>

using namespace std;

int main()

{

int a1,b1,c1;

cin>>a1>>b1>>c1;

if(a1==b1 && a1!=c1)

{

cout<<"Yes";

}

else if(b1==c1 && c1!=a1)

{

 cout<<"Yes";

}

else if(a1==c1 && a1!=b1)

{

 cout<<"Yes";

}

else

{

 cout<<"No";

}

return 0;

}

// Faster C++ solution for the same problem (measured speedup: 5.298795408865893x):
#include <stdio.h>







int main ()

{

int A,B,C;

scanf("%d %d %d", &A, &B, &C);



if (A==B&&A!=C){

	printf ("Yes");

}

else if (A==C&&A!=B){

	printf("Yes");

}

else if(B==C&&B!=A){

	printf("Yes");

}

else {

	printf("No");

}

	return 0;

	}