Add a solution to the problem 76 (by analogy with the problem 31)
Same algorithm, but more compact
Minor optimization
Minor optimization