For this Question: Given four positive integers A, B, C, and D, can a rectangle have these integers as its sides?The input consists of a single line containing four space-separated integers A, B, C and D.

<b> Constraints: </b>
1 ≤ A, B, C, D ≤ 1000Output "Yes" if a rectangle is possible; otherwise, "No" (without quotes).Sample Input 1:
3 4 4 3

Sample Output 1:
Yes

Sample Explanation 1:
A rectangle is possible with 3, 4, 3, and 4 as sides in clockwise order.

Sample Input 2:
3 4 3 5

Sample Output 2:
No

Sample Explanation 2:
No rectangle can be made with these side lengths., I have written this Solution Code: #include<iostream>
using namespace std;

int main(){
	int a,b,c,d;
	cin >> a >> b >> c >> d;
	if((a==c) &&(b==d)){
		cout << "Yes\n";
	}else if((a==b) && (c==d)){
		cout << "Yes\n";
	}else if((a==d) && (b==c)){
		cout << "Yes\n";
	}else{
		cout << "No\n";
	}
        return 0;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?