import java.util.*

fun main(strs: Array<String>) {
    val scanner = Scanner(System.`in`)
    val str = scanner.next()
    val chars = str.toCharArray()
    for(i in chars.indices) {
        if (i % 2 == 0)print(chars[i])
    }
    println()
}
