# L-16.0 MCS 260 Wed 23 Jul 2014 : sortrandnumb.py
"""
This program illustrates how to time the
sort of lists.  The optional command line
argument is the length of the list to sort.
"""
import sys
from random import gauss
# count number of arguments of command line
if len(sys.argv) < 2:
    NRAW = raw_input('Give #elements : ')
    N = int(NRAW)
else:
    N = int(sys.argv[1]) # get argument
RNG = range(0, N)
NUM = [gauss(0, 1) for i in RNG]
NUM.sort()
