Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int test, stud;
- cin >> test >> stud;
- if(test != 1 && stud != 1){
- cout << "YES" << endl;
- }else if(test == stud){
- cout << "YES" << endl;
- }else{
- cout << "NO";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment