Solved Problem 2.Prime1