// Output a random instance of TSP, of size N (on command line)
import java.util.Random;

public class RandTSP
{
    public static void main(String[] args)
    {
        final int side = 500;
        int N = 2000;
        Random gen = new Random();
        if (args.length > 0)
            N = Integer.parseInt(args[0]);
        if (args.length > 1)
            gen = new Random(Long.parseLong(args[1]));

        System.out.printf("%d %d%n", side, side);
        for (int i=0; i<N; ++i)
            System.out.printf("%.6f %.6f%n",
                              side*gen.nextDouble(),
                              side*gen.nextDouble());
    }
}

