x, y, z = map(int, raw_input().split()) def print_ans(a, b, w): a_op = 'C' if a > 0 else 'W' b_op = 'C' if b > 0 else 'W' if a> 0: print 'c' + (('c'+a_op)*(abs(a)-1) + ('w'+b_op)*abs(b))*w else: print 'w' + (('w'+b_op)*(abs(b)-1) + ('c'+a_op)*abs(a))*w for a in xrange(-5000, 5000): for b in xrange(-5000+abs(a), 5000-abs(a)): c = a*x+b*y if c > 0 and z % c == 0: if a != 0 and b != 0: if 2*(abs(a)+abs(b))*(z/c)-1 <= 10000: print_ans(a, b, z/c) exit()