Hackerrank Answers For Python 3