Problem 007 with my solution had a problem. It was returning a wrong
answer. I found a way to solve this problem again with correct result.