Rewrite the writers shown in Segment 394 such that they return 1 if the new value is different from the old value, and return 0 otherwise.
1
0