Here is a table which looks as below :
Start Value = 30
id value 1 -3 2 -2 3 8
I need to compute the below u