fun main() {
  val n = readLine()!!.toInt()
  val d = 2 * n
  var l = 1
  var r = n + 1
  val a = IntArray(n)
  for (i in 0 until n) {
    a[i] = 1 + i
  }
  println("? " + a.joinToString(" "))
  System.out.flush()
  val f = readLine()!!
  while (r - l > 1) {
    val m = (l + r) / 2
    for (i in 0 until n) {
      a[i] = m + i
    }
    println("? " + a.joinToString(" "))
    System.out.flush()
    if (f == readLine()!!) {
      l = m
    } else {
      r = m
    }
  }
  var c = "! "
  for (i in 1..d) {
    val fi = when {
      i == l -> f
      i == l + n -> if (f == "Red") "Blue" else "Red"
      i in l + 1 until l + n -> {
        a[0] = i
        for (j in 1 until n) {
          a[j] = if (n + l + j > d) -n + l + j else n + l + j
        }
        println("? " + a.joinToString(" "))
        System.out.flush()
        readLine()!!
      }
      else -> {
        a[0] = i
        for (j in 1 until n) {
          a[j] = l + j
        }
        println("? " + a.joinToString(" "))
        System.out.flush()
        readLine()!!
      }
    }
    c += fi[0]
  }
  println(c)
  System.out.flush()
}