Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
   int a,b;
   cin>>a>>b;#include<bits/stdc++.h>
using namespace std;
int main()
{
   int a,b;
   cin>>a>>b;
   if(a==1&&b==1||a==1&&b==3||a==1&&b==5||a==1&&b==7||a==1&&b==8||a==1&&b==10||a==1&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==3&&b==3||a==3&&b==1||a==3&&b==5||a==3&&b==7||a==3&&b==8||a==3&&b==10||a==3&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==5&&b==5||a==5&&b==1||a==5&&b==3||a==5&&b==7||a==5&&b==8||a==5&&b==10||a==5&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==7&&b==7||a==7&&b==1||a==7&&b==3||a==7&&b==5||a==7&&b==8||a==7&&b==10||a==7&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==8&&b==8||a==8&&b==1||a==8&&b==3||a==8&&b==5||a==8&&b==7||a==8&&b==10||a==8&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==10&&b==10||a==10&&b==1||a==10&&b==3||a==10&&b==5||a==10&&b==7||a==10&&b==8||a==10&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==12&&b==12||a==12&&b==1||a==12&&b==3||a==12&&b==5||a==12&&b==7||a==12&&b==8||a==12&&b==10)
   {
       cout<<"Yes";
   }
   else if(a==4&&b==4||a==4&&b==6||a==4&&b==9||a==4&&b==11)
   {
       cout<<"Yes";
   }
    else if(a==6&&b==6||a==6&&b==4||a==6&&b==9||a==6&&b==11)
   {
       cout<<"Yes";
   }
    else if(a==9&&b==9||a==9&&b==4||a==9&&b==6||a==9&&b==11)
   {
       cout<<"Yes";
   }
    else if(a==11&&b==11||a==11&&b==4||a==11&&b==6||a==11&&b==9)
   {
       cout<<"Yes";
   }
   else if(a==2&&b==2)
   {
       cout<<"Yes";
   }
   else
   {
       cout<<"No";
   }


    return 0;
}

   if(a==1&&b==1||a==1&&b==3||a==1&&b==5||a==1&&b==7||a==1&&b==8||a==1&&b==10||a==1&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==3&&b==3||a==3&&b==1||a==3&&b==5||a==3&&b==7||a==3&&b==8||a==3&&b==10||a==3&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==5&&b==5||a==5&&b==1||a==5&&b==3||a==5&&b==7||a==5&&b==8||a==5&&b==10||a==5&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==7&&b==7||a==7&&b==1||a==7&&b==3||a==7&&b==5||a==7&&b==8||a==7&&b==10||a==7&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==8&&b==8||a==8&&b==1||a==8&&b==3||a==8&&b==5||a==8&&b==7||a==8&&b==10||a==8&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==10&&b==10||a==10&&b==1||a==10&&b==3||a==10&&b==5||a==10&&b==7||a==10&&b==8||a==10&&b==12)
   {
       cout<<"Yes";
   }
   else if(a==12&&b==12||a==12&&b==1||a==12&&b==3||a==12&&b==5||a==12&&b==7||a==12&&b==8||a==12&&b==10)
   {
       cout<<"Yes";
   }
   else if(a==4&&b==4||a==4&&b==6||a==4&&b==9||a==4&&b==11)
   {
       cout<<"Yes";
   }
    else if(a==6&&b==6||a==6&&b==4||a==6&&b==9||a==6&&b==11)
   {
       cout<<"Yes";
   }
    else if(a==9&&b==9||a==9&&b==4||a==9&&b==6||a==9&&b==11)
   {
       cout<<"Yes";
   }
    else if(a==11&&b==11||a==11&&b==4||a==11&&b==6||a==11&&b==9)
   {
       cout<<"Yes";
   }
   else if(a==2&&b==2)
   {
       cout<<"Yes";
   }
   else
   {
       cout<<"No";
   }


    return 0;
}


Compiler output:
a.cc:6:14: error: stray '#' in program
    6 |    cin>>a>>b;#include<bits/stdc++.h>
      |              ^
a.cc: In function 'int main()':
a.cc:6:15: error: 'include' was not declared in this scope
    6 |    cin>>a>>b;#include<bits/stdc++.h>
      |               ^~~~~~~
a.cc:6:23: error: 'bits' was not declared in this scope
    6 |    cin>>a>>b;#include<bits/stdc++.h>
      |                       ^~~~
a.cc:6:28: error: 'stdc' was not declared in this scope; did you mean 'std'?
    6 |    cin>>a>>b;#include<bits/stdc++.h>
      |                            ^~~~
      |                            std
a.cc:7:1: error: expected primary-expression before 'using'
    7 | using namespace std;
      | ^~~~~
a.cc:8:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
    8 | int main()
      |         ^~
a.cc:8:9: note: remove parentheses to default-initialize a variable
    8 | int main()
      |         ^~
      |         --
a.cc:8:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:9:1: error: a function-definition is not allowed here before '{' token
    9 | {
      | ^