import scala.io.StdIn

object Main extends App {
  val out = new java.io.PrintWriter(System.out)

  val s = StdIn.readLine.toCharArray
  for(i <- 0 until s.length by 2) {
    out.print(s(i))
  }

  out.println
  out.flush
}