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