import sys readline=sys.stdin.readline X,Y,Z=map(int,readline().split()) if Z: ans="NO" for x in range(-5000,5001): if Y and (Z-x*X)%Y or Y==0 and Z-x*X: continue if Y: y=(Z-x*X)//Y else: y=0 if abs(x)+abs(y)<=5000: if x>0: ans="w"*abs(y)+"c"+"cC"*(x-1)+("C"*y if y>=0 else "W"*(-y)) else: ans="c"*abs(x)+"w"+"wC"*(y-1)+("C"*x if x>=0 else "W"*(-x)) break else: ans="ccW" print(ans)