import strutils, sequtils proc input(): (int, int) = let v = stdin.readLine.split.map(parseInt) (v[0], v[1]) let (a, b) = input() echo((a or b) - (a and b))