prob 1 solved