fun main(args: Array<String>) {
    abc048a()
}

fun abc048a() {
    val (a, s, c) = readLine()!!.split(" ")

    val answer = a.first().toString() + s.first().toString() + c.first().toString()

    println(answer)
}
