x=int(input())if -2<=x<=-30: print("Да")if 7<=x<=25: print("Да")else: print("Нет")
-29
Нет
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!