#include using namespace std; typedef long long ll; typedef vector vi; typedef vector vl; typedef pair pii; typedef pair pll; typedef int _loop_int; #define REP(i,n) for(_loop_int i=0;i<(_loop_int)(n);++i) #define FOR(i,a,b) for(_loop_int i=(_loop_int)(a);i<(_loop_int)(b);++i) #define FORR(i,a,b) for(_loop_int i=(_loop_int)(b)-1;i>=(_loop_int)(a);--i) #define DEBUG(x) cout<<#x<<": "< P; int main(){ ll x,y,z; cin>>x>>y>>z; if(z==0){ puts("wwW"); return 0; } FOR(a,-10000,10001){ // ax + by = z ll ax = a*x; ll by = z - ax; ll b; if(y==0){ if(by != 0)continue; b = 0; }else{ if(by % y != 0)continue; b = by / y; } ll cnt = abs(a)+abs(b); if(2*cnt-1 <= 10000){ // yattaze. if(a<0){ REP(i,abs(a))putchar('c'); REP(i,b)putchar('w'); REP(i,b-1)putchar('C'); REP(i,abs(a))putchar('W'); putchar('\n'); }else if(b<0){ REP(i,abs(b))putchar('w'); REP(i,a)putchar('c'); REP(i,a-1)putchar('C'); REP(i,abs(b))putchar('W'); putchar('\n'); }else{ REP(i,a)putchar('c'); REP(i,b)putchar('w'); REP(i,a+b-1)putchar('C'); putchar('\n'); } return 0; } } puts("mourennaihasimasenn"); return 0; }