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