The central character is Captain Makar Klimov, a police officer. The main hero is forced to leave Moscow and goes to a seaside town, supposedly because of secret relations with the wife of a big boss from Petrovka. Makar finds refuge on the coast, but he doesn't have time to enjoy the idyllic scenery. Immediately upon arrival, he gets involved in crime. Makar plans to expose the local drug dealers and smugglers. His loyal dog, named Bim, helps his owner.