using C=System.Console;class G{static void Main(){string s=C.ReadLine();for(int i=0;;i+=2)C.Write(s[i]);}}