hacker-rank: tasks 1-4