dp for amma 7