#include using namespace std; typedef long long ll; int main(){ int n; cin>>n; int x=n/2; if(n%2==1){ cout<<"7"; } else{ cout<<"1"; } for(int i=0;i