import sys readline=sys.stdin.readline X,Y,Z=map(int,readline().split()) ans="NO" for x in range(-4999,5000): if (Z-x*X)%Y: continue y=(Z-x*X)//Y if abs(x)+abs(y)<=4999: 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 print(ans)