import java.util.*

fun main(args: Array<String>) {
    val sc = Scanner(System.`in`)
    val s = sc.nextLine()
    var target = ""
    for ((index,value) in s.toCharArray().withIndex()) {
        if (index % 2 == 0) target += value
    }
    println(target)
}
