#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n == 5) { cout<<"00110\n"; return 0; } cout<<-1; return 0; }