HackerRank Day 2: Operators problem solution - TheCScience