<reponame>KATO-Hiro/AtCoder
# -*- coding: utf-8 -*-


def main():
    n = int(input())

    # See:
    # https://www.slideshare.net/chokudai/arc032
    if n == 2:
        print('WANWAN')
    else:
        print('BOWWOW')


if __name__ == '__main__':
    main()

# -*- coding: utf-8 -*-


def main():
    n = int(input())

    # See:
    # https://www.slideshare.net/chokudai/arc032
    if n == 2:
        print('WANWAN')
    else:
        print('BOWWOW')


if __name__ == '__main__':
    main()
# -*- coding: utf-8 -*- # See: # https://www.slideshare.net/chokudai/arc032