#!/bin/bash
tamp=0;
while [ tamp -le 500 ]
do
    tamp1=$[tamp%7];
    if [ tamp1 -eq 0 ]
    then
    echo $tamp;
    fi
    tamp=$[tamp+1]
done