while~0:s=input().split();[b+c in s==print(a+2*b+2*c+d)for a,b in s for c,d in s]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page