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(-6000,6000): b=(z-a*x) if y:b/=y d=int(b);e=ceil(b) if d==e and(a!=0 or b!=0)and a*x+e*y==z and h(a)+h(e)10000:print("mourennaihasimasenn") else: s=v>0 for i in r(h([v,w][s])):p("cw"[s],end="") for i in r(h([w,v][s])):p("wc"[s],end="") for i in r(h([w,v][s])-1):p("C",end="") if v<0: for i in r(h(v)):p("W",end="") elif w<0: for i in r(h(w)):p("W",end="") else: for i in r(h([v,w][s])):p("C",end="") p()