Task #6 for Vashurov & Stepin