problem 1196 on scala