X = input()
X = int(X)


if X < -40 or X > 40:
    print("invalid number 'X'")
elif X >= 30:
    print("Yes")
else:
    print("No") X = input() X input() input X = int(X) X int(X) int X if X < -40 or X > 40:
    print("invalid number 'X'")
elif X >= 30:
    print("Yes")
else:
    print("No") X < -40 or X > 40 X < -40 X -40 X > 40 X 40 print("invalid number 'X'") print "invalid number 'X'" elif X >= 30:
    print("Yes") X >= 30 X 30 print("Yes") print "Yes" print("No") print "No" X = input() input() X X = int(X) int(X) X
X = input()
X = int(X)


if X < -40 or X > 40:
    print("invalid number 'X'")
elif X >= 30:
    print("Yes")
else:
    print("No")
