date

1

2

3

4

5

6

input

value

7

6

4

3

2

1

cumulative

7

13

17

20

22

23

output

value

1

2

3

4

6

7

cumulative

1

3

6

10

16

23

“ryudousu”

0

6

10

11

10

6

0/43