while True:n=input();print "%d: %d"%(n,sum((i for i in xrange(1,n/2+1)if n%i==0))+n)\x0d

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top