def smallest_of_three(number1, number2, number3):
    min_num = min(number_1, number_2, number_3)
    return min_num


number_1 = int(input())
number_2 = int(input())
number_3 = int(input())

print(smallest_of_three(number_1, number_2, number_3))