n=int(input())
print('{:,}'.format(n))#千位分隔符-如果位数不足千位分隔符是不显示的