x = int(input())

if -40 <= x and x <= 40:
    if x >= 30:
        print("Yes")
    else:
        print("No") x = int(input()) x int(input()) int input() input if -40 <= x and x <= 40:
    if x >= 30:
        print("Yes")
    else:
        print("No") -40 <= x and x <= 40 -40 <= x -40 x x <= 40 x 40 if x >= 30:
        print("Yes")
    else:
        print("No") x >= 30 x 30 print("Yes") print "Yes" print("No") print "No" x = int(input()) int(input()) x
x = int(input())

if -40 <= x and x <= 40:
    if x >= 30:
        print("Yes")
    else:
        print("No")