def minimum(num_1, num_2, num_3):
    result = min(num_1, num_2, num_3)
    return result


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

print(minimum(number_1, number_2, number_3))
