using System;
public class Program
{
public static void Main()
int j =0;
int a = Convert.ToInt32(Console.ReadLine());
int[] ab = new int[a];
for(int i = 1 ; i <= a ; i++)
if (a%i == 0)
ab[j]=i;
j++;
}
Console.Write("Divisors are ");
foreach(int gh in ab)
if(gh==0)
return;
Console.Write("{0}, ",gh);