ACCUMULATOR

Code:

Input:

Output: