#include <iostream>
#include <vector>
using namespace std;
int main()
{
vector <int> a;
int b;
while (cin>>b)
{
a.push_back(b);
}
for (int i = 0; i<a.size()/2; i++)
{
cout<<a[i] + a[a.size()-i-1]<<" ";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7Cgl2ZWN0b3IgPGludD4gYTsKCWludCBiOwoJd2hpbGUgKGNpbj4+YikKCXsKCQlhLnB1c2hfYmFjayhiKTsKCX0KCWZvciAoaW50IGkgPSAwOyBpPGEuc2l6ZSgpLzI7IGkrKykKCXsKCQljb3V0PDxhW2ldICsgYVthLnNpemUoKS1pLTFdPDwiICI7Cgl9CglyZXR1cm4gMDsKfQ==