for i in {0..500}
do
    if test `expr $i % 7` -eq 0
    then
        echo $i
    fi
done