X, Y, Z = map(int, input().split()) if X<=Y and X<=Z: print(X) elif Y<=Z: print(Y) else: print(Z)