num = int(input()) #整数を入力として受ける print(f"{num:,}") #カンマ区切りで出力