#include using lint=long long; using real=long double; int main(){ std::cin.tie(nullptr);std::ios_base::sync_with_stdio(false); std::cout.setf(std::ios_base::fixed);std::cout.precision(15); lint p,q,a;std::cin>>p>>q>>a; lint inf=1'000'000'000; lint l=p<=q?(p