import sequtils, strutils var a, b, c : int (a, b, c) = stdin.readLine.split.map parseInt echo [a, b, c].min