title: Return a subset of integers that maximizes its (mean - median)
body: <p>A set of integers is given as input .You have to return subset of that set so that value of mean - median is maximum for that subset.</p>
  
  <h1>Example 1</h1>
  
  <h2>Input</h2>
  
  <pre><code>{1,2,3,4} 
  </code></pre>
  
  <h2>Output</h2>
  
  <pre><code>{1,2,4}
  </code></pre>
  
  <h1>Example 2</h1>
  
  <h2>Input</h2>
  
  <pre><code>{1,2,2,3,3}
  </code></pre>
  
  <h2>Output</h2>
  
  <pre><code>{2,2,3}
  </code></pre>