print for keys %seen; # will print paul, jane, betty (though not necessarily in this order, see note below)