title: Compose maps using key and value in Kotlin
body: <p>I have two maps and I want to merge using some rules</p>
  <pre><code>val a = mapOf(1 to 101, 2 to 102, 3 to 103)
  val b = mapOf(101 to &quot;a&quot;, 102 to &quot;b&quot;, 103 to &quot;c&quot;)
  </code></pre>
  <p>is there a way to merge using values for <strong>a</strong> and key for <strong>b</strong></p>
  <pre><code>val result = mapOf(1 to &quot;A&quot;, 2 to &quot;b&quot;, 3 to &quot;c&quot;)
  </code></pre>