import java.util.*
fun main(args: Array<String>) {
    val words = readLine()!!.split(" ").map { it.toString() }
    val string = words.map { it ->
        it.first().toUpperCase()
     }
    val str = string.joinToString("")
    println(str)
}