#!/usr/local/bin/ksh

NUM=$1
shift

for i in "$@"
do
	box=`echo $i | sed 's/^\+//; s/\/$//'`
	echo "*** $box"
	scan +$box last:$NUM
done
