public static long[] getFactors(long n){
		ArrayList<Long> factors = new ArrayList<Long>();
		
		for(int i=2;i<Math.sqrt(n);i++){
			if(n%i==0){
				factors.add((long)i);
				factors.add((long)n/i);
			}
		}
		long[] factorsArr = new long[factors.size()];
		for(int i=0;i<factors.size();i++){
			factorsArr[i] =  (long) factors.get(i) ;
		}
		return factorsArr;
		
	}