package codeforces.vk2022.round1

fun main() {
	val (n, qIn) = readInts()
	val pOpenClose = qIn / 10_000.toModular()
	val one = 1.toModular()
	val pCloseOpen = one - pOpenClose

	val cnk = List(n + 1) { i -> Array(i + 1) { one } }
	for (i in cnk.indices) {
		for (j in 1 until i) {
			cnk[i][j] = cnk[i - 1][j - 1] + cnk[i - 1][j]
		}
	}

	val fact2 = Array(n + 1) { one }
	fun fact2(i: Int) = fact2[i]
	for (i in 1..n) {
		fact2[i] = ((2 * i - 1) * fact2(i - 1))
	}
	val pPaired = List(n + 1) { i -> Array(i) { one } }
	for (i in 0..n) {
		for (k in 0 until i) {
			val kk = i - 1 - k
			pPaired[i][k] = ((cnk[i][k + 1] * fact2(k) * fact2(kk)) / fact2(i))
		}
	}

	val pAtLeast = List(n + 1) { i -> Array(i) { one } }
	fun pAtLeast(i: Int, j: Int): Modular {
		if (j >= i) return one
		return pAtLeast[i][j]
	}
	for (i in 0..n) {
		for (j in 0 until i) {
			if (i + j > n) continue
			var pij = 0.toModular()
			for (k in 0 until i) {
				val kk = i - 1 - k
				var pBalance = pAtLeast(k, j + 1) * pOpenClose
				if (j >= 1) {
					pBalance = (pAtLeast(k, j - 1) * pCloseOpen) + pBalance
				}
				pij = pPaired[i][k] * pAtLeast(kk, j) * pBalance + pij
			}
			pAtLeast[i][j] = pij
		}
	}
	println(pAtLeast(n, 0))
}

//private fun Int.toModular() = toDouble(); typealias Modular = Double
private fun Int.toModular() = Modular(this)//toDouble()
private class Modular {
	companion object {
		const val M = 998244353
	}
	val x: Int
	@Suppress("ConvertSecondaryConstructorToPrimary")
	constructor(value: Int) { x = (value % M).let { if (it < 0) it + M else it } }
	operator fun plus(that: Modular) = Modular((x + that.x) % M)
	operator fun minus(that: Modular) = Modular((x + M - that.x) % M)
	operator fun times(that: Modular) = (x.toLong() * that.x % M).toInt().toModular()
	private fun modInverse() = Modular(x.toBigInteger().modInverse(M.toBigInteger()).toInt())
	operator fun div(that: Modular) = times(that.modInverse())
	override fun toString() = x.toString()
}
private operator fun Int.plus(that: Modular) = Modular(this) + that
private operator fun Int.minus(that: Modular) = Modular(this) - that
private operator fun Int.times(that: Modular) = Modular(this) * that
private operator fun Int.div(that: Modular) = Modular(this) / that

private fun readStrings() = readln().split(" ")
private fun readInts() = readStrings().map { it.toInt() }

Compiled from "f.kt"
public final class codeforces.vk2022.round1.FKt {
  public static final void main();
    Code:
       0: invokestatic  #10                 // Method readInts:()Ljava/util/List;
       3: astore_0
       4: aload_0
       5: iconst_0
       6: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
      11: checkcast     #18                 // class java/lang/Number
      14: invokevirtual #22                 // Method java/lang/Number.intValue:()I
      17: istore_1
      18: aload_0
      19: iconst_1
      20: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
      25: checkcast     #18                 // class java/lang/Number
      28: invokevirtual #22                 // Method java/lang/Number.intValue:()I
      31: istore_2
      32: iload_2
      33: sipush        10000
      36: invokestatic  #26                 // Method toModular:(I)Lcodeforces/vk2022/round1/Modular;
      39: invokestatic  #30                 // Method div:(ILcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
      42: astore_3
      43: iconst_1
      44: invokestatic  #26                 // Method toModular:(I)Lcodeforces/vk2022/round1/Modular;
      47: astore        4
      49: aload         4
      51: aload_3
      52: invokevirtual #36                 // Method codeforces/vk2022/round1/Modular.minus:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
      55: astore        5
      57: iload_1
      58: iconst_1
      59: iadd
      60: istore        7
      62: new           #38                 // class java/util/ArrayList
      65: dup
      66: iload         7
      68: invokespecial #42                 // Method java/util/ArrayList."<init>":(I)V
      71: astore        8
      73: iconst_0
      74: istore        9
      76: iload         9
      78: iload         7
      80: if_icmpge     153
      83: iload         9
      85: istore        10
      87: aload         8
      89: iload         10
      91: istore        11
      93: astore        19
      95: iconst_0
      96: istore        12
      98: iconst_0
      99: istore        13
     101: iload         11
     103: iconst_1
     104: iadd
     105: istore        14
     107: iload         14
     109: anewarray     #32                 // class codeforces/vk2022/round1/Modular
     112: astore        15
     114: iload         13
     116: iload         14
     118: if_icmpge     138
     121: iload         13
     123: istore        16
     125: aload         15
     127: iload         16
     129: aload         4
     131: aastore
     132: iinc          13, 1
     135: goto          114
     138: aload         15
     140: aload         19
     142: swap
     143: invokevirtual #46                 // Method java/util/ArrayList.add:(Ljava/lang/Object;)Z
     146: pop
     147: iinc          9, 1
     150: goto          76
     153: aload         8
     155: checkcast     #12                 // class java/util/List
     158: astore        6
     160: iconst_0
     161: istore        7
     163: aload         6
     165: checkcast     #48                 // class java/util/Collection
     168: invokeinterface #51,  1           // InterfaceMethod java/util/Collection.size:()I
     173: istore        8
     175: iload         7
     177: iload         8
     179: if_icmpge     258
     182: iconst_1
     183: istore        9
     185: iload         9
     187: iload         7
     189: if_icmpge     252
     192: aload         6
     194: iload         7
     196: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     201: checkcast     #53                 // class "[Lcodeforces/vk2022/round1/Modular;"
     204: iload         9
     206: aload         6
     208: iload         7
     210: iconst_1
     211: isub
     212: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     217: checkcast     #53                 // class "[Lcodeforces/vk2022/round1/Modular;"
     220: iload         9
     222: iconst_1
     223: isub
     224: aaload
     225: aload         6
     227: iload         7
     229: iconst_1
     230: isub
     231: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     236: checkcast     #53                 // class "[Lcodeforces/vk2022/round1/Modular;"
     239: iload         9
     241: aaload
     242: invokevirtual #56                 // Method codeforces/vk2022/round1/Modular.plus:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
     245: aastore
     246: iinc          9, 1
     249: goto          185
     252: iinc          7, 1
     255: goto          175
     258: iconst_0
     259: istore        8
     261: iload_1
     262: iconst_1
     263: iadd
     264: istore        9
     266: iload         9
     268: anewarray     #32                 // class codeforces/vk2022/round1/Modular
     271: astore        10
     273: iload         8
     275: iload         9
     277: if_icmpge     297
     280: iload         8
     282: istore        11
     284: aload         10
     286: iload         11
     288: aload         4
     290: aastore
     291: iinc          8, 1
     294: goto          273
     297: aload         10
     299: astore        7
     301: iconst_1
     302: istore        8
     304: iload         8
     306: iload_1
     307: if_icmpgt     345
     310: aload         7
     312: iload         8
     314: iconst_2
     315: iload         8
     317: imul
     318: iconst_1
     319: isub
     320: aload         7
     322: iload         8
     324: iconst_1
     325: isub
     326: invokestatic  #60                 // Method main$fact2:([Lcodeforces/vk2022/round1/Modular;I)Lcodeforces/vk2022/round1/Modular;
     329: invokestatic  #63                 // Method times:(ILcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
     332: aastore
     333: iload         8
     335: iload_1
     336: if_icmpeq     345
     339: iinc          8, 1
     342: goto          310
     345: iload_1
     346: iconst_1
     347: iadd
     348: istore        9
     350: new           #38                 // class java/util/ArrayList
     353: dup
     354: iload         9
     356: invokespecial #42                 // Method java/util/ArrayList."<init>":(I)V
     359: astore        10
     361: iconst_0
     362: istore        11
     364: iload         11
     366: iload         9
     368: if_icmpge     435
     371: iload         11
     373: istore        12
     375: aload         10
     377: iload         12
     379: istore        13
     381: astore        19
     383: iconst_0
     384: istore        14
     386: iconst_0
     387: istore        15
     389: iload         13
     391: anewarray     #32                 // class codeforces/vk2022/round1/Modular
     394: astore        16
     396: iload         15
     398: iload         13
     400: if_icmpge     420
     403: iload         15
     405: istore        17
     407: aload         16
     409: iload         17
     411: aload         4
     413: aastore
     414: iinc          15, 1
     417: goto          396
     420: aload         16
     422: aload         19
     424: swap
     425: invokevirtual #46                 // Method java/util/ArrayList.add:(Ljava/lang/Object;)Z
     428: pop
     429: iinc          11, 1
     432: goto          364
     435: aload         10
     437: checkcast     #12                 // class java/util/List
     440: astore        8
     442: iconst_0
     443: istore        9
     445: iload         9
     447: iload_1
     448: if_icmpgt     550
     451: iconst_0
     452: istore        10
     454: iload         10
     456: iload         9
     458: if_icmpge     538
     461: iload         9
     463: iconst_1
     464: isub
     465: iload         10
     467: isub
     468: istore        11
     470: aload         8
     472: iload         9
     474: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     479: checkcast     #53                 // class "[Lcodeforces/vk2022/round1/Modular;"
     482: iload         10
     484: aload         6
     486: iload         9
     488: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     493: checkcast     #53                 // class "[Lcodeforces/vk2022/round1/Modular;"
     496: iload         10
     498: iconst_1
     499: iadd
     500: aaload
     501: aload         7
     503: iload         10
     505: invokestatic  #60                 // Method main$fact2:([Lcodeforces/vk2022/round1/Modular;I)Lcodeforces/vk2022/round1/Modular;
     508: invokevirtual #65                 // Method codeforces/vk2022/round1/Modular.times:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
     511: aload         7
     513: iload         11
     515: invokestatic  #60                 // Method main$fact2:([Lcodeforces/vk2022/round1/Modular;I)Lcodeforces/vk2022/round1/Modular;
     518: invokevirtual #65                 // Method codeforces/vk2022/round1/Modular.times:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
     521: aload         7
     523: iload         9
     525: invokestatic  #60                 // Method main$fact2:([Lcodeforces/vk2022/round1/Modular;I)Lcodeforces/vk2022/round1/Modular;
     528: invokevirtual #67                 // Method codeforces/vk2022/round1/Modular.div:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
     531: aastore
     532: iinc          10, 1
     535: goto          454
     538: iload         9
     540: iload_1
     541: if_icmpeq     550
     544: iinc          9, 1
     547: goto          451
     550: iload_1
     551: iconst_1
     552: iadd
     553: istore        10
     555: new           #38                 // class java/util/ArrayList
     558: dup
     559: iload         10
     561: invokespecial #42                 // Method java/util/ArrayList."<init>":(I)V
     564: astore        11
     566: iconst_0
     567: istore        12
     569: iload         12
     571: iload         10
     573: if_icmpge     640
     576: iload         12
     578: istore        13
     580: aload         11
     582: iload         13
     584: istore        14
     586: astore        19
     588: iconst_0
     589: istore        15
     591: iconst_0
     592: istore        16
     594: iload         14
     596: anewarray     #32                 // class codeforces/vk2022/round1/Modular
     599: astore        17
     601: iload         16
     603: iload         14
     605: if_icmpge     625
     608: iload         16
     610: istore        18
     612: aload         17
     614: iload         18
     616: aload         4
     618: aastore
     619: iinc          16, 1
     622: goto          601
     625: aload         17
     627: aload         19
     629: swap
     630: invokevirtual #46                 // Method java/util/ArrayList.add:(Ljava/lang/Object;)Z
     633: pop
     634: iinc          12, 1
     637: goto          569
     640: aload         11
     642: checkcast     #12                 // class java/util/List
     645: astore        9
     647: iconst_0
     648: istore        10
     650: iload         10
     652: iload_1
     653: if_icmpgt     832
     656: iconst_0
     657: istore        11
     659: iload         11
     661: iload         10
     663: if_icmpge     820
     666: iload         10
     668: iload         11
     670: iadd
     671: iload_1
     672: if_icmpgt     814
     675: iconst_0
     676: invokestatic  #26                 // Method toModular:(I)Lcodeforces/vk2022/round1/Modular;
     679: astore        12
     681: iconst_0
     682: istore        13
     684: iload         13
     686: iload         10
     688: if_icmpge     797
     691: iload         10
     693: iconst_1
     694: isub
     695: iload         13
     697: isub
     698: istore        14
     700: aload         4
     702: aload         9
     704: iload         13
     706: iload         11
     708: iconst_1
     709: iadd
     710: invokestatic  #71                 // Method main$pAtLeast:(Lcodeforces/vk2022/round1/Modular;Ljava/util/List;II)Lcodeforces/vk2022/round1/Modular;
     713: aload_3
     714: invokevirtual #65                 // Method codeforces/vk2022/round1/Modular.times:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
     717: astore        15
     719: iload         11
     721: iconst_1
     722: if_icmplt     750
     725: aload         4
     727: aload         9
     729: iload         13
     731: iload         11
     733: iconst_1
     734: isub
     735: invokestatic  #71                 // Method main$pAtLeast:(Lcodeforces/vk2022/round1/Modular;Ljava/util/List;II)Lcodeforces/vk2022/round1/Modular;
     738: aload         5
     740: invokevirtual #65                 // Method codeforces/vk2022/round1/Modular.times:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
     743: aload         15
     745: invokevirtual #56                 // Method codeforces/vk2022/round1/Modular.plus:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
     748: astore        15
     750: aload         8
     752: iload         10
     754: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     759: checkcast     #53                 // class "[Lcodeforces/vk2022/round1/Modular;"
     762: iload         13
     764: aaload
     765: aload         4
     767: aload         9
     769: iload         14
     771: iload         11
     773: invokestatic  #71                 // Method main$pAtLeast:(Lcodeforces/vk2022/round1/Modular;Ljava/util/List;II)Lcodeforces/vk2022/round1/Modular;
     776: invokevirtual #65                 // Method codeforces/vk2022/round1/Modular.times:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
     779: aload         15
     781: invokevirtual #65                 // Method codeforces/vk2022/round1/Modular.times:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
     784: aload         12
     786: invokevirtual #56                 // Method codeforces/vk2022/round1/Modular.plus:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
     789: astore        12
     791: iinc          13, 1
     794: goto          684
     797: aload         9
     799: iload         10
     801: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     806: checkcast     #53                 // class "[Lcodeforces/vk2022/round1/Modular;"
     809: iload         11
     811: aload         12
     813: aastore
     814: iinc          11, 1
     817: goto          659
     820: iload         10
     822: iload_1
     823: if_icmpeq     832
     826: iinc          10, 1
     829: goto          656
     832: aload         4
     834: aload         9
     836: iload_1
     837: iconst_0
     838: invokestatic  #71                 // Method main$pAtLeast:(Lcodeforces/vk2022/round1/Modular;Ljava/util/List;II)Lcodeforces/vk2022/round1/Modular;
     841: getstatic     #77                 // Field java/lang/System.out:Ljava/io/PrintStream;
     844: swap
     845: invokevirtual #83                 // Method java/io/PrintStream.println:(Ljava/lang/Object;)V
     848: return

  private static final codeforces.vk2022.round1.Modular toModular(int);
    Code:
       0: new           #32                 // class codeforces/vk2022/round1/Modular
       3: dup
       4: iload_0
       5: invokespecial #105                // Method codeforces/vk2022/round1/Modular."<init>":(I)V
       8: areturn

  private static final codeforces.vk2022.round1.Modular plus(int, codeforces.vk2022.round1.Modular);
    Code:
       0: new           #32                 // class codeforces/vk2022/round1/Modular
       3: dup
       4: iload_0
       5: invokespecial #105                // Method codeforces/vk2022/round1/Modular."<init>":(I)V
       8: aload_1
       9: invokevirtual #56                 // Method codeforces/vk2022/round1/Modular.plus:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
      12: areturn

  private static final codeforces.vk2022.round1.Modular minus(int, codeforces.vk2022.round1.Modular);
    Code:
       0: new           #32                 // class codeforces/vk2022/round1/Modular
       3: dup
       4: iload_0
       5: invokespecial #105                // Method codeforces/vk2022/round1/Modular."<init>":(I)V
       8: aload_1
       9: invokevirtual #36                 // Method codeforces/vk2022/round1/Modular.minus:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
      12: areturn

  private static final codeforces.vk2022.round1.Modular times(int, codeforces.vk2022.round1.Modular);
    Code:
       0: new           #32                 // class codeforces/vk2022/round1/Modular
       3: dup
       4: iload_0
       5: invokespecial #105                // Method codeforces/vk2022/round1/Modular."<init>":(I)V
       8: aload_1
       9: invokevirtual #65                 // Method codeforces/vk2022/round1/Modular.times:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
      12: areturn

  private static final codeforces.vk2022.round1.Modular div(int, codeforces.vk2022.round1.Modular);
    Code:
       0: new           #32                 // class codeforces/vk2022/round1/Modular
       3: dup
       4: iload_0
       5: invokespecial #105                // Method codeforces/vk2022/round1/Modular."<init>":(I)V
       8: aload_1
       9: invokevirtual #67                 // Method codeforces/vk2022/round1/Modular.div:(Lcodeforces/vk2022/round1/Modular;)Lcodeforces/vk2022/round1/Modular;
      12: areturn

  private static final java.util.List<java.lang.String> readStrings();
    Code:
       0: invokestatic  #119                // Method kotlin/io/ConsoleKt.readln:()Ljava/lang/String;
       3: checkcast     #121                // class java/lang/CharSequence
       6: iconst_1
       7: anewarray     #123                // class java/lang/String
      10: astore_0
      11: aload_0
      12: iconst_0
      13: ldc           #125                // String
      15: aastore
      16: aload_0
      17: iconst_0
      18: iconst_0
      19: bipush        6
      21: aconst_null
      22: invokestatic  #131                // Method kotlin/text/StringsKt.split$default:(Ljava/lang/CharSequence;[Ljava/lang/String;ZIILjava/lang/Object;)Ljava/util/List;
      25: areturn

  private static final java.util.List<java.lang.Integer> readInts();
    Code:
       0: invokestatic  #134                // Method readStrings:()Ljava/util/List;
       3: checkcast     #136                // class java/lang/Iterable
       6: astore_0
       7: iconst_0
       8: istore_1
       9: aload_0
      10: astore_2
      11: new           #38                 // class java/util/ArrayList
      14: dup
      15: aload_0
      16: bipush        10
      18: invokestatic  #142                // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
      21: invokespecial #42                 // Method java/util/ArrayList."<init>":(I)V
      24: checkcast     #48                 // class java/util/Collection
      27: astore_3
      28: iconst_0
      29: istore        4
      31: aload_2
      32: invokeinterface #146,  1          // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
      37: astore        5
      39: aload         5
      41: invokeinterface #152,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
      46: ifeq          92
      49: aload         5
      51: invokeinterface #156,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
      56: astore        6
      58: aload_3
      59: aload         6
      61: checkcast     #123                // class java/lang/String
      64: astore        7
      66: astore        9
      68: iconst_0
      69: istore        8
      71: aload         7
      73: invokestatic  #162                // Method java/lang/Integer.parseInt:(Ljava/lang/String;)I
      76: nop
      77: invokestatic  #166                // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      80: aload         9
      82: swap
      83: invokeinterface #167,  2          // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
      88: pop
      89: goto          39
      92: aload_3
      93: checkcast     #12                 // class java/util/List
      96: nop
      97: areturn

  public static void main(java.lang.String[]);
    Code:
       0: invokestatic  #182                // Method main:()V
       3: return

  private static final codeforces.vk2022.round1.Modular main$fact2(codeforces.vk2022.round1.Modular[], int);
    Code:
       0: aload_0
       1: iload_1
       2: aaload
       3: areturn

  private static final codeforces.vk2022.round1.Modular main$pAtLeast(codeforces.vk2022.round1.Modular, java.util.List<codeforces.vk2022.round1.Modular[]>, int, int);
    Code:
       0: iload_3
       1: iload_2
       2: if_icmplt     7
       5: aload_0
       6: areturn
       7: aload_1
       8: iload_2
       9: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
      14: checkcast     #53                 // class "[Lcodeforces/vk2022/round1/Modular;"
      17: iload_3
      18: aaload
      19: areturn

  public static final codeforces.vk2022.round1.Modular access$toModular(int);
    Code:
       0: iload_0
       1: invokestatic  #26                 // Method toModular:(I)Lcodeforces/vk2022/round1/Modular;
       4: areturn
}


package codeforces.vk2021.qual

private fun permutation(comparisons: List<Boolean>, n: Int): Pair<Int, List<Int>> {
	var pos = 0
	fun permutation(m: Int): List<Int> {
		if (m <= 1) return List(m) { 0 }
		val left = m / 2
		val right = m - left
		val permutationLeft = permutation(left)
		val permutationRight = permutation(right)
		val leftNumbers = mutableListOf<Int>()
		val rightNumbers = mutableListOf<Int>()
		for (i in 0 until m) {
			val half = if (leftNumbers.size < left && rightNumbers.size < right) {
				if (comparisons.getOrElse(pos++) { false }) rightNumbers else leftNumbers
			} else if (leftNumbers.size < left) leftNumbers else rightNumbers
			half.add(i)
		}
		return permutationLeft.map { leftNumbers[it] } + permutationRight.map { rightNumbers[it] }
	}
	val permutation = permutation(n)
	return pos - comparisons.size to permutation
}

private fun solve(comparisons: List<Boolean>): List<Int> {
	var low = 0
	var high = comparisons.size + 2
	while (low + 1 < high) {
		val n = (low + high) / 2
		val (error, permutation) = permutation(comparisons, n)
		if (error == 0) return permutation
		if (error < 0) low = n else high = n
	}
	for (d in 0..comparisons.size) for (sign in -1..1 step 2) {
		val n = low + sign * d
		if (n <= 0) continue
		val (error, permutation) = permutation(comparisons, n)
		if (error == 0) return permutation
	}
	error("")
}

fun main() {
	val comparisons = readLn().map { it == '1' }
	val permutation = solve(comparisons)
	println(permutation.size)
	println(permutation.joinToString(" ") { (it + 1).toString() })
}

private fun readLn() = readLine()!!

Compiled from "e12.kt"
public final class codeforces.vk2021.qual.E12Kt {
  private static final kotlin.Pair<java.lang.Integer, java.util.List<java.lang.Integer>> permutation(java.util.List<java.lang.Boolean>, int);
    Code:
       0: new           #9                  // class kotlin/jvm/internal/Ref$IntRef
       3: dup
       4: invokespecial #13                 // Method kotlin/jvm/internal/Ref$IntRef."<init>":()V
       7: astore_2
       8: aload_0
       9: aload_2
      10: iload_1
      11: invokestatic  #17                 // Method permutation$permutation:(Ljava/util/List;Lkotlin/jvm/internal/Ref$IntRef;I)Ljava/util/List;
      14: astore_3
      15: aload_2
      16: getfield      #21                 // Field kotlin/jvm/internal/Ref$IntRef.element:I
      19: aload_0
      20: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
      25: isub
      26: invokestatic  #33                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      29: aload_3
      30: invokestatic  #39                 // Method kotlin/TuplesKt.to:(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
      33: areturn

  private static final java.util.List<java.lang.Integer> solve(java.util.List<java.lang.Boolean>);
    Code:
       0: iconst_0
       1: istore_1
       2: aload_0
       3: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
       8: iconst_2
       9: iadd
      10: istore_2
      11: iload_1
      12: iconst_1
      13: iadd
      14: iload_2
      15: if_icmpge     77
      18: iload_1
      19: iload_2
      20: iadd
      21: iconst_2
      22: idiv
      23: istore_3
      24: aload_0
      25: iload_3
      26: invokestatic  #49                 // Method permutation:(Ljava/util/List;I)Lkotlin/Pair;
      29: astore        4
      31: aload         4
      33: invokevirtual #55                 // Method kotlin/Pair.component1:()Ljava/lang/Object;
      36: checkcast     #57                 // class java/lang/Number
      39: invokevirtual #60                 // Method java/lang/Number.intValue:()I
      42: istore        5
      44: aload         4
      46: invokevirtual #63                 // Method kotlin/Pair.component2:()Ljava/lang/Object;
      49: checkcast     #23                 // class java/util/List
      52: astore        6
      54: iload         5
      56: ifne          62
      59: aload         6
      61: areturn
      62: iload         5
      64: ifge          72
      67: iload_3
      68: istore_1
      69: goto          11
      72: iload_3
      73: istore_2
      74: goto          11
      77: iconst_0
      78: istore_3
      79: aload_0
      80: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
      85: istore        4
      87: iload_3
      88: iload         4
      90: if_icmpgt     188
      93: iconst_m1
      94: istore        5
      96: iconst_m1
      97: iconst_1
      98: iconst_2
      99: invokestatic  #69                 // Method kotlin/internal/ProgressionUtilKt.getProgressionLastElement:(III)I
     102: istore        6
     104: iload         5
     106: iload         6
     108: if_icmpgt     176
     111: iload_1
     112: iload         5
     114: iload_3
     115: imul
     116: iadd
     117: istore        7
     119: iload         7
     121: ifle          163
     124: aload_0
     125: iload         7
     127: invokestatic  #49                 // Method permutation:(Ljava/util/List;I)Lkotlin/Pair;
     130: astore        8
     132: aload         8
     134: invokevirtual #55                 // Method kotlin/Pair.component1:()Ljava/lang/Object;
     137: checkcast     #57                 // class java/lang/Number
     140: invokevirtual #60                 // Method java/lang/Number.intValue:()I
     143: istore        9
     145: aload         8
     147: invokevirtual #63                 // Method kotlin/Pair.component2:()Ljava/lang/Object;
     150: checkcast     #23                 // class java/util/List
     153: astore        10
     155: iload         9
     157: ifne          163
     160: aload         10
     162: areturn
     163: iload         5
     165: iload         6
     167: if_icmpeq     176
     170: iinc          5, 2
     173: goto          111
     176: iload_3
     177: iload         4
     179: if_icmpeq     188
     182: iinc          3, 1
     185: goto          93
     188: new           #71                 // class java/lang/IllegalStateException
     191: dup
     192: ldc           #73                 // String
     194: invokevirtual #77                 // Method java/lang/Object.toString:()Ljava/lang/String;
     197: invokespecial #80                 // Method java/lang/IllegalStateException."<init>":(Ljava/lang/String;)V
     200: athrow

  public static final void main();
    Code:
       0: invokestatic  #89                 // Method readLn:()Ljava/lang/String;
       3: checkcast     #91                 // class java/lang/CharSequence
       6: astore_1
       7: iconst_0
       8: istore_2
       9: aload_1
      10: astore_3
      11: new           #93                 // class java/util/ArrayList
      14: dup
      15: aload_1
      16: invokeinterface #96,  1           // InterfaceMethod java/lang/CharSequence.length:()I
      21: invokespecial #99                 // Method java/util/ArrayList."<init>":(I)V
      24: checkcast     #101                // class java/util/Collection
      27: astore        4
      29: iconst_0
      30: istore        5
      32: iconst_0
      33: istore        6
      35: iload         6
      37: aload_3
      38: invokeinterface #96,  1           // InterfaceMethod java/lang/CharSequence.length:()I
      43: if_icmpge     97
      46: aload_3
      47: iload         6
      49: invokeinterface #105,  2          // InterfaceMethod java/lang/CharSequence.charAt:(I)C
      54: istore        7
      56: aload         4
      58: iload         7
      60: istore        8
      62: astore        10
      64: iconst_0
      65: istore        9
      67: iload         8
      69: bipush        49
      71: if_icmpne     78
      74: iconst_1
      75: goto          79
      78: iconst_0
      79: invokestatic  #110                // Method java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean;
      82: aload         10
      84: swap
      85: invokeinterface #114,  2          // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
      90: pop
      91: iinc          6, 1
      94: goto          35
      97: aload         4
      99: checkcast     #23                 // class java/util/List
     102: nop
     103: astore_0
     104: aload_0
     105: invokestatic  #116                // Method solve:(Ljava/util/List;)Ljava/util/List;
     108: astore_1
     109: aload_1
     110: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
     115: istore_2
     116: getstatic     #122                // Field java/lang/System.out:Ljava/io/PrintStream;
     119: iload_2
     120: invokevirtual #127                // Method java/io/PrintStream.println:(I)V
     123: aload_1
     124: checkcast     #129                // class java/lang/Iterable
     127: ldc           #131                // String
     129: checkcast     #91                 // class java/lang/CharSequence
     132: aconst_null
     133: aconst_null
     134: iconst_0
     135: aconst_null
     136: invokedynamic #151,  0            // InvokeDynamic #0:invoke:()Lkotlin/jvm/functions/Function1;
     141: bipush        30
     143: aconst_null
     144: invokestatic  #157                // Method kotlin/collections/CollectionsKt.joinToString$default:(Ljava/lang/Iterable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/String;
     147: getstatic     #122                // Field java/lang/System.out:Ljava/io/PrintStream;
     150: swap
     151: invokevirtual #160                // Method java/io/PrintStream.println:(Ljava/lang/Object;)V
     154: return

  private static final java.lang.String readLn();
    Code:
       0: invokestatic  #176                // Method kotlin/io/ConsoleKt.readLine:()Ljava/lang/String;
       3: dup
       4: invokestatic  #181                // Method kotlin/jvm/internal/Intrinsics.checkNotNull:(Ljava/lang/Object;)V
       7: areturn

  public static void main(java.lang.String[]);
    Code:
       0: invokestatic  #184                // Method main:()V
       3: return

  private static final java.util.List<java.lang.Integer> permutation$permutation(java.util.List<java.lang.Boolean>, kotlin.jvm.internal.Ref$IntRef, int);
    Code:
       0: iload_2
       1: iconst_1
       2: if_icmpgt     59
       5: new           #93                 // class java/util/ArrayList
       8: dup
       9: iload_2
      10: invokespecial #99                 // Method java/util/ArrayList."<init>":(I)V
      13: astore_3
      14: iconst_0
      15: istore        4
      17: iload         4
      19: iload_2
      20: if_icmpge     54
      23: iload         4
      25: istore        5
      27: aload_3
      28: iload         5
      30: istore        6
      32: astore        18
      34: iconst_0
      35: istore        7
      37: iconst_0
      38: invokestatic  #33                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      41: aload         18
      43: swap
      44: invokevirtual #188                // Method java/util/ArrayList.add:(Ljava/lang/Object;)Z
      47: pop
      48: iinc          4, 1
      51: goto          17
      54: aload_3
      55: checkcast     #23                 // class java/util/List
      58: areturn
      59: iload_2
      60: iconst_2
      61: idiv
      62: istore_3
      63: iload_2
      64: iload_3
      65: isub
      66: istore        4
      68: aload_0
      69: aload_1
      70: iload_3
      71: invokestatic  #17                 // Method permutation$permutation:(Ljava/util/List;Lkotlin/jvm/internal/Ref$IntRef;I)Ljava/util/List;
      74: astore        5
      76: aload_0
      77: aload_1
      78: iload         4
      80: invokestatic  #17                 // Method permutation$permutation:(Ljava/util/List;Lkotlin/jvm/internal/Ref$IntRef;I)Ljava/util/List;
      83: astore        6
      85: new           #93                 // class java/util/ArrayList
      88: dup
      89: invokespecial #189                // Method java/util/ArrayList."<init>":()V
      92: checkcast     #23                 // class java/util/List
      95: astore        7
      97: new           #93                 // class java/util/ArrayList
     100: dup
     101: invokespecial #189                // Method java/util/ArrayList."<init>":()V
     104: checkcast     #23                 // class java/util/List
     107: astore        8
     109: iconst_0
     110: istore        9
     112: iload         9
     114: iload_2
     115: if_icmpge     274
     118: aload         7
     120: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
     125: iload_3
     126: if_icmpge     235
     129: aload         8
     131: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
     136: iload         4
     138: if_icmpge     235
     141: aload_0
     142: astore        11
     144: aload_1
     145: getfield      #21                 // Field kotlin/jvm/internal/Ref$IntRef.element:I
     148: istore        12
     150: aload_1
     151: iload         12
     153: iconst_1
     154: iadd
     155: putfield      #21                 // Field kotlin/jvm/internal/Ref$IntRef.element:I
     158: iload         12
     160: istore        12
     162: iconst_0
     163: iload         12
     165: if_icmpgt     188
     168: iload         12
     170: aload         11
     172: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
     177: if_icmpge     184
     180: iconst_1
     181: goto          189
     184: iconst_0
     185: goto          189
     188: iconst_0
     189: ifeq          204
     192: aload         11
     194: iload         12
     196: invokeinterface #193,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     201: goto          216
     204: iload         12
     206: istore        13
     208: iconst_0
     209: istore        14
     211: iconst_0
     212: invokestatic  #110                // Method java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean;
     215: nop
     216: checkcast     #107                // class java/lang/Boolean
     219: invokevirtual #197                // Method java/lang/Boolean.booleanValue:()Z
     222: ifeq          230
     225: aload         8
     227: goto          253
     230: aload         7
     232: goto          253
     235: aload         7
     237: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
     242: iload_3
     243: if_icmpge     251
     246: aload         7
     248: goto          253
     251: aload         8
     253: astore        10
     255: aload         10
     257: iload         9
     259: invokestatic  #33                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     262: invokeinterface #198,  2          // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z
     267: pop
     268: iinc          9, 1
     271: goto          112
     274: aload         5
     276: checkcast     #129                // class java/lang/Iterable
     279: astore        9
     281: iconst_0
     282: istore        10
     284: aload         9
     286: astore        11
     288: new           #93                 // class java/util/ArrayList
     291: dup
     292: aload         9
     294: bipush        10
     296: invokestatic  #202                // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
     299: invokespecial #99                 // Method java/util/ArrayList."<init>":(I)V
     302: checkcast     #101                // class java/util/Collection
     305: astore        12
     307: iconst_0
     308: istore        13
     310: aload         11
     312: invokeinterface #206,  1          // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     317: astore        14
     319: aload         14
     321: invokeinterface #211,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
     326: ifeq          385
     329: aload         14
     331: invokeinterface #214,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     336: astore        15
     338: aload         12
     340: aload         15
     342: checkcast     #57                 // class java/lang/Number
     345: invokevirtual #60                 // Method java/lang/Number.intValue:()I
     348: istore        16
     350: astore        18
     352: iconst_0
     353: istore        17
     355: aload         7
     357: iload         16
     359: invokeinterface #193,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     364: checkcast     #57                 // class java/lang/Number
     367: invokevirtual #60                 // Method java/lang/Number.intValue:()I
     370: invokestatic  #33                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     373: aload         18
     375: swap
     376: invokeinterface #114,  2          // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     381: pop
     382: goto          319
     385: aload         12
     387: checkcast     #23                 // class java/util/List
     390: nop
     391: checkcast     #101                // class java/util/Collection
     394: aload         6
     396: checkcast     #129                // class java/lang/Iterable
     399: astore        9
     401: astore        18
     403: iconst_0
     404: istore        10
     406: aload         9
     408: astore        11
     410: new           #93                 // class java/util/ArrayList
     413: dup
     414: aload         9
     416: bipush        10
     418: invokestatic  #202                // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
     421: invokespecial #99                 // Method java/util/ArrayList."<init>":(I)V
     424: checkcast     #101                // class java/util/Collection
     427: astore        12
     429: iconst_0
     430: istore        13
     432: aload         11
     434: invokeinterface #206,  1          // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     439: astore        14
     441: aload         14
     443: invokeinterface #211,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
     448: ifeq          507
     451: aload         14
     453: invokeinterface #214,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     458: astore        15
     460: aload         12
     462: aload         15
     464: checkcast     #57                 // class java/lang/Number
     467: invokevirtual #60                 // Method java/lang/Number.intValue:()I
     470: istore        16
     472: astore        19
     474: iconst_0
     475: istore        17
     477: aload         8
     479: iload         16
     481: invokeinterface #193,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     486: checkcast     #57                 // class java/lang/Number
     489: invokevirtual #60                 // Method java/lang/Number.intValue:()I
     492: invokestatic  #33                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     495: aload         19
     497: swap
     498: invokeinterface #114,  2          // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     503: pop
     504: goto          441
     507: aload         12
     509: checkcast     #23                 // class java/util/List
     512: nop
     513: aload         18
     515: swap
     516: checkcast     #129                // class java/lang/Iterable
     519: invokestatic  #218                // Method kotlin/collections/CollectionsKt.plus:(Ljava/util/Collection;Ljava/lang/Iterable;)Ljava/util/List;
     522: areturn

  private static final java.lang.CharSequence main$lambda$5(int);
    Code:
       0: iload_0
       1: iconst_1
       2: iadd
       3: invokestatic  #239                // Method java/lang/String.valueOf:(I)Ljava/lang/String;
       6: checkcast     #91                 // class java/lang/CharSequence
       9: areturn
}


package codeforces.vk2021.qual

fun main() {
	val words = "lock, unlock, red, orange, yellow, green, blue, indigo, violet".split(", ")
	val wordsMap = words.withIndex().associate { it.value to it.index }
	val init = List(readInt()) { wordsMap[readLn()]!! }
	val st = SegmentsTreeSimple(init.size)
	for (i in init.indices) {
		st[i] = init[i]
	}
	fun answer() {
		val ans = st.answer()
		println(words[ans])
	}
	answer()
	repeat(readInt()/*0*/) {
		val (indexString, word) = readLn().split(" ")
		val index = indexString.toInt() - 1
		val newWord = wordsMap[word]!!
		st[index] = newWord
		answer()
	}
}

private class SegmentsTreeSimple(var n: Int) {
	var lock: IntArray
	private var colorIfLocked: IntArray
	private var colorIfUnlocked: IntArray
	var size = 1

	init {
		while (size <= n) {
			size *= 2
		}
		lock = IntArray(2 * size)
		colorIfLocked = IntArray(2 * size)
		colorIfUnlocked = IntArray(2 * size)
	}

	operator fun set(index: Int, value: Int) {
		var i = size + index
		if (value >= 2) {
			colorIfUnlocked[i] = value
			colorIfLocked[i] = 0
			lock[i] = 0
		} else {
			colorIfUnlocked[i] = 0
			colorIfLocked[i] = 0
			if (value == 0) lock[i] = 1 else lock[i] = -1
		}
		while (i > 1) {
			i /= 2
			val colorIfLockedLeft = colorIfLocked[2 * i]
			val colorIfUnlockedLeft = colorIfUnlocked[2 * i]
			val lockLeft = lock[2 * i]
			val colorIfLockedRight = colorIfLocked[2 * i + 1]
			val colorIfUnlockedRight = colorIfUnlocked[2 * i + 1]
			val lockRight = lock[2 * i + 1]
			lock[i] = if (lockRight != 0) lockRight else if (lockLeft != 0) lockLeft else 0
			run { // locked
				var c = colorIfLockedLeft
				val l = if (lockLeft == 0) 1 else lockLeft
				if (l == -1 && colorIfUnlockedRight != 0) c = colorIfUnlockedRight
				if (l == 1 && colorIfLockedRight != 0) c = colorIfLockedRight
				colorIfLocked[i] = c
			}
			run { // unlocked
				var c = colorIfUnlockedLeft
				val l = if (lockLeft == 0) -1 else lockLeft
				if (l == -1 && colorIfUnlockedRight != 0) c = colorIfUnlockedRight
				if (l == 1 && colorIfLockedRight != 0) c = colorIfLockedRight
				colorIfUnlocked[i] = c
			}
		}
	}

	fun answer(): Int {
		if (colorIfUnlocked[1] == 0) return 6
		return colorIfUnlocked[1]
	}
}

private fun readLn() = readLine()!!
private fun readInt() = readLn().toInt()

Compiled from "ad.kt"
public final class codeforces.vk2021.qual.AdKt {
  public static final void main();
    Code:
       0: ldc           #8                  // String lock, unlock, red, orange, yellow, green, blue, indigo, violet
       2: checkcast     #10                 // class java/lang/CharSequence
       5: iconst_1
       6: anewarray     #12                 // class java/lang/String
       9: astore_1
      10: aload_1
      11: iconst_0
      12: ldc           #14                 // String ,
      14: aastore
      15: aload_1
      16: iconst_0
      17: iconst_0
      18: bipush        6
      20: aconst_null
      21: invokestatic  #20                 // Method kotlin/text/StringsKt.split$default:(Ljava/lang/CharSequence;[Ljava/lang/String;ZIILjava/lang/Object;)Ljava/util/List;
      24: astore_0
      25: aload_0
      26: checkcast     #22                 // class java/lang/Iterable
      29: invokestatic  #28                 // Method kotlin/collections/CollectionsKt.withIndex:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
      32: astore_2
      33: iconst_0
      34: istore_3
      35: aload_2
      36: bipush        10
      38: invokestatic  #32                 // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
      41: invokestatic  #38                 // Method kotlin/collections/MapsKt.mapCapacity:(I)I
      44: bipush        16
      46: invokestatic  #44                 // Method kotlin/ranges/RangesKt.coerceAtLeast:(II)I
      49: istore        4
      51: aload_2
      52: astore        5
      54: new           #46                 // class java/util/LinkedHashMap
      57: dup
      58: iload         4
      60: invokespecial #50                 // Method java/util/LinkedHashMap."<init>":(I)V
      63: checkcast     #52                 // class java/util/Map
      66: astore        6
      68: iconst_0
      69: istore        7
      71: aload         5
      73: invokeinterface #56,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
      78: astore        8
      80: aload         8
      82: invokeinterface #62,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
      87: ifeq          152
      90: aload         8
      92: invokeinterface #66,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
      97: astore        9
      99: aload         6
     101: astore        10
     103: aload         9
     105: checkcast     #68                 // class kotlin/collections/IndexedValue
     108: astore        11
     110: iconst_0
     111: istore        12
     113: aload         11
     115: invokevirtual #71                 // Method kotlin/collections/IndexedValue.getValue:()Ljava/lang/Object;
     118: aload         11
     120: invokevirtual #75                 // Method kotlin/collections/IndexedValue.getIndex:()I
     123: invokestatic  #81                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     126: invokestatic  #87                 // Method kotlin/TuplesKt.to:(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
     129: astore        11
     131: aload         10
     133: aload         11
     135: invokevirtual #92                 // Method kotlin/Pair.getFirst:()Ljava/lang/Object;
     138: aload         11
     140: invokevirtual #95                 // Method kotlin/Pair.getSecond:()Ljava/lang/Object;
     143: invokeinterface #99,  3           // InterfaceMethod java/util/Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
     148: pop
     149: goto          80
     152: aload         6
     154: nop
     155: astore_1
     156: invokestatic  #102                // Method readInt:()I
     159: istore_3
     160: new           #104                // class java/util/ArrayList
     163: dup
     164: iload_3
     165: invokespecial #105                // Method java/util/ArrayList."<init>":(I)V
     168: astore        4
     170: iconst_0
     171: istore        5
     173: iload         5
     175: iload_3
     176: if_icmpge     229
     179: iload         5
     181: istore        6
     183: aload         4
     185: iload         6
     187: istore        7
     189: astore        13
     191: iconst_0
     192: istore        8
     194: aload_1
     195: invokestatic  #109                // Method readLn:()Ljava/lang/String;
     198: invokeinterface #113,  2          // InterfaceMethod java/util/Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
     203: dup
     204: invokestatic  #119                // Method kotlin/jvm/internal/Intrinsics.checkNotNull:(Ljava/lang/Object;)V
     207: checkcast     #121                // class java/lang/Number
     210: invokevirtual #124                // Method java/lang/Number.intValue:()I
     213: invokestatic  #81                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     216: aload         13
     218: swap
     219: invokevirtual #128                // Method java/util/ArrayList.add:(Ljava/lang/Object;)Z
     222: pop
     223: iinc          5, 1
     226: goto          173
     229: aload         4
     231: checkcast     #130                // class java/util/List
     234: astore_2
     235: new           #132                // class codeforces/vk2021/qual/SegmentsTreeSimple
     238: dup
     239: aload_2
     240: invokeinterface #135,  1          // InterfaceMethod java/util/List.size:()I
     245: invokespecial #136                // Method codeforces/vk2021/qual/SegmentsTreeSimple."<init>":(I)V
     248: astore_3
     249: iconst_0
     250: istore        4
     252: aload_2
     253: checkcast     #138                // class java/util/Collection
     256: invokeinterface #139,  1          // InterfaceMethod java/util/Collection.size:()I
     261: istore        5
     263: iload         4
     265: iload         5
     267: if_icmpge     296
     270: aload_3
     271: iload         4
     273: aload_2
     274: iload         4
     276: invokeinterface #142,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     281: checkcast     #121                // class java/lang/Number
     284: invokevirtual #124                // Method java/lang/Number.intValue:()I
     287: invokevirtual #146                // Method codeforces/vk2021/qual/SegmentsTreeSimple.set:(II)V
     290: iinc          4, 1
     293: goto          263
     296: aload_3
     297: aload_0
     298: invokestatic  #150                // Method main$answer:(Lcodeforces/vk2021/qual/SegmentsTreeSimple;Ljava/util/List;)V
     301: invokestatic  #102                // Method readInt:()I
     304: istore        4
     306: iconst_0
     307: istore        5
     309: iload         5
     311: iload         4
     313: if_icmpge     428
     316: iload         5
     318: istore        6
     320: iconst_0
     321: istore        7
     323: invokestatic  #109                // Method readLn:()Ljava/lang/String;
     326: checkcast     #10                 // class java/lang/CharSequence
     329: iconst_1
     330: anewarray     #12                 // class java/lang/String
     333: astore        8
     335: aload         8
     337: iconst_0
     338: ldc           #152                // String
     340: aastore
     341: aload         8
     343: iconst_0
     344: iconst_0
     345: bipush        6
     347: aconst_null
     348: invokestatic  #20                 // Method kotlin/text/StringsKt.split$default:(Ljava/lang/CharSequence;[Ljava/lang/String;ZIILjava/lang/Object;)Ljava/util/List;
     351: astore        9
     353: aload         9
     355: iconst_0
     356: invokeinterface #142,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     361: checkcast     #12                 // class java/lang/String
     364: astore        8
     366: aload         9
     368: iconst_1
     369: invokeinterface #142,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     374: checkcast     #12                 // class java/lang/String
     377: astore        10
     379: aload         8
     381: invokestatic  #156                // Method java/lang/Integer.parseInt:(Ljava/lang/String;)I
     384: iconst_1
     385: isub
     386: istore        11
     388: aload_1
     389: aload         10
     391: invokeinterface #113,  2          // InterfaceMethod java/util/Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
     396: dup
     397: invokestatic  #119                // Method kotlin/jvm/internal/Intrinsics.checkNotNull:(Ljava/lang/Object;)V
     400: checkcast     #121                // class java/lang/Number
     403: invokevirtual #124                // Method java/lang/Number.intValue:()I
     406: istore        12
     408: aload_3
     409: iload         11
     411: iload         12
     413: invokevirtual #146                // Method codeforces/vk2021/qual/SegmentsTreeSimple.set:(II)V
     416: aload_3
     417: aload_0
     418: invokestatic  #150                // Method main$answer:(Lcodeforces/vk2021/qual/SegmentsTreeSimple;Ljava/util/List;)V
     421: nop
     422: iinc          5, 1
     425: goto          309
     428: return

  private static final java.lang.String readLn();
    Code:
       0: invokestatic  #191                // Method kotlin/io/ConsoleKt.readLine:()Ljava/lang/String;
       3: dup
       4: invokestatic  #119                // Method kotlin/jvm/internal/Intrinsics.checkNotNull:(Ljava/lang/Object;)V
       7: areturn

  private static final int readInt();
    Code:
       0: invokestatic  #109                // Method readLn:()Ljava/lang/String;
       3: invokestatic  #156                // Method java/lang/Integer.parseInt:(Ljava/lang/String;)I
       6: ireturn

  public static void main(java.lang.String[]);
    Code:
       0: invokestatic  #194                // Method main:()V
       3: return

  private static final void main$answer(codeforces.vk2021.qual.SegmentsTreeSimple, java.util.List<java.lang.String>);
    Code:
       0: aload_0
       1: invokevirtual #199                // Method codeforces/vk2021/qual/SegmentsTreeSimple.answer:()I
       4: istore_2
       5: aload_1
       6: iload_2
       7: invokeinterface #142,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
      12: getstatic     #205                // Field java/lang/System.out:Ljava/io/PrintStream;
      15: swap
      16: invokevirtual #210                // Method java/io/PrintStream.println:(Ljava/lang/Object;)V
      19: return
}


package codeforces.vk2021.qual

import kotlin.math.log2
import kotlin.math.roundToInt

private fun permutation(comparisons: List<Boolean>, n: Int): Pair<Int, List<Int>> {
	var pos = 0
	fun permutation(m: Int): List<Int> {
		if (m <= 1) return List(m) { 0 }
		val left = m / 2
		val right = m - left
		val permutationLeft = permutation(left)
		val permutationRight = permutation(right)
		val leftNumbers = mutableListOf<Int>()
		val rightNumbers = mutableListOf<Int>()
		for (i in 0 until m) {
			val half = if (leftNumbers.size < left && rightNumbers.size < right) {
				if (comparisons.getOrElse(pos++) { false }) rightNumbers else leftNumbers
			} else if (leftNumbers.size < left) leftNumbers else rightNumbers
			half.add(i)
		}
		return permutationLeft.map { leftNumbers[it] } + permutationRight.map { rightNumbers[it] }
	}
	val permutation = permutation(n)
	return pos - comparisons.size to permutation
}

private fun solve(comparisons: List<Boolean>): List<Int> {
	if (comparisons.size < 1000) {
		for (n in 1..comparisons.size + 2) {
			val (error, permutation) = permutation(comparisons, n)
			if (error == 0) return permutation
		}
		error("")
	}
	var low = comparisons.size / (log2(comparisons.size.toDouble()).roundToInt() + 1)
	var high = (low + 8) * 3
	val tried = BooleanArray(high)
	while (low + 1 < high) {
		val n = (low + high) / 2
		val (error, permutation) = permutation(comparisons, n)
		if (error == 0) return permutation
		tried[n] = true
		if (error < 0) low = n else high = n
	}
	error("")
}

fun main() {
	val comparisons = readLn().map { it == '1' }
	val permutation = solve(comparisons)
	println(permutation.size)
	println(permutation.joinToString(" ") { (it + 1).toString() })
}

private fun readLn() = readLine()!!

Compiled from "e3_slow.kt"
public final class codeforces.vk2021.qual.E3_slowKt {
  private static final kotlin.Pair<java.lang.Integer, java.util.List<java.lang.Integer>> permutation(java.util.List<java.lang.Boolean>, int);
    Code:
       0: new           #9                  // class kotlin/jvm/internal/Ref$IntRef
       3: dup
       4: invokespecial #13                 // Method kotlin/jvm/internal/Ref$IntRef."<init>":()V
       7: astore_2
       8: aload_0
       9: aload_2
      10: iload_1
      11: invokestatic  #17                 // Method permutation$permutation:(Ljava/util/List;Lkotlin/jvm/internal/Ref$IntRef;I)Ljava/util/List;
      14: astore_3
      15: aload_2
      16: getfield      #21                 // Field kotlin/jvm/internal/Ref$IntRef.element:I
      19: aload_0
      20: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
      25: isub
      26: invokestatic  #33                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      29: aload_3
      30: invokestatic  #39                 // Method kotlin/TuplesKt.to:(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
      33: areturn

  private static final java.util.List<java.lang.Integer> solve(java.util.List<java.lang.Boolean>);
    Code:
       0: aload_0
       1: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
       6: sipush        1000
       9: if_icmpge     87
      12: iconst_1
      13: istore_1
      14: aload_0
      15: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
      20: iconst_2
      21: iadd
      22: istore_2
      23: iload_1
      24: iload_2
      25: if_icmpgt     74
      28: aload_0
      29: iload_1
      30: invokestatic  #49                 // Method permutation:(Ljava/util/List;I)Lkotlin/Pair;
      33: astore_3
      34: aload_3
      35: invokevirtual #55                 // Method kotlin/Pair.component1:()Ljava/lang/Object;
      38: checkcast     #57                 // class java/lang/Number
      41: invokevirtual #60                 // Method java/lang/Number.intValue:()I
      44: istore        4
      46: aload_3
      47: invokevirtual #63                 // Method kotlin/Pair.component2:()Ljava/lang/Object;
      50: checkcast     #23                 // class java/util/List
      53: astore        5
      55: iload         4
      57: ifne          63
      60: aload         5
      62: areturn
      63: iload_1
      64: iload_2
      65: if_icmpeq     74
      68: iinc          1, 1
      71: goto          28
      74: new           #65                 // class java/lang/IllegalStateException
      77: dup
      78: ldc           #67                 // String
      80: invokevirtual #71                 // Method java/lang/Object.toString:()Ljava/lang/String;
      83: invokespecial #74                 // Method java/lang/IllegalStateException."<init>":(Ljava/lang/String;)V
      86: athrow
      87: aload_0
      88: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
      93: aload_0
      94: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
      99: i2d
     100: invokestatic  #80                 // Method kotlin/math/MathKt.log2:(D)D
     103: invokestatic  #84                 // Method kotlin/math/MathKt.roundToInt:(D)I
     106: iconst_1
     107: iadd
     108: idiv
     109: istore_1
     110: iload_1
     111: bipush        8
     113: iadd
     114: iconst_3
     115: imul
     116: istore_2
     117: iload_2
     118: newarray       boolean
     120: astore_3
     121: iload_1
     122: iconst_1
     123: iadd
     124: iload_2
     125: if_icmpge     196
     128: iload_1
     129: iload_2
     130: iadd
     131: iconst_2
     132: idiv
     133: istore        4
     135: aload_0
     136: iload         4
     138: invokestatic  #49                 // Method permutation:(Ljava/util/List;I)Lkotlin/Pair;
     141: astore        5
     143: aload         5
     145: invokevirtual #55                 // Method kotlin/Pair.component1:()Ljava/lang/Object;
     148: checkcast     #57                 // class java/lang/Number
     151: invokevirtual #60                 // Method java/lang/Number.intValue:()I
     154: istore        6
     156: aload         5
     158: invokevirtual #63                 // Method kotlin/Pair.component2:()Ljava/lang/Object;
     161: checkcast     #23                 // class java/util/List
     164: astore        7
     166: iload         6
     168: ifne          174
     171: aload         7
     173: areturn
     174: aload_3
     175: iload         4
     177: iconst_1
     178: bastore
     179: iload         6
     181: ifge          190
     184: iload         4
     186: istore_1
     187: goto          121
     190: iload         4
     192: istore_2
     193: goto          121
     196: new           #65                 // class java/lang/IllegalStateException
     199: dup
     200: ldc           #67                 // String
     202: invokevirtual #71                 // Method java/lang/Object.toString:()Ljava/lang/String;
     205: invokespecial #74                 // Method java/lang/IllegalStateException."<init>":(Ljava/lang/String;)V
     208: athrow

  public static final void main();
    Code:
       0: invokestatic  #94                 // Method readLn:()Ljava/lang/String;
       3: checkcast     #96                 // class java/lang/CharSequence
       6: astore_1
       7: iconst_0
       8: istore_2
       9: aload_1
      10: astore_3
      11: new           #98                 // class java/util/ArrayList
      14: dup
      15: aload_1
      16: invokeinterface #101,  1          // InterfaceMethod java/lang/CharSequence.length:()I
      21: invokespecial #104                // Method java/util/ArrayList."<init>":(I)V
      24: checkcast     #106                // class java/util/Collection
      27: astore        4
      29: iconst_0
      30: istore        5
      32: iconst_0
      33: istore        6
      35: iload         6
      37: aload_3
      38: invokeinterface #101,  1          // InterfaceMethod java/lang/CharSequence.length:()I
      43: if_icmpge     97
      46: aload_3
      47: iload         6
      49: invokeinterface #110,  2          // InterfaceMethod java/lang/CharSequence.charAt:(I)C
      54: istore        7
      56: aload         4
      58: iload         7
      60: istore        8
      62: astore        10
      64: iconst_0
      65: istore        9
      67: iload         8
      69: bipush        49
      71: if_icmpne     78
      74: iconst_1
      75: goto          79
      78: iconst_0
      79: invokestatic  #115                // Method java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean;
      82: aload         10
      84: swap
      85: invokeinterface #119,  2          // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
      90: pop
      91: iinc          6, 1
      94: goto          35
      97: aload         4
      99: checkcast     #23                 // class java/util/List
     102: nop
     103: astore_0
     104: aload_0
     105: invokestatic  #121                // Method solve:(Ljava/util/List;)Ljava/util/List;
     108: astore_1
     109: aload_1
     110: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
     115: istore_2
     116: getstatic     #127                // Field java/lang/System.out:Ljava/io/PrintStream;
     119: iload_2
     120: invokevirtual #132                // Method java/io/PrintStream.println:(I)V
     123: aload_1
     124: checkcast     #134                // class java/lang/Iterable
     127: ldc           #136                // String
     129: checkcast     #96                 // class java/lang/CharSequence
     132: aconst_null
     133: aconst_null
     134: iconst_0
     135: aconst_null
     136: invokedynamic #156,  0            // InvokeDynamic #0:invoke:()Lkotlin/jvm/functions/Function1;
     141: bipush        30
     143: aconst_null
     144: invokestatic  #162                // Method kotlin/collections/CollectionsKt.joinToString$default:(Ljava/lang/Iterable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/String;
     147: getstatic     #127                // Field java/lang/System.out:Ljava/io/PrintStream;
     150: swap
     151: invokevirtual #165                // Method java/io/PrintStream.println:(Ljava/lang/Object;)V
     154: return

  private static final java.lang.String readLn();
    Code:
       0: invokestatic  #181                // Method kotlin/io/ConsoleKt.readLine:()Ljava/lang/String;
       3: dup
       4: invokestatic  #186                // Method kotlin/jvm/internal/Intrinsics.checkNotNull:(Ljava/lang/Object;)V
       7: areturn

  public static void main(java.lang.String[]);
    Code:
       0: invokestatic  #189                // Method main:()V
       3: return

  private static final java.util.List<java.lang.Integer> permutation$permutation(java.util.List<java.lang.Boolean>, kotlin.jvm.internal.Ref$IntRef, int);
    Code:
       0: iload_2
       1: iconst_1
       2: if_icmpgt     59
       5: new           #98                 // class java/util/ArrayList
       8: dup
       9: iload_2
      10: invokespecial #104                // Method java/util/ArrayList."<init>":(I)V
      13: astore_3
      14: iconst_0
      15: istore        4
      17: iload         4
      19: iload_2
      20: if_icmpge     54
      23: iload         4
      25: istore        5
      27: aload_3
      28: iload         5
      30: istore        6
      32: astore        18
      34: iconst_0
      35: istore        7
      37: iconst_0
      38: invokestatic  #33                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      41: aload         18
      43: swap
      44: invokevirtual #193                // Method java/util/ArrayList.add:(Ljava/lang/Object;)Z
      47: pop
      48: iinc          4, 1
      51: goto          17
      54: aload_3
      55: checkcast     #23                 // class java/util/List
      58: areturn
      59: iload_2
      60: iconst_2
      61: idiv
      62: istore_3
      63: iload_2
      64: iload_3
      65: isub
      66: istore        4
      68: aload_0
      69: aload_1
      70: iload_3
      71: invokestatic  #17                 // Method permutation$permutation:(Ljava/util/List;Lkotlin/jvm/internal/Ref$IntRef;I)Ljava/util/List;
      74: astore        5
      76: aload_0
      77: aload_1
      78: iload         4
      80: invokestatic  #17                 // Method permutation$permutation:(Ljava/util/List;Lkotlin/jvm/internal/Ref$IntRef;I)Ljava/util/List;
      83: astore        6
      85: new           #98                 // class java/util/ArrayList
      88: dup
      89: invokespecial #194                // Method java/util/ArrayList."<init>":()V
      92: checkcast     #23                 // class java/util/List
      95: astore        7
      97: new           #98                 // class java/util/ArrayList
     100: dup
     101: invokespecial #194                // Method java/util/ArrayList."<init>":()V
     104: checkcast     #23                 // class java/util/List
     107: astore        8
     109: iconst_0
     110: istore        9
     112: iload         9
     114: iload_2
     115: if_icmpge     274
     118: aload         7
     120: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
     125: iload_3
     126: if_icmpge     235
     129: aload         8
     131: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
     136: iload         4
     138: if_icmpge     235
     141: aload_0
     142: astore        11
     144: aload_1
     145: getfield      #21                 // Field kotlin/jvm/internal/Ref$IntRef.element:I
     148: istore        12
     150: aload_1
     151: iload         12
     153: iconst_1
     154: iadd
     155: putfield      #21                 // Field kotlin/jvm/internal/Ref$IntRef.element:I
     158: iload         12
     160: istore        12
     162: iconst_0
     163: iload         12
     165: if_icmpgt     188
     168: iload         12
     170: aload         11
     172: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
     177: if_icmpge     184
     180: iconst_1
     181: goto          189
     184: iconst_0
     185: goto          189
     188: iconst_0
     189: ifeq          204
     192: aload         11
     194: iload         12
     196: invokeinterface #198,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     201: goto          216
     204: iload         12
     206: istore        13
     208: iconst_0
     209: istore        14
     211: iconst_0
     212: invokestatic  #115                // Method java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean;
     215: nop
     216: checkcast     #112                // class java/lang/Boolean
     219: invokevirtual #202                // Method java/lang/Boolean.booleanValue:()Z
     222: ifeq          230
     225: aload         8
     227: goto          253
     230: aload         7
     232: goto          253
     235: aload         7
     237: invokeinterface #27,  1           // InterfaceMethod java/util/List.size:()I
     242: iload_3
     243: if_icmpge     251
     246: aload         7
     248: goto          253
     251: aload         8
     253: astore        10
     255: aload         10
     257: iload         9
     259: invokestatic  #33                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     262: invokeinterface #203,  2          // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z
     267: pop
     268: iinc          9, 1
     271: goto          112
     274: aload         5
     276: checkcast     #134                // class java/lang/Iterable
     279: astore        9
     281: iconst_0
     282: istore        10
     284: aload         9
     286: astore        11
     288: new           #98                 // class java/util/ArrayList
     291: dup
     292: aload         9
     294: bipush        10
     296: invokestatic  #207                // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
     299: invokespecial #104                // Method java/util/ArrayList."<init>":(I)V
     302: checkcast     #106                // class java/util/Collection
     305: astore        12
     307: iconst_0
     308: istore        13
     310: aload         11
     312: invokeinterface #211,  1          // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     317: astore        14
     319: aload         14
     321: invokeinterface #216,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
     326: ifeq          385
     329: aload         14
     331: invokeinterface #219,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     336: astore        15
     338: aload         12
     340: aload         15
     342: checkcast     #57                 // class java/lang/Number
     345: invokevirtual #60                 // Method java/lang/Number.intValue:()I
     348: istore        16
     350: astore        18
     352: iconst_0
     353: istore        17
     355: aload         7
     357: iload         16
     359: invokeinterface #198,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     364: checkcast     #57                 // class java/lang/Number
     367: invokevirtual #60                 // Method java/lang/Number.intValue:()I
     370: invokestatic  #33                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     373: aload         18
     375: swap
     376: invokeinterface #119,  2          // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     381: pop
     382: goto          319
     385: aload         12
     387: checkcast     #23                 // class java/util/List
     390: nop
     391: checkcast     #106                // class java/util/Collection
     394: aload         6
     396: checkcast     #134                // class java/lang/Iterable
     399: astore        9
     401: astore        18
     403: iconst_0
     404: istore        10
     406: aload         9
     408: astore        11
     410: new           #98                 // class java/util/ArrayList
     413: dup
     414: aload         9
     416: bipush        10
     418: invokestatic  #207                // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
     421: invokespecial #104                // Method java/util/ArrayList."<init>":(I)V
     424: checkcast     #106                // class java/util/Collection
     427: astore        12
     429: iconst_0
     430: istore        13
     432: aload         11
     434: invokeinterface #211,  1          // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     439: astore        14
     441: aload         14
     443: invokeinterface #216,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
     448: ifeq          507
     451: aload         14
     453: invokeinterface #219,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     458: astore        15
     460: aload         12
     462: aload         15
     464: checkcast     #57                 // class java/lang/Number
     467: invokevirtual #60                 // Method java/lang/Number.intValue:()I
     470: istore        16
     472: astore        19
     474: iconst_0
     475: istore        17
     477: aload         8
     479: iload         16
     481: invokeinterface #198,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     486: checkcast     #57                 // class java/lang/Number
     489: invokevirtual #60                 // Method java/lang/Number.intValue:()I
     492: invokestatic  #33                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     495: aload         19
     497: swap
     498: invokeinterface #119,  2          // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     503: pop
     504: goto          441
     507: aload         12
     509: checkcast     #23                 // class java/util/List
     512: nop
     513: aload         18
     515: swap
     516: checkcast     #134                // class java/lang/Iterable
     519: invokestatic  #223                // Method kotlin/collections/CollectionsKt.plus:(Ljava/util/Collection;Ljava/lang/Iterable;)Ljava/util/List;
     522: areturn

  private static final java.lang.CharSequence main$lambda$5(int);
    Code:
       0: iload_0
       1: iconst_1
       2: iadd
       3: invokestatic  #244                // Method java/lang/String.valueOf:(I)Ljava/lang/String;
       6: checkcast     #96                 // class java/lang/CharSequence
       9: areturn
}