A rug is something you put on the floor and would not be appropriate on top of a hat.
Pick which sentence is not logical.
Options:
(A) "a rug can be put on any type of hat."
(B) "a rug can be put on any type of floor."