from math import * x,y,z=map(int,input().split()) v=w=t=6000;h=abs;r=range;p=print if z==0:p("ccW");exit() for a in r(-v,v): b=z-a*x if y:b//=y if (a!=0 or b!=0)and a*x+b*y==z and h(a)+h(b)10000:p("mourennaihasimasenn") else: s=v>0;l=r(h([v,w][s]));q=h([w,v][s]);o="" for i in l:p("cw"[s],end=o) for i in r(q):p("wc"[s],end=o) for i in r(q-1):p("C",end=o) if v>=0and w>=0: for i in l:p("C",end=o) else: for i in r(h([v,w][w<0])):p("W",end=o) p()