temperture = int(input())

if temperture >= 30:
    print("Yes")
else:
    print("No") temperture = int(input()) temperture int(input()) int input() input if temperture >= 30:
    print("Yes")
else:
    print("No") temperture >= 30 temperture 30 print("Yes") print "Yes" print("No") print "No" temperture = int(input()) int(input()) temperture
temperture = int(input())

if temperture >= 30:
    print("Yes")
else:
    print("No")