import math, strscans var (_, a, b) = stdin.readLine.scanTuple "$f $f" echo: if a == b: (a^2 + b^2).sqrt else: (a^2 - b^2).abs.sqrt