x,y,z =map(int, input().split(" ")) print(min(x, y, z))