n = int(input()) # カンマ区切りで出力する print(f"{n:,}")