prob3&prob4