eolymp
bolt
Try our new interface for solving problems
Problems

Hometask

Hometask

Kolya is still trying to pass a test on Numbers Theory. The lecturer is so desperate about Kolya's knowledge that she gives him the same task every time. The problem is to check if $n!$ is divisible by $n^2$. \InputFile One integer $n~(1 \le n \le 10^9)$. \OutputFile Print "\textbf{YES}" if $n!$ is divisible by $n^2$, otherwise print "\textbf{NO}".
Time limit 1 second
Memory limit 128 MiB
Input example #1
3
Output example #1
NO
Source 2010 ACM NEERC Moscow Subregional, October 24, Problem H