using System;
public class Program
{
public static void Main()
//Write a C# program to find all prime factors of a number.
//Enter a number : 10
//Expected Output :
//The prime factors of 10 are 2, 5
int a, b;
Console.WriteLine("ENTER A NUMBER ");
a = int.Parse(Console.ReadLine());
for (b = 1; b <= a; b++)
if (a % b == 0)
Console.WriteLine(b);
}