static public void EnterX() { do { PrintLog($"Введите x (x < {p}): ", false); x = Convert.ToInt32(Console.ReadLine()); }while (!(ELGAmal.IsPrimeNumber(x) && (x < p))); }
static public void EnterG() { do { PrintLog($"Введите g (g < {p}): ", false); g = Convert.ToInt32(Console.ReadLine()); }while (!(ELGAmal.IsPrimeNumber(g) && (g < p))); }