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))
ZGVmIGN6eV9waWVyd3N6YShuKToKCWQgPSAyCgl3aGlsZSBkICogZCA8PSBuOgoJCWlmIG4gJSBkID09IDA6CgkJCXJldHVybiBGYWxzZSAKCQlkKz0xIAoJcmV0dXJuIFRydWUKcHJpbnQgKGN6eV9waWVyd3N6YSgxMSkpCnByaW50IChjenlfcGllcndzemEoOTkpKQ==