We are experiencing a disruption with email delivery. If you are not receiving emails from us, please try after 8am EST.
x
duahaucool
Scratcher
Joined 2 years, 7 months ago
Vietnam
About me
n=int(input()) dem=0 tong=0 for i in range(1, int(n**0.5) +1): if n%i==0: if i<n//i: dem+=2 tong+= i+n//i else: dem+=1 tong+= i print(dem,tong, end=" ")