Help me to solve the problem