#! /usr/bin/python
#
# Generate some random points, with numeric labels, in R^2.
#
import sys
import random
random.seed()
if len(sys.argv) != 2:
    sys.stdout.write('usage: make-random-points.py NUM-POINTS > OUTFILE\n')
    sys.exit(1)
numpoints = int(sys.argv[1])
print "# label x y"
for i in range(1, numpoints+1):
    x = random.randrange(1000)
    y = random.randrange(1000)
    print i, x, y
