Some people were clearly working on the differences between each pair of transactions i.e.
He pays 60 then gets 70, difference is +10.
Then he pays 80 difference is -10 which cancels out the +10 <<=== This is where it goes wrong
Then he gets 90, difference is +10.
but you can figure out that it is wrong simply by adding up the total amount paid out and the total amount paid in, they are 140 and 160 respectively.