5 10 7 -3 undo 1 4 3 -9 5 undo 2 undo 1 6