The genius of mathematics Mikhail Nefedov teaches probability theory and mathematical statistics at the university. He remembers everything he has ever heard, seen or read. Mikhail learns that his teenage son has a dangerous genetic disease, the treatment of which will require a multimillion-dollar sum. After selling the apartment, Nefedov makes a perfectly calculated bet on a local football league match, but loses. He couldn't have made a mistake, which means there is an unaccounted variable in the equation. And this is an underground betting business where the results of games are rigged to extract illegal income. Mikhail calculates the organizers of the shadow business and demands his winnings from them. This is how the university teacher's war with the betting mafia begins.
Zhora, along with his parents, moves to another city, where he cannot establish relations with classmates in any way, and teachers openly find fault with him. Tired of enduring total injustice, Zhora decides to fight it, and in a non-standard way: a student puts a helmet with a camera mounted on his head and begins broadcasting everything he sees at home and at school to the Internet.
Zakhar is the head of a big family who spent all his life living in a village in a private house. He is also the only one who refused to sell the land for the construction of a new residential complex. After all, not only his right to private property but also his happy memories are under threat: the old forest he knew since he was little was cut down, and the pond where he used to fish with his father was drained. Moreover, his grandson fell in love with the developer's daughter! While life seems to fall completely apart, Zakhar, together with his family, decides to stand his ground to the very end against urban developers, dissatisfied tenants of the newly built high-rise, and total injustice.