from sys import stdin def main(): N = int(input()) print('{:,}'.format(N)) input = lambda: stdin.readline() main()