#abc092b. [abc092_b]Chocolate

[abc092_b]Chocolate

NN 个人,第 ii 个人会在第 1,Ai+1,2Ai+11,A_i+1,2A_i+1 这三天各吃一块巧克力。在第 DD 天剩下了 XX 块巧克力,问最早有几块巧克力?