Đố vui chào mừng đến Huế

View as PDF

Submit solution

Points: 1.00
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Author:
Problem type

Cho số nguyên dương ~n > 1~, tìm số mũ ~m~ nguyên dương lớn nhất có thể có sao cho ~n = a^m~ với ~a~ là số nguyên dương nào đó.

Input

Một giá trị ~n~ duy nhất với ~2 \le n \le 10^{18}.~

Output

Đáp số của bài toán.

Sample input

100

Sample output

2

Comments

Please read the guidelines before commenting.


There are no comments at the moment.