#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
#include<cmath>
using namespace std ;
typedef unsigned long long ull ;
typedef long long ll ;
ll gcd( ll a, ll b){
if(!b)
return a ;
return gcd(b , a% b) ;
}
ll extgcd(ll a , ll b, ll& x , ll& y){
if(!b){
x =
1 ;
y =
0 ;
return a ;
}
ll d = extgcd(b , a%b, y , x) ;
y -= (a/b)*x ;
return d ;
}
ll mod_reverse( ll a, ll n){
ll x , y ;
ll d = extgcd( a , n , x , y) ;
if( d ==
1)
return ( x%n + n) %n ;
return -
1 ;
}
const int maxn =
1e5 ;
bool notprime[maxn] ;
ll prime[maxn] ;
void getprime(){
memset(notprime ,
false ,
sizeof(notprime)) ;
prime[
0] =
0 ;
for(
int i =
2 ;i< maxn ;i ++){
if( !notprime[i]) prime[ ++prime[
0]] = i ;
for(
int j =
2 ; j *i < maxn ; j ++)
notprime [ i *j ] =
true ;
}
}
ll qmod( ll x , ll n , ll mod){
ll res =
1 ;
while(n>
0 ){
if(n&
1)res = res* x %mod ;
x = x *x %mod ;
n>>=
1 ;
}
return res ;
}
int main(){
return 0 ;
}