Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Formatted Numbers

Limits 1s, 512 MB

Read an integer variable and print it in which the digits are separated into groups of three by commas.

Input

The input will contain an integer A (0 ≤ A < 200000000).

Output

Print the formatted number.

Sample

InputOutput
1171123
1,171,123


Discussion
Statistics

72% Solution Ratio

allocophobiaEarliest, Nov '18

allocophobiaFastest, 0.0s

asfaklus2Lightest, 0 B

x20x20Shortest, 23B

Submit

Login to submit