Type: Default 1000ms 256MiB

n的等级

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

人类可以求出一个数的约数。

人类可以求出一个数约数的约数。

人类可以求出一个数约数的约数的约数.

……

但人类不能求出一个数约数的约数的约数的约数的……的约数。

Description

一个数的 G\text G 约数,及这个数不包含 11 和本身外的所有约数。

假如我们给出一个数 nn3232,那么我们称 3232 的等级为 55

为什么呢?请看下图

image

  • 3232G\text G 约数有 2,4,8,162, 4, 8, 16
  • 1616G\text G 约数有 2,4,82, 4, 8
  • 88G\text G 约数有 2,42,4
  • 4的 G\text G 约数有 22

因此,把这张图看成一棵树,每一个子节点都是它父节点的 G\text G 约数,而根节点的等级就是这棵树的深度。

Format

Input

11 个整数 nn,表示由它画出一棵树的深度。

Output

一行,表示 nn 的等级。

Samples

18
3

image

Limitation

1n7×1071 \leq n \leq 7 \times 10^7

信念

Not Attended
Status
Done
Rule
Ledo
Problem
6
Start at
2023-1-2 21:15
End at
2023-12-31 23:15
Duration
8714 hour(s)
Host
Partic.
14