say $third unless $third eq $seen;