def ans(A,B): if abs(A)+abs(B) > 5000: return cA,wB = "c"*abs(A),"w"*abs(B) if A >= 0 and B >= 0: return cA+wB+"C"*(A+B-1) if A >= 0: return wB+cA+"C"*(A-1)+"W"*(-B) if B >= 0: return cA+wB+"C"*(B-1)+"W"*(-A) x,y,z = map(int,input().split()) if z==0: print("ccW") exit() for A in range(-5000,5001): v = z-A*x if y and v%y: continue if y==0 and v: continue if y: B = v//y else: B = 0 s = ans(A,B) if s: print(s) exit() print("NO")