a = int(input())
b = 'Yes' if a > 29 else 'No'
print(b) a = int(input()) a int(input()) int input() input b = 'Yes' if a > 29 else 'No' b 'Yes' if a > 29 else 'No' a > 29 a 29 'Yes' 'No' print(b) print b a = int(input()) int(input()) a b = 'Yes' if a > 29 else 'No' 'Yes' if a > 29 else 'No' b
a = int(input())
b = 'Yes' if a > 29 else 'No'
print(b)