返回输入数组中最小值即可。

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