# get input from user and convert in to int
current_temp = int(input())

# Check that the restriction per task instruction is met
if (current_temp <= 40) and (current_temp >= -40):
    # Check if current_temp is greater than or equal to 30
    if current_temp >= 30:
        print("Yes")
    else:
        print("No") current_temp = int(input()) current_temp int(input()) int input() input if (current_temp <= 40) and (current_temp >= -40):
    # Check if current_temp is greater than or equal to 30
    if current_temp >= 30:
        print("Yes")
    else:
        print("No") (current_temp <= 40) and (current_temp >= -40) current_temp <= 40 current_temp 40 current_temp >= -40 current_temp -40 if current_temp >= 30:
        print("Yes")
    else:
        print("No") current_temp >= 30 current_temp 30 print("Yes") print "Yes" print("No") print "No" current_temp = int(input()) int(input()) current_temp
# get input from user and convert in to int
current_temp = int(input())

# Check that the restriction per task instruction is met
if (current_temp <= 40) and (current_temp >= -40):
    # Check if current_temp is greater than or equal to 30
    if current_temp >= 30:
        print("Yes")
    else:
        print("No")