Solution for HackerRank