编辑代码

print(sorted(list(map(int,input().split())))[1])