Дано число N. Найти число из диапазона от 1 до N с максимальной суммой
делителей (включая непростые делители, 1 и само число). Если таких чисел
несколько, выведите любое из них.
Пример ввода
5
Пример вывода
4
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling
miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.