p=print def f(g):p(g,end="") from math import * x,y,z=map(int,input().split()) v=w=t=6000;h=abs;r=range 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]) for i in l:f("cw"[s]) for i in r(q):f("wc"[s]) for i in r(q-1):f("C") if v>=0and w>=0: for i in l:f("C") else: for i in r(h([v,w][w<0])):f("W") p()