Problem6 - solved