xin = int(input())

if xin > 29:
    print("Yes")
else:
    print("No") xin = int(input()) xin int(input()) int input() input if xin > 29:
    print("Yes")
else:
    print("No") xin > 29 xin 29 print("Yes") print "Yes" print("No") print "No" xin = int(input()) int(input()) xin
xin = int(input())

if xin > 29:
    print("Yes")
else:
    print("No")
