package gcj.y2020.round3

private fun solve(): Int {
	val (c, n) = readInts()
	val xIn = readInts()
	val x = (xIn.map { it - xIn[0] } + c).map { it * 2 }
	readLn()
	var maxMask = (1 shl (2 * c + 1)) - 1
	for (v in x) maxMask = maxMask xor (1 shl v)
	var ans = 2 * n
	var mask = maxMask
	while (mask > 0) {
		if (mask.countOneBits() > ans) {
			mask = (mask - 1) and maxMask
			continue
		}
		val indices = (0 until 2 * c).filter { ((mask shr it) and 1) == 1 }
		if (indices.toSet().intersect(x).isNotEmpty()) {
			mask = (mask - 1) and maxMask
			continue
		}
		var good = indices.first() == (2 * c - indices.last())
		if (!good) {
			mask = (mask - 1) and maxMask
			continue
		}
		for (i in 1 until x.size) {
			val inside = (x[i - 1] + 1) until x[i]
			if (inside.toSet().intersect(indices).isEmpty()) good = false
		}
		if (!good) {
			mask = (mask - 1) and maxMask
			continue
		}
		for (i in 1..x.size - 2) {
			val prev = indices.last { it < x[i] }
			val next = indices.first { it > x[i] }
			if (prev + next != 2 * x[i]) good = false
		}
		if (good) ans = minOf(ans, indices.size)
		mask = (mask - 1) and maxMask
	}
	return ans
}

fun main() = repeat(readInt()) { println("Case #${it + 1}: ${solve()}") }

private fun Int.countOneBits(): Int = Integer.bitCount(this)
private fun readLn() = readLine()!!
private fun readInt() = readLn().toInt()
private fun readStrings() = readLn().split(" ")
private fun readInts() = readStrings().map { it.toInt() }

Compiled from "b_small.kt"
public final class gcj.y2020.round3.B_smallKt {
  private static final int solve();
    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 #21                 // 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 #21                 // Method java/lang/Number.intValue:()I
      31: istore_2
      32: invokestatic  #10                 // Method readInts:()Ljava/util/List;
      35: astore_3
      36: aload_3
      37: checkcast     #23                 // class java/lang/Iterable
      40: astore        5
      42: iconst_0
      43: istore        6
      45: aload         5
      47: astore        7
      49: new           #25                 // class java/util/ArrayList
      52: dup
      53: aload         5
      55: bipush        10
      57: invokestatic  #31                 // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
      60: invokespecial #35                 // Method java/util/ArrayList."<init>":(I)V
      63: checkcast     #37                 // class java/util/Collection
      66: astore        8
      68: iconst_0
      69: istore        9
      71: aload         7
      73: invokeinterface #41,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
      78: astore        10
      80: aload         10
      82: invokeinterface #47,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
      87: ifeq          147
      90: aload         10
      92: invokeinterface #51,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
      97: astore        11
      99: aload         8
     101: aload         11
     103: checkcast     #18                 // class java/lang/Number
     106: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     109: istore        12
     111: astore        20
     113: iconst_0
     114: istore        13
     116: iload         12
     118: aload_3
     119: iconst_0
     120: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     125: checkcast     #18                 // class java/lang/Number
     128: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     131: isub
     132: invokestatic  #57                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     135: aload         20
     137: swap
     138: invokeinterface #61,  2           // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     143: pop
     144: goto          80
     147: aload         8
     149: checkcast     #12                 // class java/util/List
     152: nop
     153: checkcast     #37                 // class java/util/Collection
     156: iload_1
     157: invokestatic  #57                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     160: invokestatic  #65                 // Method kotlin/collections/CollectionsKt.plus:(Ljava/util/Collection;Ljava/lang/Object;)Ljava/util/List;
     163: checkcast     #23                 // class java/lang/Iterable
     166: astore        5
     168: iconst_0
     169: istore        6
     171: aload         5
     173: astore        7
     175: new           #25                 // class java/util/ArrayList
     178: dup
     179: aload         5
     181: bipush        10
     183: invokestatic  #31                 // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
     186: invokespecial #35                 // Method java/util/ArrayList."<init>":(I)V
     189: checkcast     #37                 // class java/util/Collection
     192: astore        8
     194: iconst_0
     195: istore        9
     197: aload         7
     199: invokeinterface #41,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     204: astore        10
     206: aload         10
     208: invokeinterface #47,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     213: ifeq          261
     216: aload         10
     218: invokeinterface #51,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     223: astore        11
     225: aload         8
     227: aload         11
     229: checkcast     #18                 // class java/lang/Number
     232: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     235: istore        12
     237: astore        20
     239: iconst_0
     240: istore        13
     242: iload         12
     244: iconst_2
     245: imul
     246: invokestatic  #57                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     249: aload         20
     251: swap
     252: invokeinterface #61,  2           // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     257: pop
     258: goto          206
     261: aload         8
     263: checkcast     #12                 // class java/util/List
     266: nop
     267: astore        4
     269: invokestatic  #69                 // Method readLn:()Ljava/lang/String;
     272: pop
     273: iconst_1
     274: iconst_2
     275: iload_1
     276: imul
     277: iconst_1
     278: iadd
     279: ishl
     280: iconst_1
     281: isub
     282: istore        5
     284: aload         4
     286: invokeinterface #70,  1           // InterfaceMethod java/util/List.iterator:()Ljava/util/Iterator;
     291: astore        6
     293: aload         6
     295: invokeinterface #47,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     300: ifeq          330
     303: aload         6
     305: invokeinterface #51,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     310: checkcast     #18                 // class java/lang/Number
     313: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     316: istore        7
     318: iload         5
     320: iconst_1
     321: iload         7
     323: ishl
     324: ixor
     325: istore        5
     327: goto          293
     330: iconst_2
     331: iload_2
     332: imul
     333: istore        6
     335: iconst_0
     336: istore        7
     338: iload         5
     340: istore        7
     342: iload         7
     344: ifle          999
     347: iload         7
     349: invokestatic  #74                 // Method countOneBits:(I)I
     352: iload         6
     354: if_icmple     369
     357: iload         7
     359: iconst_1
     360: isub
     361: iload         5
     363: iand
     364: istore        7
     366: goto          342
     369: iconst_0
     370: iconst_2
     371: iload_1
     372: imul
     373: invokestatic  #80                 // Method kotlin/ranges/RangesKt.until:(II)Lkotlin/ranges/IntRange;
     376: checkcast     #23                 // class java/lang/Iterable
     379: astore        9
     381: iconst_0
     382: istore        10
     384: aload         9
     386: astore        11
     388: new           #25                 // class java/util/ArrayList
     391: dup
     392: invokespecial #83                 // Method java/util/ArrayList."<init>":()V
     395: checkcast     #37                 // class java/util/Collection
     398: astore        12
     400: iconst_0
     401: istore        13
     403: aload         11
     405: invokeinterface #41,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     410: astore        14
     412: aload         14
     414: invokeinterface #47,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     419: ifeq          476
     422: aload         14
     424: invokeinterface #51,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     429: astore        15
     431: aload         15
     433: checkcast     #18                 // class java/lang/Number
     436: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     439: istore        16
     441: iconst_0
     442: istore        17
     444: iload         7
     446: iload         16
     448: ishr
     449: iconst_1
     450: iand
     451: iconst_1
     452: if_icmpne     459
     455: iconst_1
     456: goto          460
     459: iconst_0
     460: ifeq          412
     463: aload         12
     465: aload         15
     467: invokeinterface #61,  2           // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     472: pop
     473: goto          412
     476: aload         12
     478: checkcast     #12                 // class java/util/List
     481: nop
     482: astore        8
     484: aload         8
     486: checkcast     #23                 // class java/lang/Iterable
     489: invokestatic  #87                 // Method kotlin/collections/CollectionsKt.toSet:(Ljava/lang/Iterable;)Ljava/util/Set;
     492: checkcast     #23                 // class java/lang/Iterable
     495: aload         4
     497: checkcast     #23                 // class java/lang/Iterable
     500: invokestatic  #91                 // Method kotlin/collections/CollectionsKt.intersect:(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Set;
     503: checkcast     #37                 // class java/util/Collection
     506: invokeinterface #94,  1           // InterfaceMethod java/util/Collection.isEmpty:()Z
     511: ifne          518
     514: iconst_1
     515: goto          519
     518: iconst_0
     519: ifeq          534
     522: iload         7
     524: iconst_1
     525: isub
     526: iload         5
     528: iand
     529: istore        7
     531: goto          342
     534: aload         8
     536: invokestatic  #98                 // Method kotlin/collections/CollectionsKt.first:(Ljava/util/List;)Ljava/lang/Object;
     539: checkcast     #18                 // class java/lang/Number
     542: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     545: iconst_2
     546: iload_1
     547: imul
     548: aload         8
     550: invokestatic  #101                // Method kotlin/collections/CollectionsKt.last:(Ljava/util/List;)Ljava/lang/Object;
     553: checkcast     #18                 // class java/lang/Number
     556: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     559: isub
     560: if_icmpne     567
     563: iconst_1
     564: goto          568
     567: iconst_0
     568: istore        9
     570: iload         9
     572: ifne          587
     575: iload         7
     577: iconst_1
     578: isub
     579: iload         5
     581: iand
     582: istore        7
     584: goto          342
     587: iconst_1
     588: istore        10
     590: aload         4
     592: invokeinterface #104,  1          // InterfaceMethod java/util/List.size:()I
     597: istore        11
     599: iload         10
     601: iload         11
     603: if_icmpge     681
     606: aload         4
     608: iload         10
     610: iconst_1
     611: isub
     612: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     617: checkcast     #18                 // class java/lang/Number
     620: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     623: iconst_1
     624: iadd
     625: aload         4
     627: iload         10
     629: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     634: checkcast     #18                 // class java/lang/Number
     637: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     640: invokestatic  #80                 // Method kotlin/ranges/RangesKt.until:(II)Lkotlin/ranges/IntRange;
     643: astore        12
     645: aload         12
     647: checkcast     #23                 // class java/lang/Iterable
     650: invokestatic  #87                 // Method kotlin/collections/CollectionsKt.toSet:(Ljava/lang/Iterable;)Ljava/util/Set;
     653: checkcast     #23                 // class java/lang/Iterable
     656: aload         8
     658: checkcast     #23                 // class java/lang/Iterable
     661: invokestatic  #91                 // Method kotlin/collections/CollectionsKt.intersect:(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Set;
     664: invokeinterface #107,  1          // InterfaceMethod java/util/Set.isEmpty:()Z
     669: ifeq          675
     672: iconst_0
     673: istore        9
     675: iinc          10, 1
     678: goto          599
     681: iload         9
     683: ifne          698
     686: iload         7
     688: iconst_1
     689: isub
     690: iload         5
     692: iand
     693: istore        7
     695: goto          342
     698: iconst_1
     699: istore        10
     701: aload         4
     703: invokeinterface #104,  1          // InterfaceMethod java/util/List.size:()I
     708: iconst_2
     709: isub
     710: istore        11
     712: iload         10
     714: iload         11
     716: if_icmpgt     968
     719: aload         8
     721: astore        13
     723: iconst_0
     724: istore        14
     726: aload         13
     728: aload         13
     730: invokeinterface #104,  1          // InterfaceMethod java/util/List.size:()I
     735: invokeinterface #111,  2          // InterfaceMethod java/util/List.listIterator:(I)Ljava/util/ListIterator;
     740: astore        15
     742: aload         15
     744: invokeinterface #116,  1          // InterfaceMethod java/util/ListIterator.hasPrevious:()Z
     749: ifeq          807
     752: aload         15
     754: invokeinterface #119,  1          // InterfaceMethod java/util/ListIterator.previous:()Ljava/lang/Object;
     759: astore        16
     761: aload         16
     763: checkcast     #18                 // class java/lang/Number
     766: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     769: istore        17
     771: iconst_0
     772: istore        18
     774: iload         17
     776: aload         4
     778: iload         10
     780: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     785: checkcast     #18                 // class java/lang/Number
     788: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     791: if_icmpge     798
     794: iconst_1
     795: goto          799
     798: iconst_0
     799: ifeq          742
     802: aload         16
     804: goto          817
     807: new           #121                // class java/util/NoSuchElementException
     810: dup
     811: ldc           #123                // String List contains no element matching the predicate.
     813: invokespecial #126                // Method java/util/NoSuchElementException."<init>":(Ljava/lang/String;)V
     816: athrow
     817: checkcast     #18                 // class java/lang/Number
     820: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     823: istore        12
     825: aload         8
     827: checkcast     #23                 // class java/lang/Iterable
     830: astore        14
     832: iconst_0
     833: istore        15
     835: aload         14
     837: invokeinterface #41,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     842: astore        16
     844: aload         16
     846: invokeinterface #47,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     851: ifeq          909
     854: aload         16
     856: invokeinterface #51,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     861: astore        17
     863: aload         17
     865: checkcast     #18                 // class java/lang/Number
     868: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     871: istore        18
     873: iconst_0
     874: istore        19
     876: iload         18
     878: aload         4
     880: iload         10
     882: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     887: checkcast     #18                 // class java/lang/Number
     890: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     893: if_icmple     900
     896: iconst_1
     897: goto          901
     900: iconst_0
     901: ifeq          844
     904: aload         17
     906: goto          919
     909: new           #121                // class java/util/NoSuchElementException
     912: dup
     913: ldc           #128                // String Collection contains no element matching the predicate.
     915: invokespecial #126                // Method java/util/NoSuchElementException."<init>":(Ljava/lang/String;)V
     918: athrow
     919: checkcast     #18                 // class java/lang/Number
     922: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     925: istore        13
     927: iload         12
     929: iload         13
     931: iadd
     932: iconst_2
     933: aload         4
     935: iload         10
     937: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     942: checkcast     #18                 // class java/lang/Number
     945: invokevirtual #21                 // Method java/lang/Number.intValue:()I
     948: imul
     949: if_icmpeq     955
     952: iconst_0
     953: istore        9
     955: iload         10
     957: iload         11
     959: if_icmpeq     968
     962: iinc          10, 1
     965: goto          719
     968: iload         9
     970: ifeq          987
     973: iload         6
     975: aload         8
     977: invokeinterface #104,  1          // InterfaceMethod java/util/List.size:()I
     982: invokestatic  #134                // Method java/lang/Math.min:(II)I
     985: istore        6
     987: iload         7
     989: iconst_1
     990: isub
     991: iload         5
     993: iand
     994: istore        7
     996: goto          342
     999: iload         6
    1001: ireturn

  public static final void main();
    Code:
       0: invokestatic  #184                // Method readInt:()I
       3: istore_0
       4: iconst_0
       5: istore_1
       6: iload_1
       7: iload_0
       8: if_icmpge     61
      11: iload_1
      12: istore_2
      13: iconst_0
      14: istore_3
      15: new           #186                // class java/lang/StringBuilder
      18: dup
      19: invokespecial #187                // Method java/lang/StringBuilder."<init>":()V
      22: ldc           #189                // String Case #
      24: invokevirtual #193                // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      27: iload_2
      28: iconst_1
      29: iadd
      30: invokevirtual #196                // Method java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
      33: ldc           #198                // String :
      35: invokevirtual #193                // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      38: invokestatic  #200                // Method solve:()I
      41: invokevirtual #196                // Method java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
      44: invokevirtual #203                // Method java/lang/StringBuilder.toString:()Ljava/lang/String;
      47: getstatic     #209                // Field java/lang/System.out:Ljava/io/PrintStream;
      50: swap
      51: invokevirtual #215                // Method java/io/PrintStream.println:(Ljava/lang/Object;)V
      54: nop
      55: iinc          1, 1
      58: goto          6
      61: return

  private static final int countOneBits(int);
    Code:
       0: iload_0
       1: invokestatic  #219                // Method java/lang/Integer.bitCount:(I)I
       4: ireturn

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

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

  private static final java.util.List<java.lang.String> readStrings();
    Code:
       0: invokestatic  #69                 // Method readLn:()Ljava/lang/String;
       3: checkcast     #238                // class java/lang/CharSequence
       6: iconst_1
       7: anewarray     #240                // class java/lang/String
      10: astore_0
      11: aload_0
      12: iconst_0
      13: ldc           #242                // String
      15: aastore
      16: aload_0
      17: iconst_0
      18: iconst_0
      19: bipush        6
      21: aconst_null
      22: invokestatic  #248                // 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  #251                // Method readStrings:()Ljava/util/List;
       3: checkcast     #23                 // class java/lang/Iterable
       6: astore_0
       7: iconst_0
       8: istore_1
       9: aload_0
      10: astore_2
      11: new           #25                 // class java/util/ArrayList
      14: dup
      15: aload_0
      16: bipush        10
      18: invokestatic  #31                 // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
      21: invokespecial #35                 // Method java/util/ArrayList."<init>":(I)V
      24: checkcast     #37                 // class java/util/Collection
      27: astore_3
      28: iconst_0
      29: istore        4
      31: aload_2
      32: invokeinterface #41,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
      37: astore        5
      39: aload         5
      41: invokeinterface #47,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
      46: ifeq          92
      49: aload         5
      51: invokeinterface #51,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
      56: astore        6
      58: aload_3
      59: aload         6
      61: checkcast     #240                // class java/lang/String
      64: astore        7
      66: astore        9
      68: iconst_0
      69: istore        8
      71: aload         7
      73: invokestatic  #234                // Method java/lang/Integer.parseInt:(Ljava/lang/String;)I
      76: nop
      77: invokestatic  #57                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      80: aload         9
      82: swap
      83: invokeinterface #61,  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  #256                // Method main:()V
       3: return
}


package gcj.y2020.round2

private fun solve(): String {
	val (n, m) = readInts()
	val data = (listOf(0) + readInts()).toIntArray()
	val edges = List(m) { readInts().map { it - 1 } }
	val added = IntArray(n)
	data.withIndex().filter { it.value < 0 }.forEach { entry ->
		added[(-entry.value until n).first { added[it] == 0 }] = entry.index
	}
	val byTime = data.indices.minus(added.toSet()).sortedBy { data[it] }.toMutableList()
	for (i in 1 until n) if (added[i] == 0) added[i] = byTime.removeAt(0)
	var x = 1
	while (x < n) {
		if (data[added[x]] > 0) { x++; continue }
		val y = (x + 1 until n).firstOrNull { data[added[it]] != data[added[x]] } ?: n
		for (i in x until y) data[added[i]] = data[added[x - 1]] + 1
		x = y
	}
	return edges.joinToString(" ") { (u, v) -> (data[u] - data[v]).abs().coerceAtLeast(1).toString() }
}

fun main() = repeat(readInt()) { println("Case #${it + 1}: ${solve()}") }

private fun Int.abs() = kotlin.math.abs(this)
private fun readLn() = readLine()!!
private fun readInt() = readLn().toInt()
private fun readStrings() = readLn().split(" ")
private fun readInts() = readStrings().map { it.toInt() }

Compiled from "b.kt"
public final class gcj.y2020.round2.BKt {
  private static final java.lang.String solve();
    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: iconst_0
      33: invokestatic  #28                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      36: invokestatic  #34                 // Method kotlin/collections/CollectionsKt.listOf:(Ljava/lang/Object;)Ljava/util/List;
      39: checkcast     #36                 // class java/util/Collection
      42: invokestatic  #10                 // Method readInts:()Ljava/util/List;
      45: checkcast     #38                 // class java/lang/Iterable
      48: invokestatic  #42                 // Method kotlin/collections/CollectionsKt.plus:(Ljava/util/Collection;Ljava/lang/Iterable;)Ljava/util/List;
      51: checkcast     #36                 // class java/util/Collection
      54: invokestatic  #46                 // Method kotlin/collections/CollectionsKt.toIntArray:(Ljava/util/Collection;)[I
      57: astore_3
      58: new           #48                 // class java/util/ArrayList
      61: dup
      62: iload_2
      63: invokespecial #52                 // Method java/util/ArrayList."<init>":(I)V
      66: astore        5
      68: iconst_0
      69: istore        6
      71: iload         6
      73: iload_2
      74: if_icmpge     213
      77: iload         6
      79: istore        7
      81: aload         5
      83: iload         7
      85: istore        8
      87: astore        20
      89: iconst_0
      90: istore        9
      92: invokestatic  #10                 // Method readInts:()Ljava/util/List;
      95: checkcast     #38                 // class java/lang/Iterable
      98: astore        10
     100: iconst_0
     101: istore        11
     103: aload         10
     105: astore        12
     107: new           #48                 // class java/util/ArrayList
     110: dup
     111: aload         10
     113: bipush        10
     115: invokestatic  #56                 // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
     118: invokespecial #52                 // Method java/util/ArrayList."<init>":(I)V
     121: checkcast     #36                 // class java/util/Collection
     124: astore        13
     126: iconst_0
     127: istore        14
     129: aload         12
     131: invokeinterface #60,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     136: astore        15
     138: aload         15
     140: invokeinterface #66,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     145: ifeq          193
     148: aload         15
     150: invokeinterface #70,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     155: astore        16
     157: aload         13
     159: aload         16
     161: checkcast     #18                 // class java/lang/Number
     164: invokevirtual #22                 // Method java/lang/Number.intValue:()I
     167: istore        17
     169: astore        18
     171: iconst_0
     172: istore        19
     174: iload         17
     176: iconst_1
     177: isub
     178: invokestatic  #28                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     181: aload         18
     183: swap
     184: invokeinterface #74,  2           // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     189: pop
     190: goto          138
     193: aload         13
     195: checkcast     #12                 // class java/util/List
     198: nop
     199: nop
     200: aload         20
     202: swap
     203: invokevirtual #75                 // Method java/util/ArrayList.add:(Ljava/lang/Object;)Z
     206: pop
     207: iinc          6, 1
     210: goto          71
     213: aload         5
     215: checkcast     #12                 // class java/util/List
     218: astore        4
     220: iload_1
     221: newarray       int
     223: astore        5
     225: aload_3
     226: invokestatic  #81                 // Method kotlin/collections/ArraysKt.withIndex:([I)Ljava/lang/Iterable;
     229: astore        6
     231: iconst_0
     232: istore        7
     234: aload         6
     236: astore        8
     238: new           #48                 // class java/util/ArrayList
     241: dup
     242: invokespecial #84                 // Method java/util/ArrayList."<init>":()V
     245: checkcast     #36                 // class java/util/Collection
     248: astore        9
     250: iconst_0
     251: istore        10
     253: aload         8
     255: invokeinterface #60,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     260: astore        11
     262: aload         11
     264: invokeinterface #66,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     269: ifeq          326
     272: aload         11
     274: invokeinterface #70,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     279: astore        12
     281: aload         12
     283: checkcast     #86                 // class kotlin/collections/IndexedValue
     286: astore        13
     288: iconst_0
     289: istore        14
     291: aload         13
     293: invokevirtual #89                 // Method kotlin/collections/IndexedValue.getValue:()Ljava/lang/Object;
     296: checkcast     #18                 // class java/lang/Number
     299: invokevirtual #22                 // Method java/lang/Number.intValue:()I
     302: ifge          309
     305: iconst_1
     306: goto          310
     309: iconst_0
     310: ifeq          262
     313: aload         9
     315: aload         12
     317: invokeinterface #74,  2           // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     322: pop
     323: goto          262
     326: aload         9
     328: checkcast     #12                 // class java/util/List
     331: nop
     332: checkcast     #38                 // class java/lang/Iterable
     335: astore        6
     337: nop
     338: iconst_0
     339: istore        7
     341: aload         6
     343: invokeinterface #60,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     348: astore        8
     350: aload         8
     352: invokeinterface #66,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     357: ifeq          499
     360: aload         8
     362: invokeinterface #70,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     367: astore        9
     369: aload         9
     371: checkcast     #86                 // class kotlin/collections/IndexedValue
     374: astore        10
     376: iconst_0
     377: istore        11
     379: aload         5
     381: aload         10
     383: invokevirtual #89                 // Method kotlin/collections/IndexedValue.getValue:()Ljava/lang/Object;
     386: checkcast     #18                 // class java/lang/Number
     389: invokevirtual #22                 // Method java/lang/Number.intValue:()I
     392: ineg
     393: iload_1
     394: invokestatic  #95                 // Method kotlin/ranges/RangesKt.until:(II)Lkotlin/ranges/IntRange;
     397: checkcast     #38                 // class java/lang/Iterable
     400: astore        12
     402: astore        13
     404: iconst_0
     405: istore        14
     407: aload         12
     409: invokeinterface #60,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     414: astore        15
     416: aload         15
     418: invokeinterface #66,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     423: ifeq          469
     426: aload         15
     428: invokeinterface #70,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     433: astore        16
     435: aload         16
     437: checkcast     #18                 // class java/lang/Number
     440: invokevirtual #22                 // Method java/lang/Number.intValue:()I
     443: istore        17
     445: iconst_0
     446: istore        18
     448: aload         5
     450: iload         17
     452: iaload
     453: ifne          460
     456: iconst_1
     457: goto          461
     460: iconst_0
     461: ifeq          416
     464: aload         16
     466: goto          479
     469: new           #97                 // class java/util/NoSuchElementException
     472: dup
     473: ldc           #99                 // String Collection contains no element matching the predicate.
     475: invokespecial #102                // Method java/util/NoSuchElementException."<init>":(Ljava/lang/String;)V
     478: athrow
     479: aload         13
     481: swap
     482: checkcast     #18                 // class java/lang/Number
     485: invokevirtual #22                 // Method java/lang/Number.intValue:()I
     488: aload         10
     490: invokevirtual #105                // Method kotlin/collections/IndexedValue.getIndex:()I
     493: iastore
     494: nop
     495: nop
     496: goto          350
     499: nop
     500: aload_3
     501: invokestatic  #109                // Method kotlin/collections/ArraysKt.getIndices:([I)Lkotlin/ranges/IntRange;
     504: checkcast     #38                 // class java/lang/Iterable
     507: aload         5
     509: invokestatic  #113                // Method kotlin/collections/ArraysKt.toSet:([I)Ljava/util/Set;
     512: checkcast     #38                 // class java/lang/Iterable
     515: invokestatic  #117                // Method kotlin/collections/CollectionsKt.minus:(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/List;
     518: checkcast     #38                 // class java/lang/Iterable
     521: astore        7
     523: iconst_0
     524: istore        8
     526: aload         7
     528: new           #119                // class gcj/y2020/round2/BKt$solve$$inlined$sortedBy$1
     531: dup
     532: aload_3
     533: invokespecial #122                // Method gcj/y2020/round2/BKt$solve$$inlined$sortedBy$1."<init>":([I)V
     536: checkcast     #124                // class java/util/Comparator
     539: invokestatic  #128                // Method kotlin/collections/CollectionsKt.sortedWith:(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/util/List;
     542: checkcast     #36                 // class java/util/Collection
     545: invokestatic  #132                // Method kotlin/collections/CollectionsKt.toMutableList:(Ljava/util/Collection;)Ljava/util/List;
     548: astore        6
     550: iconst_1
     551: istore        7
     553: iload         7
     555: iload_1
     556: if_icmpge     592
     559: aload         5
     561: iload         7
     563: iaload
     564: ifne          586
     567: aload         5
     569: iload         7
     571: aload         6
     573: iconst_0
     574: invokeinterface #135,  2          // InterfaceMethod java/util/List.remove:(I)Ljava/lang/Object;
     579: checkcast     #18                 // class java/lang/Number
     582: invokevirtual #22                 // Method java/lang/Number.intValue:()I
     585: iastore
     586: iinc          7, 1
     589: goto          553
     592: iconst_0
     593: istore        7
     595: iconst_1
     596: istore        7
     598: iload         7
     600: iload_1
     601: if_icmpge     774
     604: aload_3
     605: aload         5
     607: iload         7
     609: iaload
     610: iaload
     611: ifle          627
     614: iload         7
     616: istore        8
     618: iload         8
     620: iconst_1
     621: iadd
     622: istore        7
     624: goto          598
     627: iload         7
     629: iconst_1
     630: iadd
     631: iload_1
     632: invokestatic  #95                 // Method kotlin/ranges/RangesKt.until:(II)Lkotlin/ranges/IntRange;
     635: checkcast     #38                 // class java/lang/Iterable
     638: astore        10
     640: iconst_0
     641: istore        11
     643: aload         10
     645: invokeinterface #60,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     650: astore        12
     652: aload         12
     654: invokeinterface #66,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     659: ifeq          714
     662: aload         12
     664: invokeinterface #70,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     669: astore        13
     671: aload         13
     673: checkcast     #18                 // class java/lang/Number
     676: invokevirtual #22                 // Method java/lang/Number.intValue:()I
     679: istore        14
     681: iconst_0
     682: istore        15
     684: aload_3
     685: aload         5
     687: iload         14
     689: iaload
     690: iaload
     691: aload_3
     692: aload         5
     694: iload         7
     696: iaload
     697: iaload
     698: if_icmpeq     705
     701: iconst_1
     702: goto          706
     705: iconst_0
     706: ifeq          652
     709: aload         13
     711: goto          715
     714: aconst_null
     715: checkcast     #24                 // class java/lang/Integer
     718: dup
     719: ifnull        728
     722: invokevirtual #136                // Method java/lang/Integer.intValue:()I
     725: goto          730
     728: pop
     729: iload_1
     730: istore        8
     732: iload         7
     734: istore        9
     736: iload         9
     738: iload         8
     740: if_icmpge     767
     743: aload_3
     744: aload         5
     746: iload         9
     748: iaload
     749: aload_3
     750: aload         5
     752: iload         7
     754: iconst_1
     755: isub
     756: iaload
     757: iaload
     758: iconst_1
     759: iadd
     760: iastore
     761: iinc          9, 1
     764: goto          736
     767: iload         8
     769: istore        7
     771: goto          598
     774: aload         4
     776: checkcast     #38                 // class java/lang/Iterable
     779: ldc           #138                // String
     781: checkcast     #140                // class java/lang/CharSequence
     784: aconst_null
     785: aconst_null
     786: iconst_0
     787: aconst_null
     788: aload_3
     789: invokedynamic #160,  0            // InvokeDynamic #0:invoke:([I)Lkotlin/jvm/functions/Function1;
     794: bipush        30
     796: aconst_null
     797: invokestatic  #164                // 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;
     800: areturn

  public static final void main();
    Code:
       0: invokestatic  #213                // Method readInt:()I
       3: istore_0
       4: iconst_0
       5: istore_1
       6: iload_1
       7: iload_0
       8: if_icmpge     61
      11: iload_1
      12: istore_2
      13: iconst_0
      14: istore_3
      15: new           #215                // class java/lang/StringBuilder
      18: dup
      19: invokespecial #216                // Method java/lang/StringBuilder."<init>":()V
      22: ldc           #218                // String Case #
      24: invokevirtual #222                // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      27: iload_2
      28: iconst_1
      29: iadd
      30: invokevirtual #225                // Method java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
      33: ldc           #227                // String :
      35: invokevirtual #222                // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      38: invokestatic  #229                // Method solve:()Ljava/lang/String;
      41: invokevirtual #222                // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      44: invokevirtual #232                // Method java/lang/StringBuilder.toString:()Ljava/lang/String;
      47: getstatic     #238                // Field java/lang/System.out:Ljava/io/PrintStream;
      50: swap
      51: invokevirtual #244                // Method java/io/PrintStream.println:(Ljava/lang/Object;)V
      54: nop
      55: iinc          1, 1
      58: goto          6
      61: return

  private static final int abs(int);
    Code:
       0: iload_0
       1: invokestatic  #251                // Method java/lang/Math.abs:(I)I
       4: ireturn

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

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

  private static final java.util.List<java.lang.String> readStrings();
    Code:
       0: invokestatic  #265                // Method readLn:()Ljava/lang/String;
       3: checkcast     #140                // class java/lang/CharSequence
       6: iconst_1
       7: anewarray     #273                // class java/lang/String
      10: astore_0
      11: aload_0
      12: iconst_0
      13: ldc           #138                // String
      15: aastore
      16: aload_0
      17: iconst_0
      18: iconst_0
      19: bipush        6
      21: aconst_null
      22: invokestatic  #279                // 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  #282                // Method readStrings:()Ljava/util/List;
       3: checkcast     #38                 // class java/lang/Iterable
       6: astore_0
       7: iconst_0
       8: istore_1
       9: aload_0
      10: astore_2
      11: new           #48                 // class java/util/ArrayList
      14: dup
      15: aload_0
      16: bipush        10
      18: invokestatic  #56                 // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
      21: invokespecial #52                 // Method java/util/ArrayList."<init>":(I)V
      24: checkcast     #36                 // class java/util/Collection
      27: astore_3
      28: iconst_0
      29: istore        4
      31: aload_2
      32: invokeinterface #60,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
      37: astore        5
      39: aload         5
      41: invokeinterface #66,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
      46: ifeq          92
      49: aload         5
      51: invokeinterface #70,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
      56: astore        6
      58: aload_3
      59: aload         6
      61: checkcast     #273                // class java/lang/String
      64: astore        7
      66: astore        9
      68: iconst_0
      69: istore        8
      71: aload         7
      73: invokestatic  #269                // Method java/lang/Integer.parseInt:(Ljava/lang/String;)I
      76: nop
      77: invokestatic  #28                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      80: aload         9
      82: swap
      83: invokeinterface #74,  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  #287                // Method main:()V
       3: return

  private static final java.lang.CharSequence solve$lambda$7(int[], java.util.List);
    Code:
       0: aload_1
       1: ldc_w         #291                // String <destruct>
       4: invokestatic  #295                // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
       7: aload_1
       8: iconst_0
       9: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
      14: checkcast     #18                 // class java/lang/Number
      17: invokevirtual #22                 // Method java/lang/Number.intValue:()I
      20: istore_2
      21: aload_1
      22: iconst_1
      23: invokeinterface #16,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
      28: checkcast     #18                 // class java/lang/Number
      31: invokevirtual #22                 // Method java/lang/Number.intValue:()I
      34: istore_3
      35: aload_0
      36: iload_2
      37: iaload
      38: aload_0
      39: iload_3
      40: iaload
      41: isub
      42: invokestatic  #296                // Method abs:(I)I
      45: iconst_1
      46: invokestatic  #300                // Method kotlin/ranges/RangesKt.coerceAtLeast:(II)I
      49: invokestatic  #303                // Method java/lang/String.valueOf:(I)Ljava/lang/String;
      52: checkcast     #140                // class java/lang/CharSequence
      55: areturn
}

Compiled from "Comparisons.kt"
public final class gcj.y2020.round2.BKt$solve$$inlined$sortedBy$1<T> implements java.util.Comparator {
  final int[] $data$inlined;

  public gcj.y2020.round2.BKt$solve$$inlined$sortedBy$1(int[]);
    Code:
       0: aload_0
       1: aload_1
       2: putfield      #18                 // Field $data$inlined:[I
       5: aload_0
       6: invokespecial #21                 // Method java/lang/Object."<init>":()V
       9: return

  public final int compare(T, T);
    Code:
       0: aload_1
       1: checkcast     #28                 // class java/lang/Number
       4: invokevirtual #32                 // Method java/lang/Number.intValue:()I
       7: istore_3
       8: iconst_0
       9: istore        4
      11: aload_0
      12: getfield      #18                 // Field $data$inlined:[I
      15: iload_3
      16: iaload
      17: invokestatic  #38                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      20: checkcast     #40                 // class java/lang/Comparable
      23: aload_2
      24: checkcast     #28                 // class java/lang/Number
      27: invokevirtual #32                 // Method java/lang/Number.intValue:()I
      30: istore_3
      31: astore        5
      33: iconst_0
      34: istore        4
      36: aload_0
      37: getfield      #18                 // Field $data$inlined:[I
      40: iload_3
      41: iaload
      42: invokestatic  #38                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      45: aload         5
      47: swap
      48: checkcast     #40                 // class java/lang/Comparable
      51: invokestatic  #46                 // Method kotlin/comparisons/ComparisonsKt.compareValues:(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
      54: ireturn
}


package gcj.y2020.round2

private fun solve(): Int {
	val n = readInt()
	data class Point(val x: Int, val y: Int)
	val points = List(n) { val (x, y) = readInts(); Point(x, y) }
	val dirs = points.cartesianTriangle().map { (p, q) ->
		val (x, y) = dividedByGcd(p.x - q.x, p.y - q.y)
		if (x > 0 || (x == 0 && y > 0))	(x to y) else (-x to -y)
	}.toSet()
	return dirs.map { (x, y) ->
		val sizes = points.groupBy { it.x.toLong() * y - it.y.toLong() * x }.map { it.value.size }
		val bad = sizes.count { it == 1 } + sizes.filter { it > 1 }.sum() % 2
		sizes.sum() - maxOf(bad - 2, 0)
	}.maxOrNull() ?: 1
}

fun main() = repeat(readInt()) { println("Case #${it + 1}: ${solve()}") }

private fun dividedByGcd(a: Int, b: Int) = gcd(a.abs(), b.abs()).let { a / it to b / it }
private tailrec fun gcd(a: Int, b: Int): Int = if (a == 0) b else gcd(b % a, a)
private fun Int.abs() = kotlin.math.abs(this)
private fun <T> Iterable<T>.cartesianTriangle() = withIndex().flatMap { x -> take(x.index).map { x.value to it } }
private fun readLn() = readLine()!!
private fun readInt() = readLn().toInt()
private fun readStrings() = readLn().split(" ")
private fun readInts() = readStrings().map { it.toInt() }

Compiled from "c.kt"
public final class gcj.y2020.round2.CKt$solve$Point {
  private final int x;

  private final int y;

  public gcj.y2020.round2.CKt$solve$Point(int, int);
    Code:
       0: aload_0
       1: invokespecial #9                  // Method java/lang/Object."<init>":()V
       4: aload_0
       5: iload_1
       6: putfield      #13                 // Field x:I
       9: aload_0
      10: iload_2
      11: putfield      #16                 // Field y:I
      14: return

  public final int getX();
    Code:
       0: aload_0
       1: getfield      #13                 // Field x:I
       4: ireturn

  public final int getY();
    Code:
       0: aload_0
       1: getfield      #16                 // Field y:I
       4: ireturn

  public final int component1();
    Code:
       0: aload_0
       1: getfield      #13                 // Field x:I
       4: ireturn

  public final int component2();
    Code:
       0: aload_0
       1: getfield      #16                 // Field y:I
       4: ireturn

  public final gcj.y2020.round2.CKt$solve$Point copy(int, int);
    Code:
       0: new           #2                  // class gcj/y2020/round2/CKt$solve$Point
       3: dup
       4: iload_1
       5: iload_2
       6: invokespecial #27                 // Method "<init>":(II)V
       9: areturn

  public static gcj.y2020.round2.CKt$solve$Point copy$default(gcj.y2020.round2.CKt$solve$Point, int, int, int, java.lang.Object);
    Code:
       0: iload_3
       1: iconst_1
       2: iand
       3: ifeq          11
       6: aload_0
       7: getfield      #13                 // Field x:I
      10: istore_1
      11: iload_3
      12: iconst_2
      13: iand
      14: ifeq          22
      17: aload_0
      18: getfield      #16                 // Field y:I
      21: istore_2
      22: aload_0
      23: iload_1
      24: iload_2
      25: invokevirtual #31                 // Method copy:(II)Lgcj/y2020/round2/CKt$solve$Point;
      28: areturn

  public java.lang.String toString();
    Code:
       0: new           #35                 // class java/lang/StringBuilder
       3: dup
       4: invokespecial #36                 // Method java/lang/StringBuilder."<init>":()V
       7: ldc           #38                 // String Point(x=
       9: invokevirtual #42                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      12: aload_0
      13: getfield      #13                 // Field x:I
      16: invokevirtual #45                 // Method java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
      19: ldc           #47                 // String , y=
      21: invokevirtual #42                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      24: aload_0
      25: getfield      #16                 // Field y:I
      28: invokevirtual #45                 // Method java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
      31: bipush        41
      33: invokevirtual #50                 // Method java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;
      36: invokevirtual #52                 // Method java/lang/StringBuilder.toString:()Ljava/lang/String;
      39: areturn

  public int hashCode();
    Code:
       0: aload_0
       1: getfield      #13                 // Field x:I
       4: invokestatic  #58                 // Method java/lang/Integer.hashCode:(I)I
       7: istore_1
       8: iload_1
       9: bipush        31
      11: imul
      12: aload_0
      13: getfield      #16                 // Field y:I
      16: invokestatic  #58                 // Method java/lang/Integer.hashCode:(I)I
      19: iadd
      20: istore_1
      21: iload_1
      22: ireturn

  public boolean equals(java.lang.Object);
    Code:
       0: aload_0
       1: aload_1
       2: if_acmpne     7
       5: iconst_1
       6: ireturn
       7: aload_1
       8: instanceof    #2                  // class gcj/y2020/round2/CKt$solve$Point
      11: ifne          16
      14: iconst_0
      15: ireturn
      16: aload_1
      17: checkcast     #2                  // class gcj/y2020/round2/CKt$solve$Point
      20: astore_2
      21: aload_0
      22: getfield      #13                 // Field x:I
      25: aload_2
      26: getfield      #13                 // Field x:I
      29: if_icmpeq     34
      32: iconst_0
      33: ireturn
      34: aload_0
      35: getfield      #16                 // Field y:I
      38: aload_2
      39: getfield      #16                 // Field y:I
      42: if_icmpeq     47
      45: iconst_0
      46: ireturn
      47: iconst_1
      48: ireturn
}

Compiled from "c.kt"
public final class gcj.y2020.round2.CKt {
  private static final int solve();
    Code:
       0: invokestatic  #9                  // Method readInt:()I
       3: istore_0
       4: new           #11                 // class java/util/ArrayList
       7: dup
       8: iload_0
       9: invokespecial #15                 // Method java/util/ArrayList."<init>":(I)V
      12: astore_2
      13: iconst_0
      14: istore_3
      15: iload_3
      16: iload_0
      17: if_icmpge     94
      20: iload_3
      21: istore        4
      23: aload_2
      24: iload         4
      26: istore        5
      28: astore        33
      30: iconst_0
      31: istore        6
      33: invokestatic  #19                 // Method readInts:()Ljava/util/List;
      36: astore        7
      38: aload         7
      40: iconst_0
      41: invokeinterface #25,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
      46: checkcast     #27                 // class java/lang/Number
      49: invokevirtual #30                 // Method java/lang/Number.intValue:()I
      52: istore        8
      54: aload         7
      56: iconst_1
      57: invokeinterface #25,  2           // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
      62: checkcast     #27                 // class java/lang/Number
      65: invokevirtual #30                 // Method java/lang/Number.intValue:()I
      68: istore        9
      70: new           #32                 // class gcj/y2020/round2/CKt$solve$Point
      73: dup
      74: iload         8
      76: iload         9
      78: invokespecial #35                 // Method gcj/y2020/round2/CKt$solve$Point."<init>":(II)V
      81: aload         33
      83: swap
      84: invokevirtual #39                 // Method java/util/ArrayList.add:(Ljava/lang/Object;)Z
      87: pop
      88: iinc          3, 1
      91: goto          15
      94: aload_2
      95: checkcast     #21                 // class java/util/List
      98: astore_1
      99: aload_1
     100: checkcast     #41                 // class java/lang/Iterable
     103: invokestatic  #45                 // Method cartesianTriangle:(Ljava/lang/Iterable;)Ljava/util/List;
     106: checkcast     #41                 // class java/lang/Iterable
     109: astore_3
     110: iconst_0
     111: istore        4
     113: aload_3
     114: astore        5
     116: new           #11                 // class java/util/ArrayList
     119: dup
     120: aload_3
     121: bipush        10
     123: invokestatic  #51                 // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
     126: invokespecial #15                 // Method java/util/ArrayList."<init>":(I)V
     129: checkcast     #53                 // class java/util/Collection
     132: astore        6
     134: iconst_0
     135: istore        7
     137: aload         5
     139: invokeinterface #57,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     144: astore        8
     146: aload         8
     148: invokeinterface #63,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     153: ifeq          310
     156: aload         8
     158: invokeinterface #67,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     163: astore        9
     165: aload         6
     167: aload         9
     169: checkcast     #69                 // class kotlin/Pair
     172: astore        10
     174: astore        33
     176: iconst_0
     177: istore        11
     179: aload         10
     181: invokevirtual #72                 // Method kotlin/Pair.component1:()Ljava/lang/Object;
     184: checkcast     #32                 // class gcj/y2020/round2/CKt$solve$Point
     187: astore        12
     189: aload         10
     191: invokevirtual #75                 // Method kotlin/Pair.component2:()Ljava/lang/Object;
     194: checkcast     #32                 // class gcj/y2020/round2/CKt$solve$Point
     197: astore        13
     199: aload         12
     201: invokevirtual #78                 // Method gcj/y2020/round2/CKt$solve$Point.getX:()I
     204: aload         13
     206: invokevirtual #78                 // Method gcj/y2020/round2/CKt$solve$Point.getX:()I
     209: isub
     210: aload         12
     212: invokevirtual #81                 // Method gcj/y2020/round2/CKt$solve$Point.getY:()I
     215: aload         13
     217: invokevirtual #81                 // Method gcj/y2020/round2/CKt$solve$Point.getY:()I
     220: isub
     221: invokestatic  #85                 // Method dividedByGcd:(II)Lkotlin/Pair;
     224: astore        14
     226: aload         14
     228: invokevirtual #72                 // Method kotlin/Pair.component1:()Ljava/lang/Object;
     231: checkcast     #27                 // class java/lang/Number
     234: invokevirtual #30                 // Method java/lang/Number.intValue:()I
     237: istore        15
     239: aload         14
     241: invokevirtual #75                 // Method kotlin/Pair.component2:()Ljava/lang/Object;
     244: checkcast     #27                 // class java/lang/Number
     247: invokevirtual #30                 // Method java/lang/Number.intValue:()I
     250: istore        16
     252: iload         15
     254: ifgt          267
     257: iload         15
     259: ifne          283
     262: iload         16
     264: ifle          283
     267: iload         15
     269: invokestatic  #91                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     272: iload         16
     274: invokestatic  #91                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     277: invokestatic  #97                 // Method kotlin/TuplesKt.to:(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
     280: goto          298
     283: iload         15
     285: ineg
     286: invokestatic  #91                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     289: iload         16
     291: ineg
     292: invokestatic  #91                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     295: invokestatic  #97                 // Method kotlin/TuplesKt.to:(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
     298: aload         33
     300: swap
     301: invokeinterface #98,  2           // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     306: pop
     307: goto          146
     310: aload         6
     312: checkcast     #21                 // class java/util/List
     315: nop
     316: checkcast     #41                 // class java/lang/Iterable
     319: invokestatic  #102                // Method kotlin/collections/CollectionsKt.toSet:(Ljava/lang/Iterable;)Ljava/util/Set;
     322: astore_2
     323: aload_2
     324: checkcast     #41                 // class java/lang/Iterable
     327: astore        4
     329: iconst_0
     330: istore        5
     332: aload         4
     334: astore        6
     336: new           #11                 // class java/util/ArrayList
     339: dup
     340: aload         4
     342: bipush        10
     344: invokestatic  #51                 // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
     347: invokespecial #15                 // Method java/util/ArrayList."<init>":(I)V
     350: checkcast     #53                 // class java/util/Collection
     353: astore        7
     355: iconst_0
     356: istore        8
     358: aload         6
     360: invokeinterface #57,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     365: astore        9
     367: aload         9
     369: invokeinterface #63,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     374: ifeq          977
     377: aload         9
     379: invokeinterface #67,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     384: astore        10
     386: aload         7
     388: aload         10
     390: checkcast     #69                 // class kotlin/Pair
     393: astore        11
     395: astore        33
     397: iconst_0
     398: istore        12
     400: aload         11
     402: invokevirtual #72                 // Method kotlin/Pair.component1:()Ljava/lang/Object;
     405: checkcast     #27                 // class java/lang/Number
     408: invokevirtual #30                 // Method java/lang/Number.intValue:()I
     411: istore        13
     413: aload         11
     415: invokevirtual #75                 // Method kotlin/Pair.component2:()Ljava/lang/Object;
     418: checkcast     #27                 // class java/lang/Number
     421: invokevirtual #30                 // Method java/lang/Number.intValue:()I
     424: istore        14
     426: aload_1
     427: checkcast     #41                 // class java/lang/Iterable
     430: astore        15
     432: iconst_0
     433: istore        16
     435: aload         15
     437: astore        17
     439: new           #104                // class java/util/LinkedHashMap
     442: dup
     443: invokespecial #107                // Method java/util/LinkedHashMap."<init>":()V
     446: checkcast     #109                // class java/util/Map
     449: astore        18
     451: iconst_0
     452: istore        19
     454: aload         17
     456: invokeinterface #57,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     461: astore        20
     463: aload         20
     465: invokeinterface #63,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     470: ifeq          594
     473: aload         20
     475: invokeinterface #67,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     480: astore        21
     482: aload         21
     484: checkcast     #32                 // class gcj/y2020/round2/CKt$solve$Point
     487: astore        22
     489: iconst_0
     490: istore        23
     492: aload         22
     494: invokevirtual #78                 // Method gcj/y2020/round2/CKt$solve$Point.getX:()I
     497: i2l
     498: iload         14
     500: i2l
     501: lmul
     502: aload         22
     504: invokevirtual #81                 // Method gcj/y2020/round2/CKt$solve$Point.getY:()I
     507: i2l
     508: iload         13
     510: i2l
     511: lmul
     512: lsub
     513: invokestatic  #114                // Method java/lang/Long.valueOf:(J)Ljava/lang/Long;
     516: astore        24
     518: aload         18
     520: astore        25
     522: iconst_0
     523: istore        26
     525: aload         25
     527: aload         24
     529: invokeinterface #117,  2          // InterfaceMethod java/util/Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
     534: astore        27
     536: aload         27
     538: ifnonnull     573
     541: iconst_0
     542: istore        28
     544: new           #11                 // class java/util/ArrayList
     547: dup
     548: invokespecial #118                // Method java/util/ArrayList."<init>":()V
     551: checkcast     #21                 // class java/util/List
     554: astore        28
     556: aload         25
     558: aload         24
     560: aload         28
     562: invokeinterface #122,  3          // InterfaceMethod java/util/Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
     567: pop
     568: aload         28
     570: goto          575
     573: aload         27
     575: nop
     576: checkcast     #21                 // class java/util/List
     579: astore        29
     581: aload         29
     583: aload         21
     585: invokeinterface #123,  2          // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z
     590: pop
     591: goto          463
     594: aload         18
     596: nop
     597: astore        15
     599: nop
     600: iconst_0
     601: istore        16
     603: aload         15
     605: astore        17
     607: new           #11                 // class java/util/ArrayList
     610: dup
     611: aload         15
     613: invokeinterface #126,  1          // InterfaceMethod java/util/Map.size:()I
     618: invokespecial #15                 // Method java/util/ArrayList."<init>":(I)V
     621: checkcast     #53                 // class java/util/Collection
     624: astore        18
     626: iconst_0
     627: istore        19
     629: aload         17
     631: invokeinterface #130,  1          // InterfaceMethod java/util/Map.entrySet:()Ljava/util/Set;
     636: invokeinterface #133,  1          // InterfaceMethod java/util/Set.iterator:()Ljava/util/Iterator;
     641: astore        20
     643: aload         20
     645: invokeinterface #63,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     650: ifeq          706
     653: aload         20
     655: invokeinterface #67,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     660: checkcast     #135                // class java/util/Map$Entry
     663: astore        21
     665: aload         18
     667: aload         21
     669: astore        22
     671: astore        30
     673: iconst_0
     674: istore        23
     676: aload         22
     678: invokeinterface #138,  1          // InterfaceMethod java/util/Map$Entry.getValue:()Ljava/lang/Object;
     683: checkcast     #21                 // class java/util/List
     686: invokeinterface #139,  1          // InterfaceMethod java/util/List.size:()I
     691: invokestatic  #91                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     694: aload         30
     696: swap
     697: invokeinterface #98,  2           // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     702: pop
     703: goto          643
     706: aload         18
     708: checkcast     #21                 // class java/util/List
     711: nop
     712: astore        31
     714: aload         31
     716: checkcast     #41                 // class java/lang/Iterable
     719: astore        16
     721: iconst_0
     722: istore        17
     724: aload         16
     726: instanceof    #53                 // class java/util/Collection
     729: ifeq          749
     732: aload         16
     734: checkcast     #53                 // class java/util/Collection
     737: invokeinterface #142,  1          // InterfaceMethod java/util/Collection.isEmpty:()Z
     742: ifeq          749
     745: iconst_0
     746: goto          823
     749: iconst_0
     750: istore        18
     752: aload         16
     754: invokeinterface #57,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     759: astore        19
     761: aload         19
     763: invokeinterface #63,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     768: ifeq          821
     771: aload         19
     773: invokeinterface #67,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     778: astore        20
     780: aload         20
     782: checkcast     #27                 // class java/lang/Number
     785: invokevirtual #30                 // Method java/lang/Number.intValue:()I
     788: istore        21
     790: iconst_0
     791: istore        22
     793: iload         21
     795: iconst_1
     796: if_icmpne     803
     799: iconst_1
     800: goto          804
     803: iconst_0
     804: ifeq          761
     807: iinc          18, 1
     810: iload         18
     812: ifge          761
     815: invokestatic  #145                // Method kotlin/collections/CollectionsKt.throwCountOverflow:()V
     818: goto          761
     821: iload         18
     823: aload         31
     825: checkcast     #41                 // class java/lang/Iterable
     828: astore        16
     830: istore        30
     832: iconst_0
     833: istore        17
     835: aload         16
     837: astore        18
     839: new           #11                 // class java/util/ArrayList
     842: dup
     843: invokespecial #118                // Method java/util/ArrayList."<init>":()V
     846: checkcast     #53                 // class java/util/Collection
     849: astore        19
     851: iconst_0
     852: istore        20
     854: aload         18
     856: invokeinterface #57,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     861: astore        21
     863: aload         21
     865: invokeinterface #63,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     870: ifeq          922
     873: aload         21
     875: invokeinterface #67,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     880: astore        22
     882: aload         22
     884: checkcast     #27                 // class java/lang/Number
     887: invokevirtual #30                 // Method java/lang/Number.intValue:()I
     890: istore        23
     892: iconst_0
     893: istore        24
     895: iload         23
     897: iconst_1
     898: if_icmple     905
     901: iconst_1
     902: goto          906
     905: iconst_0
     906: ifeq          863
     909: aload         19
     911: aload         22
     913: invokeinterface #98,  2           // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     918: pop
     919: goto          863
     922: aload         19
     924: checkcast     #21                 // class java/util/List
     927: nop
     928: astore        32
     930: iload         30
     932: aload         32
     934: checkcast     #41                 // class java/lang/Iterable
     937: invokestatic  #149                // Method kotlin/collections/CollectionsKt.sumOfInt:(Ljava/lang/Iterable;)I
     940: iconst_2
     941: irem
     942: iadd
     943: istore        15
     945: aload         31
     947: checkcast     #41                 // class java/lang/Iterable
     950: invokestatic  #149                // Method kotlin/collections/CollectionsKt.sumOfInt:(Ljava/lang/Iterable;)I
     953: iload         15
     955: iconst_2
     956: isub
     957: iconst_0
     958: invokestatic  #155                // Method java/lang/Math.max:(II)I
     961: isub
     962: invokestatic  #91                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     965: aload         33
     967: swap
     968: invokeinterface #98,  2           // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     973: pop
     974: goto          367
     977: aload         7
     979: checkcast     #21                 // class java/util/List
     982: nop
     983: checkcast     #41                 // class java/lang/Iterable
     986: invokestatic  #159                // Method kotlin/collections/CollectionsKt.maxOrNull:(Ljava/lang/Iterable;)Ljava/lang/Comparable;
     989: checkcast     #87                 // class java/lang/Integer
     992: dup
     993: ifnull        1002
     996: invokevirtual #160                // Method java/lang/Integer.intValue:()I
     999: goto          1004
    1002: pop
    1003: iconst_1
    1004: ireturn

  public static final void main();
    Code:
       0: invokestatic  #9                  // Method readInt:()I
       3: istore_0
       4: iconst_0
       5: istore_1
       6: iload_1
       7: iload_0
       8: if_icmpge     61
      11: iload_1
      12: istore_2
      13: iconst_0
      14: istore_3
      15: new           #215                // class java/lang/StringBuilder
      18: dup
      19: invokespecial #216                // Method java/lang/StringBuilder."<init>":()V
      22: ldc           #218                // String Case #
      24: invokevirtual #222                // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      27: iload_2
      28: iconst_1
      29: iadd
      30: invokevirtual #225                // Method java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
      33: ldc           #227                // String :
      35: invokevirtual #222                // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      38: invokestatic  #229                // Method solve:()I
      41: invokevirtual #225                // Method java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
      44: invokevirtual #233                // Method java/lang/StringBuilder.toString:()Ljava/lang/String;
      47: getstatic     #239                // Field java/lang/System.out:Ljava/io/PrintStream;
      50: swap
      51: invokevirtual #245                // Method java/io/PrintStream.println:(Ljava/lang/Object;)V
      54: nop
      55: iinc          1, 1
      58: goto          6
      61: return

  private static final kotlin.Pair<java.lang.Integer, java.lang.Integer> dividedByGcd(int, int);
    Code:
       0: iload_0
       1: invokestatic  #251                // Method abs:(I)I
       4: iload_1
       5: invokestatic  #251                // Method abs:(I)I
       8: invokestatic  #254                // Method gcd:(II)I
      11: istore_2
      12: iconst_0
      13: istore_3
      14: iload_0
      15: iload_2
      16: idiv
      17: invokestatic  #91                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      20: iload_1
      21: iload_2
      22: idiv
      23: invokestatic  #91                 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
      26: invokestatic  #97                 // Method kotlin/TuplesKt.to:(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
      29: nop
      30: areturn

  private static final int gcd(int, int);
    Code:
       0: iload_0
       1: ifne          8
       4: iload_1
       5: goto          21
       8: iload_1
       9: iload_0
      10: irem
      11: istore_2
      12: iload_0
      13: istore_3
      14: iload_2
      15: istore_0
      16: iload_3
      17: istore_1
      18: goto          0
      21: ireturn

  private static final int abs(int);
    Code:
       0: iload_0
       1: invokestatic  #258                // Method java/lang/Math.abs:(I)I
       4: ireturn

  private static final <T> java.util.List<kotlin.Pair<T, T>> cartesianTriangle(java.lang.Iterable<? extends T>);
    Code:
       0: aload_0
       1: invokestatic  #264                // Method kotlin/collections/CollectionsKt.withIndex:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
       4: astore_1
       5: iconst_0
       6: istore_2
       7: aload_1
       8: astore_3
       9: new           #11                 // class java/util/ArrayList
      12: dup
      13: invokespecial #118                // Method java/util/ArrayList."<init>":()V
      16: checkcast     #53                 // class java/util/Collection
      19: astore        4
      21: iconst_0
      22: istore        5
      24: aload_3
      25: invokeinterface #57,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
      30: astore        6
      32: aload         6
      34: invokeinterface #63,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
      39: ifeq          188
      42: aload         6
      44: invokeinterface #67,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
      49: astore        7
      51: aload         7
      53: checkcast     #266                // class kotlin/collections/IndexedValue
      56: astore        8
      58: iconst_0
      59: istore        9
      61: aload_0
      62: aload         8
      64: invokevirtual #269                // Method kotlin/collections/IndexedValue.getIndex:()I
      67: invokestatic  #273                // Method kotlin/collections/CollectionsKt.take:(Ljava/lang/Iterable;I)Ljava/util/List;
      70: checkcast     #41                 // class java/lang/Iterable
      73: astore        10
      75: iconst_0
      76: istore        11
      78: aload         10
      80: astore        12
      82: new           #11                 // class java/util/ArrayList
      85: dup
      86: aload         10
      88: bipush        10
      90: invokestatic  #51                 // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
      93: invokespecial #15                 // Method java/util/ArrayList."<init>":(I)V
      96: checkcast     #53                 // class java/util/Collection
      99: astore        13
     101: iconst_0
     102: istore        14
     104: aload         12
     106: invokeinterface #57,  1           // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     111: astore        15
     113: aload         15
     115: invokeinterface #63,  1           // InterfaceMethod java/util/Iterator.hasNext:()Z
     120: ifeq          165
     123: aload         15
     125: invokeinterface #67,  1           // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     130: astore        16
     132: aload         13
     134: aload         16
     136: astore        17
     138: astore        18
     140: iconst_0
     141: istore        19
     143: aload         8
     145: invokevirtual #274                // Method kotlin/collections/IndexedValue.getValue:()Ljava/lang/Object;
     148: aload         17
     150: invokestatic  #97                 // Method kotlin/TuplesKt.to:(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
     153: aload         18
     155: swap
     156: invokeinterface #98,  2           // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     161: pop
     162: goto          113
     165: aload         13
     167: checkcast     #21                 // class java/util/List
     170: nop
     171: checkcast     #41                 // class java/lang/Iterable
     174: nop
     175: astore        8
     177: aload         4
     179: aload         8
     181: invokestatic  #278                // Method kotlin/collections/CollectionsKt.addAll:(Ljava/util/Collection;Ljava/lang/Iterable;)Z
     184: pop
     185: goto          32
     188: aload         4
     190: checkcast     #21                 // class java/util/List
     193: nop
     194: areturn

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

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

  private static final java.util.List<java.lang.String> readStrings();
    Code:
       0: invokestatic  #299                // Method readLn:()Ljava/lang/String;
       3: checkcast     #307                // class java/lang/CharSequence
       6: iconst_1
       7: anewarray     #309                // class java/lang/String
      10: astore_0
      11: aload_0
      12: iconst_0
      13: ldc_w         #311                // String
      16: aastore
      17: aload_0
      18: iconst_0
      19: iconst_0
      20: bipush        6
      22: aconst_null
      23: invokestatic  #317                // Method kotlin/text/StringsKt.split$default:(Ljava/lang/CharSequence;[Ljava/lang/String;ZIILjava/lang/Object;)Ljava/util/List;
      26: areturn

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

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