hackerrank min max riddle problem solution

visit shbcf.ru