Four Legs, Two Legs, Three Legs

It walks on four legs in the morning, two legs in the afternoon and three legs at night. What is it?


Man. He crawls on all fours as a baby, then walks on two feet as an adult and then walks with a walking stick (third leg) as an old man.