read X

if [ $X -le 599 ]
then
  echo 8
elif [ $X -le 799 ]
then
  echo 7
elif [ $X -le 999 ]
then
  echo 6
elif [ $X -le 1199 ]
then
  echo 5
elif [  $X -le 1399 ]
then
  echo 4
elif [ $X -le 1599 ]
then
  echo 3
elif [ $X -le 1799 ]
then
  echo 2
elif [ $X -le 1999 ]
then
  echo 1
fi
