public static String solve(  ){
		String nName = "";
		nName+=Character.toLowerCase(tmpName[0].charAt(0));
		String lastName = tmpName[tmpName.length-1];
		for (int i = 0; i < lastName.length( ); i++) {
			char act = lastName.charAt(i);
			if(Character.isLetter(act))
				nName+=Character.toLowerCase(act);
		}
		if( nName.length() > max )
			nName = nName.substring(0, max);

		if( !names.contains( nName ) ){
			names.add( nName );
			return nName;
		}else{
			String copyName = nName;
			boolean exista = true;
			int num = 1;
			String numTam = "1";
			while ( exista && num < 10) {
				if( nName.length() == max )
					nName = copyName.substring(0, max-numTam.length());
				else
					nName = copyName;
				nName += (num+"");
				num++;
				numTam = num+"";
				exista = names.contains(nName);
			}
			while ( exista ) {
				if( nName.length() == max )
					nName = copyName.substring(0, max-numTam.length());
				else
					nName = copyName;
				nName += (num+"");
				num++;
				numTam = num+"";
				exista = names.contains(nName);
			}
			names.add( nName );
			return nName;
		}
	}