Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdio.h"
- int main(){
- int a,b;
- scanf("%d%d", &a, &b);
- if (((a == 1)&&(b == 1))||((a != 1)&&(b != 1))){
- printf ("YES");
- }
- else{
- printf("NO");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement