Hard dp

STANDARD - 148,146   GOLD - 5,380