num=list(map(int,input().split()))
print(min(num))