program main
    use,intrinsic :: iso_fortran_env
    implicit none
    integer(int32):: x

    read*, x
    if (x >= 30) then
        print'(a)', "Yes"
    else
        print'(a)', "No"
    end if
end program main