#include using namespace std; int main(int argc, char* argv[]) { int N; cin>>N; switch(N){ case 2: cout<<1; break; case 3: cout<<7; break; case 4: cout<<11; break; default: if (N-3>=2){ cout<<7; N-=3; } while (N>=2){ cout<<1; N-=2; } break; } cout<