x, y, z = map(int, input().split()) code = 'NO' minA = None minB = None min = 5000 for a in range(-5000, 5001): if y == 0: b = float(z - a * x) else: b = (z - a * x) / y if b.is_integer() == True and abs(a) + abs(b) <= 5000 and min >= abs(a) + abs(b): b = int(b) min = abs(a) + abs(b) minA = a minB = b a = minA b = minB if a == None and b == None: code = 'NO' elif a <= 0 and b <= 0 and abs(a) + abs(b) <= 4997: code = 'c' * (abs(a) + 2) + 'w' * abs(b) + 'W' * (abs(a) + abs(b) + 1) elif a >= 0 and b >= 0: code = 'c'*a + 'w'*b +'C'*(a+b-1) elif a <= 0 and b >= 0: code = 'c' * abs(a) + 'w' * b + 'C' * (b - 1) + 'W' * abs(a) elif a >= 0 and b <= 0: code = 'c' * a + 'w' * abs(b) + 'C' * (a - 1) + 'W' * abs(b) else: print('error') if code == 'NO': print('NO') else: print(code)