#include <iostream>
#include <vector>
using namespace std;
int main() {
vector <double> s;
vector <double> l;
double a,n;
while(cin>>a)
{
s.push_back(a);
}
n=s.size()/2;
for(int i=0;i<n;i++)
{
l.push_back(s.at(i));
l.push_back(s.at(i+n));
}
for(int i=0;i<l.size();i++)
{
cout<<l.at(i)<<" ";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cgl2ZWN0b3IgPGRvdWJsZT4gczsKCXZlY3RvciA8ZG91YmxlPiBsOwoJZG91YmxlIGEsbjsKCXdoaWxlKGNpbj4+YSkKCXsKCQlzLnB1c2hfYmFjayhhKTsKCX0KCW49cy5zaXplKCkvMjsKCWZvcihpbnQgaT0wO2k8bjtpKyspCgl7CgkJbC5wdXNoX2JhY2socy5hdChpKSk7CgkJbC5wdXNoX2JhY2socy5hdChpK24pKTsKCX0KCWZvcihpbnQgaT0wO2k8bC5zaXplKCk7aSsrKQoJewoJCWNvdXQ8PGwuYXQoaSk8PCIgIjsKCX0KCXJldHVybiAwOwp9