#include <iostream>
#include <cmath>
#include <cstdint>
#include <numeric>
bool IsJoint(std::uintmax_t a, std::uintmax_t n) {
if (std::gcd(a, n) != 1) return false;
return ((std::uintmax_t)std::pow(a,n) % (a % n))!=0;
}
bool section2(std::uintmax_t N,double r,double e) {
double Ne = std::pow((double)N, std::exp(e));
double Or = std::fmod(1, r);
if (std::fmod(Ne, Or) != 0) return false;
return Ne>4*std::log2(N);
}
bool Section3(double a, double n, double r) {
if((a<=r)&&((1<a)&&(a<n))
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CiNpbmNsdWRlIDxjc3RkaW50PgojaW5jbHVkZSA8bnVtZXJpYz4KCmJvb2wgSXNKb2ludChzdGQ6OnVpbnRtYXhfdCBhLCBzdGQ6OnVpbnRtYXhfdCBuKSB7CgoJaWYgKHN0ZDo6Z2NkKGEsIG4pICE9IDEpIHJldHVybiBmYWxzZTsKCglyZXR1cm4gKChzdGQ6OnVpbnRtYXhfdClzdGQ6OnBvdyhhLG4pICUgKGEgJSBuKSkhPTA7Cgp9Cgpib29sIHNlY3Rpb24yKHN0ZDo6dWludG1heF90IE4sZG91YmxlIHIsZG91YmxlIGUpIHsKCWRvdWJsZSBOZSA9IHN0ZDo6cG93KChkb3VibGUpTiwgc3RkOjpleHAoZSkpOwoJZG91YmxlIE9yID0gc3RkOjpmbW9kKDEsIHIpOwoKCWlmIChzdGQ6OmZtb2QoTmUsIE9yKSAhPSAwKSByZXR1cm4gZmFsc2U7CgoJcmV0dXJuIE5lPjQqc3RkOjpsb2cyKE4pOwp9Cgpib29sIFNlY3Rpb24zKGRvdWJsZSBhLCBkb3VibGUgbiwgZG91YmxlIHIpIHsKCWlmKChhPD1yKSYmKCgxPGEpJiYoYTxuKSkKfQ==