Implement interfaces Eat, Fly, Sleep.
Implement class Bird that implements interfaces Eat, Fly, Sleep.
Each line contains one of the bird's action: fly, eat or sleep.
For each bird's action print in a separate line the corresponding output.