import sequtils, strutils let p, q = stdin.readLine.split.map parseInt d = abs(p[0] - q[0]) + abs(p[1] - q[1]) echo d.toFloat / 2