Hacker rank list comprehension solution

visit shbcf.ru