HW1 (Emilijus Grasys)

Actually, I'd use a USet for this too. I think you perhaps misinterpreted the question because it is a bit confusing.