while writing a script m not able to convert string into a number therefore it is not picking the write if condition
pls help
#!/bin/sh
echo "this game is about selecting number and getting lucky"
echo " the number are 1 2 3 4 5 and 0 to exit"
read $a1
if [ "$a1" = 1 ]; then
echo "NUMBER IS NOT CORRECT"
elif [ "$a1" = 2 ]; then
echo "NUMBER IS NOT CORRECT"
elif [ "$a1" = 3 ]; then
echo "NUMBER IS NOT CORRECT"
elif [ "$a1" = 4 ]; then
echo "NUMBER IS NOT CORRECT"
elif [ "$a1" = 5 ]; then
echo "NUMBER IS NOT CORRECT"
else
echo "you win"
fi
