public int bitsNeedToConvert(int A, int B){
		//XOR A and B to get a new integer.
		//Whatever bits of 1 in this integer is the return value.
		int C = A ^ B;
		int count = 0;
		
		for(int i=0;i<32;i++){
			if((C & (1 << i)) > 0){
				count ++;
			}
		}
		
		return count;
	}