public static ModInt Pow(ModInt value, long k) { return(Pow(value.value_, k)); }
public static ModInt Inverse(ModInt value) { return(Pow(value, P - 2)); }