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