a = int(eval(input()))

if a >= 30:

    print("Yes")

else:

    print("No")
N= []

N= int(eval(input(" ")))

 

if N>=30:

    print("Yes")

else:

    print("No")
a = int(eval(input()))
if a >= 30:
    print("Yes")
else:
    print("No")

N = []
N = int(eval(input(" ")))
if N >= 30:
    print("Yes")
else:
    print("No")

-a = int(eval(input())) -if a >= 30: +N = [] +N = int(eval(input(" "))) +if N >= 30: