https://tproger.ru/articles/zadacha-ot-tprogera--na-procenty