little bit of dp

dp