read N for i in `seq $N` ; do ans=$(($ans+$i)) done echo i