a, b, c= map(int, input().split()) if a == b == c: print(a) elif a< b and a < c: print(a) elif b < c: print(b) else: print(c)