PHƯỚC HƯNG OJ · THỬ THÁCH THUẬT TOÁN
#SP0000208. Số ước có đúng 75 ước của giai thừa (756)
HỌC THEO LỘ TRÌNH
1 lộ trìnhBài tập thuộc lộ trình
Mục lục đề ⌄
Đang đọc
Số ước có đúng 75 ước của giai thừa (756)
756
Source: AtCoder
Version: Phuoc Hung OJ Extended
Problem Statement
For a positive integer , let be the number of its positive divisors. For example, , since the divisors of are .
A positive integer is called a 75-divisor number if it has exactly positive divisors.
Given , count the positive integers such that and .
Input
The only line contains the integer .
Output
Print the number of divisors of having exactly positive divisors.
Subtasks
- Subtask 1 (20 points): .
- Subtask 2 (30 points): .
- Subtask 3 (50 points): .
Examples
Input
10
Output
1
Explanation
. The divisor has positive divisors. There is no other such divisor of , so the answer is .