import java.util.*;
public class Main
{
public static void main(String[] args)
{
int n;
int d = 2;
System.out.print("Enter the number: ");
n = Integer.parseInt(new Scanner(System.in).nextLine());
while (n > 1)
{
while (n % d == 0)
{
System.out.print(d);
System.out.print(" · ");
n = n / d;
}
d++;
}
System.out.print(1);
}
}