#!/bin/python3

import math
import os
import random
import re
import sys



if __name__ == '__main__':
    N = int(input())
    print("Weird" if ((N%2!=0) or (N%2==0 and N in range(6,21))) else "Not Weird")

#!/bin/python3

import math
import os
import random
import re
import sys



if __name__ == '__main__':
    N = int(input())
    print("Weird" if ((N%2!=0) or (N%2==0 and N in range(6,21))) else "Not Weird")

#!/bin/python3