class Problem0784: def solve(this): n = int(input()) print("{:,}".format(n)) if __name__ == "__main__": problem = Problem0784() problem.solve()