hard core dp

.