@@ -0,0 +1,354 @@
+def is_odd(n):%0A    return n %25 2 == 1%0A%0Adef is_weird(n):%0A    if is_odd(n):%0A        return True%0A    else:%0A        # n is even%0A        if 2 %3C= n %3C= 5:%0A            return False%0A        elif 6 %3C= n %3C= 20:%0A            return True%0A        elif 20 %3C n:%0A            return False%0A%0An = int(input())%0A%0Aif (is_weird(n)):%0A    print(%22Weird%22)%0Aelse:%0A    print(%22Not Weird%22)%0A

Solve if else