temp = input()
temp = int(temp)
if temp<-40 or temp>40:
    print('Out')    
elif temp >=30: 
    print('Yes')
else:
    print('No') temp = input() temp input() input temp = int(temp) temp int(temp) int temp if temp<-40 or temp>40:
    print('Out')    
elif temp >=30: 
    print('Yes')
else:
    print('No') temp<-40 or temp>40 temp<-40 temp -40 temp>40 temp 40 print('Out') print 'Out' elif temp >=30: 
    print('Yes') temp >=30 temp 30 print('Yes') print 'Yes' print('No') print 'No' temp = int(temp) int(temp) temp temp = input() input() temp
temp = input()
temp = int(temp)
if temp<-40 or temp>40:
    print('Out')    
elif temp >=30: 
    print('Yes')
else:
    print('No')