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