import std.stdio;void main(){foreach(i,c;readln)i&1||write(c);}