https://dropcode.ru/thread/kak-naiti-maksimal-noe-chislo-v-java