Solution for the Problem 104