Module Module1
 
Sub main()
	'read : XX = Console.ReadLine()
	'write: Console.WriteLine( XX )
    Dim temp as Integer
    temp = Console.ReadLine()
    
    If temp >= 30 Then
      Console.WriteLine("Yes")
    Else
      Console.WriteLine("No")
    End If
end sub
  
end module