A romantic story about Jakub, a student in the summer camp, and his teacher Klara.
Marta (Jana Brejchová) and Viktor (Vlastimil Brodský) celebrate the tenth anniversary of their wedding half-heartedly. They both think they don't suit together. While visiting Marta's friend Alena (Iva Janzurová), who just got married for the third time, they learn an interesting thing. It was a computer which selected a husband for Alena and she claims she is happy. The couple gets off after certain hesitation to a cybernetic institute, where the computer tells them that living together is a risk for them. At the same time the computer selects them ideal partners - Mrs Tuchlová, a doctor for Viktor, and Petr Karát, a music composer for Marta. By a coincidence Viktor and Marta meet wrong people.
Jana is forced to live in a foster home and always dreams about family reunion.
The bank officer Bedrich Hroch is sent by the bank director to the zoo, which asked an allocation of one and half kg of gold for a gold tooth for a hippo. During the check up of the hippo's teeth Bedrich is swallowed by the hippo. The man does not die in the hippo's guts and he chats quite happily with his frightened wife Dása. Journalist Pip Karen, his friend is also present to the dialogue and he has immediately an idea how to use this special situation. He tells to the new minister Borovec and his opponent professor Fibinger that there is a hippo in the zoo which can speak. He also tells them how to use this situation for a political propaganda.
The owner of a circus decides to swap his trained bears for trained pigs, and fires clown Cibulka. The clown gets a job at a local school, bears escape and seek him out and a school inspector comes into town.
In the Prague Old Town and the adjoining streets there is always plenty of life. Housewives shop, beggars arouse sympathy, the Salvation Army tries to put the godless on the road to salvation by hymns and sermons, and Ferdys Pistora hunts in the pockets of his fellow men and isn't even put off by the presence of an officer of the law. Ferdys sets off to burgle villa of the banker Rosenstok, but a fire breaks out in the house and Ferdys ends up saving the banker's two small children. For this he is celebrated as a hero and gets a place as an errand boy with the Rosenstoks. At home he is visited by representatives of the Salvation Army, Captain Kosterka and Terezka, with whom Ferdys instantly falls in love.
When a noted professor receives a new treatment for his heart ailment, his outlook on life changes. Despite doctor's orders, he is determined to live out his final days on his own terms and fulfill his fantasies. He saves the life of a young woman who tries to kill herself after his recovery from heart surgery in this symbolic story of a man trying to determine his own fate in his last days alive.