import java.util.Arrays;

public class Test2 {
    public static Double d;

    static Long[] arr = new Long[500];

    public static double test() {
        long x = 0;
        for (int i = 0; i < 1000; i++) {
            for (int j = 0; j < 1000; j++) {
                if (!Arrays.equals(arr, arr)) {
                    for (int k = 0; k < 1000; k++) {
                        for (int l = 0; l < 1000; ++l) {
                            x -= (j - k) * x;
                            for (int m = 0; m < 1000; m++) {
                                x += x;
                                x += x - (x - arr[i]);
                            }
                        }
                        d = 0.0d;
                    }
                }
            }
        }
        return x;
    }

    public static void main(String[] args) {
        for (int i = 0; i < 400; ++i) {
            test ();
        }

    }
}
