X = input()
ans = 'Yes' if int(X) >= 30 else 'No'
print(ans) X = input() X input() input ans = 'Yes' if int(X) >= 30 else 'No' ans 'Yes' if int(X) >= 30 else 'No' int(X) >= 30 int(X) int X 30 'Yes' 'No' print(ans) print ans ans = 'Yes' if int(X) >= 30 else 'No' 'Yes' if int(X) >= 30 else 'No' ans X = input() input() X
X = input()
ans = 'Yes' if int(X) >= 30 else 'No'
print(ans)