#define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; #include using namespace std; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); int n,m,k; cin>>n>>m>>k; if(k==0 && n && m){ cout<<-1<=k && 2*m>=k+2){ b=true; string tmp=""; tmp+='1'; rep(i,n-(k-2)/2) tmp+='0'; rep(i,(k-2)/2) tmp+="10"; rep(i,m-k/2) tmp+='1'; ans=tmp; } if(2*n>=k+2 && 2*m>=k){ b=true; string tmp=""; rep(i,n-k/2) tmp+='0'; rep(i,(k-2)/2) tmp+="10"; rep(i,m-k/2+1) tmp+='1'; tmp+='0'; ans=tmp; } if(b==false) cout<<-1<