import strutils, sequtils let AP, BQ = stdin.readLine.split.map parseInt proc Abs(xy: int): int = abs(AP[xy] - BQ[xy]) echo (0.Abs + 1.Abs) / 2