problem 187 and 200