
import random
import time

N = 100

######### timer function #################################
def print_timing(func):
	def wrapper(*arg):
		t1 = time.clock()
		res = func(*arg)
		t2 = time.clock()
		print '%s took %0.3fms' % (func.func_name, (t2-t1)*1000.0)
		return res
	return wrapper


########## your function(s) here ########################


#@print_timing
#def plateau(a,n):
#       ...blah...blah
#	#assert: a[i..i+ilen-1] is the longest plateau in a[0..n-1]
#	return (i,ilen)



############# Main ################
list = []

i = 0
while (i < N):
	list.append(random.randint(0,N-1))
	i = i+1

print list1
(i,ilen) = plateau(list,N)
print i,ilen
