#include #include #include using namespace std; using ll=long long; #define all(v) v.begin(),v.end() #define rall(v) v.rbegin(),v.rend() template bool chmax(T &a, T b){if (a < b){a = b;return true;} else return false;} template bool chmin(T &a, T b){if (a > b){a = b;return true;} else return false;} int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int N,M,K; cin>>N>>M>>K; if(K==0){ if(N==0)while(M--)cout<<1; else if(M==0)while(N--)cout<<0; else cout<<-1; cout<<"\n"; }else if(K%2==1){ K++; if(NK/2){ for(int i=0;iK/2&&M>=K/2){ for(int i=0;i