#!/bin/sh

a() {
	echo $1
	< o awk '$2 == '$1' { print $1, $3 }' > $1
}

for A in 18 19 21 25 30 31 32
do
	a $A
done
