Remove an occurrence of x and an occurrence of 2 * x
m . set ( A [ i ] , m . get ( A [ i ] ) - 1 ) ; m . set ( 2 * A [ i ] , m . get ( 2 * A [ i ] ) - 1 ) ; } } if ( count == n ) return " " ; else return " " ; }