Maximize number from given integers using following operations
Given positive integers N, A, B and C such that 1 ⤠C < N. The task is to maximize the value of B by performing the following operations: A can be incremented by 1 by decreasing 1 from N.Increase the value of B by B + A by subtracting C from N, The above operations can be performed till N ⤠0. Ex