''' No.2014 Eggs Hatching ''' a1, a2, a3 = map(int, input().split()) list_a = [a1, a2, a3] print(min(list_a))