import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { static int[] S; static int[] T; static int[] Y; static int[] M; static int[][] dp; static final int INF = Integer.MAX_VALUE/2; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); List list = new ArrayList<>(); if (N == 1) { list.add(1); } else { int x = N; for (int i=2; i*i<=N; i++) { int cnt = 0; while (x%i==0) { cnt++; x/=i; } if (cnt!=0) { list.add(cnt); } } if (x!=1) { list.add(1); } } int tmp = 0; for (int i=0; i