using System;
class URI
{
public static void Main(string[] args)
{
if (!long.TryParse(Console.ReadLine(), out long N) || N <= 0)
{
return;
}
long sumatoria = 0;
long cantidad = 0;
for (long i = 1; i * i <= N; i++)
{
if (N % i == 0)
{
sumatoria += i;
cantidad++;
long pareja = N / i;
if (pareja != i)
{
sumatoria += pareja;
cantidad++;
}
}
}
Console.WriteLine($"{cantidad} {sumatoria}");
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: