import java.util.*;
import java.lang.*;
import java.io.*;
import java.math.BigInteger;
// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        BigInteger x = BigInteger.ONE;
        BigInteger MOD = BigInteger.valueOf(1_000_000_007);
        for (int i = 0; i < 10_000_000; i++) {
            x = x.multiply(x).add(BigInteger.ONE).mod(MOD);
        }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: