x = int(input())
print('Yes' if 30 <= x else 'No') x = int(input()) x int(input()) int input() input print('Yes' if 30 <= x else 'No') print 'Yes' if 30 <= x else 'No' 30 <= x 30 x 'Yes' 'No' x = int(input()) int(input()) x
x = int(input())
print('Yes' if 30 <= x else 'No')