var q,s,i:integer;begin repeat read(q);s:=0;for i:=1to q do s:=s+ord(q mod i=0)*i;writeln(q,": ",s)until 0=1end.