def czy_pierwsza(n):
d = 2
while d * d <= n:
if n % d == 0:
return False
d += 1
return True
print (czy_pierwsza(11))
print (czy_pierwsza(99))
ZGVmIGN6eV9waWVyd3N6YShuKToKCWQgPSAyCgl3aGlsZSBkICogZCA8PSBuOgoJCWlmIG4gJSBkID09IDA6CgkJCXJldHVybiBGYWxzZQoJCWQgKz0gMQoJcmV0dXJuIFRydWUKCnByaW50IChjenlfcGllcndzemEoMTEpKQpwcmludCAoY3p5X3BpZXJ3c3phKDk5KSk=