a = int(input())
res = a > 29 and 'Yes' or 'No'
print(res) a = int(input()) a int(input()) int input() input res = a > 29 and 'Yes' or 'No' res a > 29 and 'Yes' or 'No' a > 29 and 'Yes' a > 29 a 29 'Yes' 'No' print(res) print res res = a > 29 and 'Yes' or 'No' a > 29 and 'Yes' or 'No' res a = int(input()) int(input()) a
a = int(input())
res = a > 29 and 'Yes' or 'No'
print(res)
