dp for exam time 7