hackerrank if else solution

visit shbcf.ru