1-st Problem solution