Adding Commas
题号:NC24754
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 32 M,其他语言64 M
64bit IO Format: %lld

题目描述

Bessie is working with large numbers N (1 <= N <= 2,000,000,000) like 153920529 and realizes that the numbers would be a lot easier to read with commas inserted every three digits (as is normally done in the USA; some countries prefer to use periods every three digits). Thus, she would like to add commas: 153,920,529 . Please write a program that does this.

输入描述:

* Line 1: A single integer: N

输出描述:

* Line 1: The integer N with commas inserted before each set of three digits except the first digits (as traditionally done in many cultures)
示例1

输入

复制
153920529

输出

复制
153,920,529