Hacker Rank Solutions In Python