Tasks from hackerrank