public static int calculateRecicledPairs(String myLine) {
		String[] split = myLine.split(" ");
		int a = Integer.parseInt(split[0]);
		int b = Integer.parseInt(split[1]);
		int bDigits = String.valueOf(b).length();
		int pairsFounds = 0;
		Set<String> mySet = null;
		for (int n = a; n < b; n++) {
			mySet = new HashSet<String>();
			for (int j=1; j<bDigits; j++){
				/* if i=1 --> 119 -> 911 */ 
				/* if i=2 --> 119 -> 191 */ 
				int m = n%(int)(Math.pow(10,j));
				m *= Math.pow(10,(bDigits-j));
				m += n/Math.pow(10,j);
				if (n<m && m<=b && bDigits==String.valueOf(m).length()){
					String myStr = String.valueOf(n) + String.valueOf(m);
					if (!mySet.contains(myStr)) {
						pairsFounds++;
						mySet.add(myStr);						
					}
				}
			}
		}
		return pairsFounds;
	}