In Python, we have something like print(f\'{int(input()):,}\') that separates numbers by commas. That is for example, if we provide the input of 70671891032
print(f\'{int(input()):,}\')
70671891032