Imports System

Module Program
    Sub Main(args As String())

        Dim X As Integer = Integer.Parse(Console.ReadLine())

        If X >= 30 Then
            Console.WriteLine("Yes")
        Else
            Console.WriteLine("No")
        End If

    End Sub

End Module
