object Main extends App {
  val s: String = io.StdIn.readLine()
  val inds: Seq[Int] = Seq.range(1, s.length+1).filter(_ % 2 == 1)
  val ret: Seq[Char] = for (i <- inds) yield s.charAt(i-1)
  println(ret.mkString)
}