x = int(input())
y = int(input())
z = int(input())

if x < y and x < z :
    smallest = x
if y < x and y < z :
    smallest = y
if z < x and z < y :
    smallest = z

print(smallest)
    




# Given three integers, print the least of them.
