Added problem6.