title: How to split a Kotlin flow into 2 flows?
body: <p>I am trying to learn coroutines and i am still having some basic issues. 
  I have a flow that emits a sequence of items and i want to split the stream into 2 flows. This is how i would write it in RxJava:</p>
  
  <pre><code>    val list = Flowable.just(1..6).share()
      val even = list.filter { it % 2 == 0 }.subscribe { println(it) } // 2, 4, 6
      val odd = list.filter { it % 2 == 1 }.subscribe { println(it) } // 1, 3, 5
  </code></pre>
  
  <p>How can i replicate this with Kotlin coroutine flows ? Thanks in advance.</p>