#!/bin/sh
read day
if [  $day = 'SUN' ] ; then
echo 7
elif [  $day = 'MON' ] ; then 
echo 6
elif [  $day = 'TUE' ] ; then
echo 5
elif [  $day = 'WED' ] ; then
echo 4
elif [  $day = 'THU' ] ; then
echo 3
elif [  $day = 'FRI' ] ; then
echo 2
else
echo 1
fi