rm $1.q
rm $1.s
phase1 < $1.p > $1.q
cat $1.q
phase2 $1.q > $1.s
