x, y, z = map(int, raw_input().split()) def print_ans(a, b, w): if a >= 0 and b <= 0: print ('w'*abs(b) + 'c'*abs(a) + 'C'*(abs(a)-1) + 'W'*abs(b))*w elif a <= 0 and b >= 0: print ('c'*abs(a) + 'w'*abs(b) + 'C'*(abs(b)-1) + 'W'*abs(a))*w else: print ('c'*(abs(a)-1) + 'w'*abs(b) + 'C'*(abs(a)+abs(b)-1))*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 or b != 0: if 2*(abs(a)+abs(b))*(z/c)-1 <= 9999: print_ans(a, b, z/c) exit() print 'mourennaihasimasenn'