시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 30 21 18 78.261%

문제

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)

 

예제 입력

153920529

예제 출력

153,920,529

힌트