object Main {
    def main(args: Array[String]): Unit = {
        val num: Int = 1234
        println("0%o 0X%x".format(num, num).toUpperCase)
    }
}