Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(){
- int a[100];
- int b[100];
- for(int i=0;i<6;i++){
- cin >> a[i] >> b[i];
- }
- if((a[0]==6)&&(b[0]!=1)){
- cout << "No";
- } else{
- cout << "Yes";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement