      PROGRAM piyo
      IMPLICIT NONE
      INTEGER,PARAMETER :: p = 16
      integer(p) :: x
      read*,x
      
      if( x>=30 )then
        print*,'Yes'
      else
        print*,'No'
      end if
      
      
      
      
      stop
      !debugg
      
      
      
      END PROGRAM