import strscans let (_, a, b) = stdin.readAll.scanTuple"$i $i" echo (a or b) - (a and b)