import java.util.Scanner

fun main(args: Array<String>) {
  val cin = Scanner(System.`in`)
  val str = cin.next()
  val m = str.length - 1

  for (i in 0..m step 2) {
    print(str[i])
  }
  println("")

  cin.close()
}