import strscans let (_, a, c) = stdin.readAll.scanTuple"$i $i" echo a xor c