a = int(input())
print('YNeos'[a<30::2]) a = int(input()) a int(input()) int input() input print('YNeos'[a<30::2]) print 'YNeos'[a<30::2] 'YNeos' a<30::2 a<30 a 30 2 a = int(input()) int(input()) a
a = int(input())
print('YNeos'[a<30::2])
