Python single-line solutions

visit shbcf.ru