History: a b c d undo 1, current value: c undo 2, current value: b undo 3, current value: a $x is: a