n = input() m = int(n) print("{:,}".format(m))