HackerRank Day 5: Arrow Functions problem solution - TheCScience