Hard dp

STANDARD - 148,880   GOLD - 17,186

BEST 1 HOUR DP COMPILATION!