Define N 1000