program sample
    implicit none
  
    integer(8) :: i,j,m,n
    integer(8),allocatable :: x(:),y(:)
  
    read(*,*) n
    if(n>=30)then
        write(*,*)'Yes'
    else
    write(*,*) 'No'
    end if  
    stop
end program sample
  

