#include using namespace std; #define FOR(i,a,b) for (int i=(a);i<(b);i++) #define RFOR(i,a,b) for (int i=(b)-1;i>=(a);i--) #define REP(i,n) for (int i=0;i<(n);i++) #define RREP(i,n) for (int i=(n)-1;i>=0;i--) typedef long long LL; LL x,y,z; int main(){ cin>>x>>y>>z; LL a,b; bool check=false; REP(i,10002){ REP(j,10002){ //a=i; //b=j; a=i-5001; b=j-5001; if((a*x+b*y)==z){ if(abs(a)+abs(b)<4999){ check=true; break; } if(abs(a)+abs(b)<5001&&(a>=0||b>=0)){ check=true; break; } } } if(check==true)break; } //cout<0){ REP(i,abs(b)){ cout<<"w"; } REP(i,abs(a)){ cout<<"c"; } REP(i,abs(a)-1){ cout<<"C"; } REP(i,abs(b)){ if(b>0){ cout<<"C"; }else{ cout<<"W"; } } }else{ REP(i,abs(a)){ cout<<"c"; } REP(i,abs(b)){ cout<<"w"; } REP(i,abs(b)-1){ cout<<"C"; } REP(i,abs(a)){ if(a>0){ cout<<"C"; }else{ cout<<"W"; } } } cout<0){ REP(i,abs(b)){ cout<<"C"; } }else{ REP(i,abs(b)){ cout<<"W"; } } if(a>0){ REP(i,abs(a)){ cout<<"C"; } }else{ REP(i,abs(a)){ cout<<"W"; } } cout<