RIDDLES ABOUT CLOTHES AND OTHER THINGS

What am I? (A hat.) When you come in, you take it off, but when you go out, you put it on. It is long and is hung on a peg near the door. (A coat.) Two little boats without any sails, With ten passengers on board. They do not go on the river or sea, But travel on dry land. All day boats pass to and fro, But at night they are both empty. (Shoes.) ................
................