while 1:x=input();print`x`+":",sum([y for y in range(1,x+1)if x%y<1])