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