n = int(input()) str = '{:,}'.format(n) print(str)