read num
echo "num is $num"

if [ "$num" ];then
echo "num is non empty"
else
echo "num is empty"
fi