Hack Bulgaria - Programming101-2's task for week 7