"""def nfact(n):
	nfac = 0
	sqrtn = n**(0.5)
	for i in range(1,int(sqrtn)):
		if n%i==0:
			nfac+=1
		if int(sqrtn)==sqrtn:
			return 2*nfac-1
		else: return 2*nfac
number=1
while(nfact(number)<=300):
	if nfact(number+1)>300:
		print number+1
	number+=1""" #Taking a lot of time



