from sys import stdin
input = stdin.buffer.readline

print('YNeos'[int(input()) < 30 :: 2]) from sys import stdin input = stdin.buffer.readline input stdin.buffer.readline stdin.buffer stdin buffer readline print('YNeos'[int(input()) < 30 :: 2]) print 'YNeos'[int(input()) < 30 :: 2] 'YNeos' int(input()) < 30 :: 2 int(input()) < 30 int(input()) int input() input 30 2 input = stdin.buffer.readline stdin.buffer.readline input
from sys import stdin
input = stdin.buffer.readline

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