timus; solve "Isenbaev's Number" from Volume 9