Write a shell script to print the first even and odd numbers less than 30

echo “First Odd and Even number till 30 are”
n=1
while [ $n -lt 30 ]; do out=$(( $n % 2 )) if [ “$out” -eq 0 ] then
echo “$n is even number” else echo “$n is ODD number”
fi
n=$(($n + 1 ))

done