DP_type

Prefix sums and Modulo operation