import strscans let (_, a, b, c) = stdin.readAll.scanTuple"$i $i $i" x = (a * b + a * c + b * c) * 2 y = a * b * c if x > y: echo 2 else: echo 3