edited 'puts' at end to combine the two lists