1. 5
  1.  

  2. 2

    Reminds me of StackSort.