C++ def authentication (n): A=list(range(1,n+1)) | Codeforces solution
C++
def authentication (n):
A=list(range(1,n+1))
i=2
While i
A= A[j for j in range(len(A)) if j%i !=0]
i+=1
return ("Yes" if len(A)>0 else "No")
print(authentication(int(input()))
Python3
strong number
Telegram - t.me/getcode1