fun main(){println(String.format("%,d", readLine()!!.toLong()))}