Fix print in solution for 7th problem