deg = int(input())

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

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