d = int(input())
ft = d
ct = 10 + d / 10
if ft < ct:
    print('w')
else:
    print('v')