object Main {
  def main(args: Array[String]): Unit = {
    import scala.io.StdIn.readLine
    val iobuf = readLine.split(" ").head.split("").filterNot(_ == "").zipWithIndex.filter(_._2 % 2 == 0).map(_._1).mkString
    println(iobuf)
  }
}
