import java.util.Scanner

object Main {
  def main(args:Array[String]): Unit = {
    val sc = new Scanner(System.in)
    val words = sc.nextLine().split(" ")

    println(Array(words(0)(0).toUpper,  words(1)(0).toUpper, words(2)(0).toUpper).mkString(",").replaceAll(",", ""))
  }
}