Added problem 29.
Just brute force