fun main() {
    data class Monkey(
        val id: Int,
        val items: ArrayDeque<Long>,
        val operation: Char,
        val operationParam: String,
        val testParam: Int,
        val onSuccessTarget: Int,
        val onFailedTarget: Int,
    )

    val inputLineRegex = """\d+""".toRegex()

    fun monkeyBusiness(input: List<String>, rounds: Int, divisor: Int): Long {
        val monkeys = mutableListOf<Monkey>()
        val inspections = mutableMapOf<Int, Int>()

        input.chunked(7).forEach { line ->
            Monkey(
                id = inputLineRegex.findAll(line[0]).map { it.value.toInt() }.first(),
                items = ArrayDeque(inputLineRegex.findAll(line[1]).map { it.value.toLong() }.toList()),
                operation = line[2].split("= old").last()[1],
                operationParam = line[2].split("= old").last().substring(3),
                testParam = inputLineRegex.findAll(line[3]).map { it.value.toInt() }.first(),
                onSuccessTarget = inputLineRegex.findAll(line[4]).map { it.value.toInt() }.first(),
                onFailedTarget = inputLineRegex.findAll(line[5]).map { it.value.toInt() }.first(),
            ).let {
                monkeys.add(it)
                inspections[it.id] = 0
            }
        }

        val maxDiv = monkeys.map { it.testParam }.toSet().reduce(Int::times)

        repeat(rounds) {
            monkeys.forEach { monkey ->
                inspections[monkey.id] = inspections[monkey.id]!! + monkey.items.size

                while (monkey.items.isNotEmpty()) {
                    val worryLevel = monkey.items.removeFirst()
                    val operationParameter: Long = if (monkey.operationParam == "old") worryLevel else monkey.operationParam.toLong()
                    val newWorryLevel = when (monkey.operation) {
                        '*' -> worryLevel * operationParameter
                        '+' -> worryLevel + operationParameter
                        else -> throw Exception("Unknown operation $monkey.operation")
                    } / divisor % maxDiv

                    monkeys[if (newWorryLevel % monkey.testParam == 0L) monkey.onSuccessTarget else monkey.onFailedTarget].items.addLast(newWorryLevel)
                }
            }
        }

        return inspections.values.sorted().takeLast(2).map { it.toLong() }.reduce(Long::times)
    }

    fun part1(input: List<String>) = monkeyBusiness(input, rounds = 20, divisor = 3)

    fun part2(input: List<String>) = monkeyBusiness(input, rounds = 10000, divisor = 1)

    test(
        day = 11,
        testTarget1 = 10605,
        testTarget2 = 2713310158L,
        part1 = ::part1,
        part2 = ::part2,
    )
}

Compiled from "Day11.kt"
public final class Day11Kt$main$Monkey {
  private final int id;

  private final kotlin.collections.ArrayDeque<java.lang.Long> items;

  private final char operation;

  private final java.lang.String operationParam;

  private final int testParam;

  private final int onSuccessTarget;

  private final int onFailedTarget;

  public Day11Kt$main$Monkey(int, kotlin.collections.ArrayDeque<java.lang.Long>, char, java.lang.String, int, int, int);
    Code:
       0: aload_2
       1: ldc           #9                  // String items
       3: invokestatic  #15                 // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
       6: aload         4
       8: ldc           #17                 // String operationParam
      10: invokestatic  #15                 // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
      13: aload_0
      14: invokespecial #20                 // Method java/lang/Object."<init>":()V
      17: aload_0
      18: iload_1
      19: putfield      #24                 // Field id:I
      22: aload_0
      23: aload_2
      24: putfield      #27                 // Field items:Lkotlin/collections/ArrayDeque;
      27: aload_0
      28: iload_3
      29: putfield      #31                 // Field operation:C
      32: aload_0
      33: aload         4
      35: putfield      #34                 // Field operationParam:Ljava/lang/String;
      38: aload_0
      39: iload         5
      41: putfield      #37                 // Field testParam:I
      44: aload_0
      45: iload         6
      47: putfield      #40                 // Field onSuccessTarget:I
      50: aload_0
      51: iload         7
      53: putfield      #43                 // Field onFailedTarget:I
      56: return

  public final int getId();
    Code:
       0: aload_0
       1: getfield      #24                 // Field id:I
       4: ireturn

  public final kotlin.collections.ArrayDeque<java.lang.Long> getItems();
    Code:
       0: aload_0
       1: getfield      #27                 // Field items:Lkotlin/collections/ArrayDeque;
       4: areturn

  public final char getOperation();
    Code:
       0: aload_0
       1: getfield      #31                 // Field operation:C
       4: ireturn

  public final java.lang.String getOperationParam();
    Code:
       0: aload_0
       1: getfield      #34                 // Field operationParam:Ljava/lang/String;
       4: areturn

  public final int getTestParam();
    Code:
       0: aload_0
       1: getfield      #37                 // Field testParam:I
       4: ireturn

  public final int getOnSuccessTarget();
    Code:
       0: aload_0
       1: getfield      #40                 // Field onSuccessTarget:I
       4: ireturn

  public final int getOnFailedTarget();
    Code:
       0: aload_0
       1: getfield      #43                 // Field onFailedTarget:I
       4: ireturn

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

  public final kotlin.collections.ArrayDeque<java.lang.Long> component2();
    Code:
       0: aload_0
       1: getfield      #27                 // Field items:Lkotlin/collections/ArrayDeque;
       4: areturn

  public final char component3();
    Code:
       0: aload_0
       1: getfield      #31                 // Field operation:C
       4: ireturn

  public final java.lang.String component4();
    Code:
       0: aload_0
       1: getfield      #34                 // Field operationParam:Ljava/lang/String;
       4: areturn

  public final int component5();
    Code:
       0: aload_0
       1: getfield      #37                 // Field testParam:I
       4: ireturn

  public final int component6();
    Code:
       0: aload_0
       1: getfield      #40                 // Field onSuccessTarget:I
       4: ireturn

  public final int component7();
    Code:
       0: aload_0
       1: getfield      #43                 // Field onFailedTarget:I
       4: ireturn

  public final Day11Kt$main$Monkey copy(int, kotlin.collections.ArrayDeque<java.lang.Long>, char, java.lang.String, int, int, int);
    Code:
       0: aload_2
       1: ldc           #9                  // String items
       3: invokestatic  #15                 // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
       6: aload         4
       8: ldc           #17                 // String operationParam
      10: invokestatic  #15                 // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
      13: new           #2                  // class Day11Kt$main$Monkey
      16: dup
      17: iload_1
      18: aload_2
      19: iload_3
      20: aload         4
      22: iload         5
      24: iload         6
      26: iload         7
      28: invokespecial #69                 // Method "<init>":(ILkotlin/collections/ArrayDeque;CLjava/lang/String;III)V
      31: areturn

  public static Day11Kt$main$Monkey copy$default(Day11Kt$main$Monkey, int, kotlin.collections.ArrayDeque, char, java.lang.String, int, int, int, int, java.lang.Object);
    Code:
       0: iload         8
       2: iconst_1
       3: iand
       4: ifeq          12
       7: aload_0
       8: getfield      #24                 // Field id:I
      11: istore_1
      12: iload         8
      14: iconst_2
      15: iand
      16: ifeq          24
      19: aload_0
      20: getfield      #27                 // Field items:Lkotlin/collections/ArrayDeque;
      23: astore_2
      24: iload         8
      26: iconst_4
      27: iand
      28: ifeq          36
      31: aload_0
      32: getfield      #31                 // Field operation:C
      35: istore_3
      36: iload         8
      38: bipush        8
      40: iand
      41: ifeq          50
      44: aload_0
      45: getfield      #34                 // Field operationParam:Ljava/lang/String;
      48: astore        4
      50: iload         8
      52: bipush        16
      54: iand
      55: ifeq          64
      58: aload_0
      59: getfield      #37                 // Field testParam:I
      62: istore        5
      64: iload         8
      66: bipush        32
      68: iand
      69: ifeq          78
      72: aload_0
      73: getfield      #40                 // Field onSuccessTarget:I
      76: istore        6
      78: iload         8
      80: bipush        64
      82: iand
      83: ifeq          92
      86: aload_0
      87: getfield      #43                 // Field onFailedTarget:I
      90: istore        7
      92: aload_0
      93: iload_1
      94: aload_2
      95: iload_3
      96: aload         4
      98: iload         5
     100: iload         6
     102: iload         7
     104: invokevirtual #73                 // Method copy:(ILkotlin/collections/ArrayDeque;CLjava/lang/String;III)LDay11Kt$main$Monkey;
     107: areturn

  public java.lang.String toString();
    Code:
       0: new           #76                 // class java/lang/StringBuilder
       3: dup
       4: invokespecial #77                 // Method java/lang/StringBuilder."<init>":()V
       7: ldc           #79                 // String Monkey(id=
       9: invokevirtual #83                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      12: aload_0
      13: getfield      #24                 // Field id:I
      16: invokevirtual #86                 // Method java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
      19: ldc           #88                 // String , items=
      21: invokevirtual #83                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      24: aload_0
      25: getfield      #27                 // Field items:Lkotlin/collections/ArrayDeque;
      28: invokevirtual #91                 // Method java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
      31: ldc           #93                 // String , operation=
      33: invokevirtual #83                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      36: aload_0
      37: getfield      #31                 // Field operation:C
      40: invokevirtual #96                 // Method java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;
      43: ldc           #98                 // String , operationParam=
      45: invokevirtual #83                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      48: aload_0
      49: getfield      #34                 // Field operationParam:Ljava/lang/String;
      52: invokevirtual #83                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      55: ldc           #100                // String , testParam=
      57: invokevirtual #83                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      60: aload_0
      61: getfield      #37                 // Field testParam:I
      64: invokevirtual #86                 // Method java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
      67: ldc           #102                // String , onSuccessTarget=
      69: invokevirtual #83                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      72: aload_0
      73: getfield      #40                 // Field onSuccessTarget:I
      76: invokevirtual #86                 // Method java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
      79: ldc           #104                // String , onFailedTarget=
      81: invokevirtual #83                 // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
      84: aload_0
      85: getfield      #43                 // Field onFailedTarget:I
      88: invokevirtual #86                 // Method java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
      91: bipush        41
      93: invokevirtual #96                 // Method java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;
      96: invokevirtual #106                // Method java/lang/StringBuilder.toString:()Ljava/lang/String;
      99: areturn

  public int hashCode();
    Code:
       0: aload_0
       1: getfield      #24                 // Field id:I
       4: invokestatic  #112                // Method java/lang/Integer.hashCode:(I)I
       7: istore_1
       8: iload_1
       9: bipush        31
      11: imul
      12: aload_0
      13: getfield      #27                 // Field items:Lkotlin/collections/ArrayDeque;
      16: invokevirtual #116                // Method kotlin/collections/ArrayDeque.hashCode:()I
      19: iadd
      20: istore_1
      21: iload_1
      22: bipush        31
      24: imul
      25: aload_0
      26: getfield      #31                 // Field operation:C
      29: invokestatic  #121                // Method java/lang/Character.hashCode:(C)I
      32: iadd
      33: istore_1
      34: iload_1
      35: bipush        31
      37: imul
      38: aload_0
      39: getfield      #34                 // Field operationParam:Ljava/lang/String;
      42: invokevirtual #124                // Method java/lang/String.hashCode:()I
      45: iadd
      46: istore_1
      47: iload_1
      48: bipush        31
      50: imul
      51: aload_0
      52: getfield      #37                 // Field testParam:I
      55: invokestatic  #112                // Method java/lang/Integer.hashCode:(I)I
      58: iadd
      59: istore_1
      60: iload_1
      61: bipush        31
      63: imul
      64: aload_0
      65: getfield      #40                 // Field onSuccessTarget:I
      68: invokestatic  #112                // Method java/lang/Integer.hashCode:(I)I
      71: iadd
      72: istore_1
      73: iload_1
      74: bipush        31
      76: imul
      77: aload_0
      78: getfield      #43                 // Field onFailedTarget:I
      81: invokestatic  #112                // Method java/lang/Integer.hashCode:(I)I
      84: iadd
      85: istore_1
      86: iload_1
      87: 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 Day11Kt$main$Monkey
      11: ifne          16
      14: iconst_0
      15: ireturn
      16: aload_1
      17: checkcast     #2                  // class Day11Kt$main$Monkey
      20: astore_2
      21: aload_0
      22: getfield      #24                 // Field id:I
      25: aload_2
      26: getfield      #24                 // Field id:I
      29: if_icmpeq     34
      32: iconst_0
      33: ireturn
      34: aload_0
      35: getfield      #27                 // Field items:Lkotlin/collections/ArrayDeque;
      38: aload_2
      39: getfield      #27                 // Field items:Lkotlin/collections/ArrayDeque;
      42: invokestatic  #131                // Method kotlin/jvm/internal/Intrinsics.areEqual:(Ljava/lang/Object;Ljava/lang/Object;)Z
      45: ifne          50
      48: iconst_0
      49: ireturn
      50: aload_0
      51: getfield      #31                 // Field operation:C
      54: aload_2
      55: getfield      #31                 // Field operation:C
      58: if_icmpeq     63
      61: iconst_0
      62: ireturn
      63: aload_0
      64: getfield      #34                 // Field operationParam:Ljava/lang/String;
      67: aload_2
      68: getfield      #34                 // Field operationParam:Ljava/lang/String;
      71: invokestatic  #131                // Method kotlin/jvm/internal/Intrinsics.areEqual:(Ljava/lang/Object;Ljava/lang/Object;)Z
      74: ifne          79
      77: iconst_0
      78: ireturn
      79: aload_0
      80: getfield      #37                 // Field testParam:I
      83: aload_2
      84: getfield      #37                 // Field testParam:I
      87: if_icmpeq     92
      90: iconst_0
      91: ireturn
      92: aload_0
      93: getfield      #40                 // Field onSuccessTarget:I
      96: aload_2
      97: getfield      #40                 // Field onSuccessTarget:I
     100: if_icmpeq     105
     103: iconst_0
     104: ireturn
     105: aload_0
     106: getfield      #43                 // Field onFailedTarget:I
     109: aload_2
     110: getfield      #43                 // Field onFailedTarget:I
     113: if_icmpeq     118
     116: iconst_0
     117: ireturn
     118: iconst_1
     119: ireturn
}

Compiled from "Day11.kt"
final class Day11Kt$main$2 extends kotlin.jvm.internal.FunctionReferenceImpl implements kotlin.jvm.functions.Function1<java.util.List<? extends java.lang.String>, java.lang.Long> {
  final kotlin.text.Regex $inputLineRegex;

  Day11Kt$main$2(kotlin.text.Regex);
    Code:
       0: aload_0
       1: aload_1
       2: putfield      #13                 // Field $inputLineRegex:Lkotlin/text/Regex;
       5: aload_0
       6: iconst_1
       7: ldc           #15                 // class kotlin/jvm/internal/Intrinsics$Kotlin
       9: ldc           #17                 // String part2
      11: ldc           #19                 // String main$part2(Lkotlin/text/Regex;Ljava/util/List;)J
      13: iconst_0
      14: invokespecial #22                 // Method kotlin/jvm/internal/FunctionReferenceImpl."<init>":(ILjava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V
      17: return

  public final java.lang.Long invoke(java.util.List<java.lang.String>);
    Code:
       0: aload_1
       1: ldc           #29                 // String p0
       3: invokestatic  #35                 // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
       6: aload_0
       7: getfield      #13                 // Field $inputLineRegex:Lkotlin/text/Regex;
      10: aload_1
      11: invokestatic  #41                 // Method Day11Kt.access$main$part2:(Lkotlin/text/Regex;Ljava/util/List;)J
      14: invokestatic  #47                 // Method java/lang/Long.valueOf:(J)Ljava/lang/Long;
      17: areturn

  public java.lang.Object invoke(java.lang.Object);
    Code:
       0: aload_0
       1: aload_1
       2: checkcast     #51                 // class java/util/List
       5: invokevirtual #53                 // Method invoke:(Ljava/util/List;)Ljava/lang/Long;
       8: areturn
}

Compiled from "Day11.kt"
final class Day11Kt$main$1 extends kotlin.jvm.internal.FunctionReferenceImpl implements kotlin.jvm.functions.Function1<java.util.List<? extends java.lang.String>, java.lang.Long> {
  final kotlin.text.Regex $inputLineRegex;

  Day11Kt$main$1(kotlin.text.Regex);
    Code:
       0: aload_0
       1: aload_1
       2: putfield      #13                 // Field $inputLineRegex:Lkotlin/text/Regex;
       5: aload_0
       6: iconst_1
       7: ldc           #15                 // class kotlin/jvm/internal/Intrinsics$Kotlin
       9: ldc           #17                 // String part1
      11: ldc           #19                 // String main$part1(Lkotlin/text/Regex;Ljava/util/List;)J
      13: iconst_0
      14: invokespecial #22                 // Method kotlin/jvm/internal/FunctionReferenceImpl."<init>":(ILjava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V
      17: return

  public final java.lang.Long invoke(java.util.List<java.lang.String>);
    Code:
       0: aload_1
       1: ldc           #29                 // String p0
       3: invokestatic  #35                 // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
       6: aload_0
       7: getfield      #13                 // Field $inputLineRegex:Lkotlin/text/Regex;
      10: aload_1
      11: invokestatic  #41                 // Method Day11Kt.access$main$part1:(Lkotlin/text/Regex;Ljava/util/List;)J
      14: invokestatic  #47                 // Method java/lang/Long.valueOf:(J)Ljava/lang/Long;
      17: areturn

  public java.lang.Object invoke(java.lang.Object);
    Code:
       0: aload_0
       1: aload_1
       2: checkcast     #51                 // class java/util/List
       5: invokevirtual #53                 // Method invoke:(Ljava/util/List;)Ljava/lang/Long;
       8: areturn
}

Compiled from "Day11.kt"
public final class Day11Kt {
  public static final void main();
    Code:
       0: new           #8                  // class kotlin/text/Regex
       3: dup
       4: ldc           #10                 // String \\d+
       6: invokespecial #14                 // Method kotlin/text/Regex."<init>":(Ljava/lang/String;)V
       9: astore_0
      10: bipush        11
      12: ldc2_w        #15                 // long 10605l
      15: invokestatic  #22                 // Method java/lang/Long.valueOf:(J)Ljava/lang/Long;
      18: ldc2_w        #23                 // long 2713310158l
      21: invokestatic  #22                 // Method java/lang/Long.valueOf:(J)Ljava/lang/Long;
      24: new           #26                 // class Day11Kt$main$1
      27: dup
      28: aload_0
      29: invokespecial #29                 // Method Day11Kt$main$1."<init>":(Lkotlin/text/Regex;)V
      32: checkcast     #31                 // class kotlin/jvm/functions/Function1
      35: new           #33                 // class Day11Kt$main$2
      38: dup
      39: aload_0
      40: invokespecial #34                 // Method Day11Kt$main$2."<init>":(Lkotlin/text/Regex;)V
      43: checkcast     #31                 // class kotlin/jvm/functions/Function1
      46: invokestatic  #40                 // Method UtilsKt.test:(ILjava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
      49: return

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

  private static final int main$monkeyBusiness$lambda$6$lambda$0(kotlin.text.MatchResult);
    Code:
       0: aload_0
       1: ldc           #51                 // String it
       3: invokestatic  #57                 // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
       6: aload_0
       7: invokeinterface #63,  1           // InterfaceMethod kotlin/text/MatchResult.getValue:()Ljava/lang/String;
      12: invokestatic  #69                 // Method java/lang/Integer.parseInt:(Ljava/lang/String;)I
      15: ireturn

  private static final long main$monkeyBusiness$lambda$6$lambda$1(kotlin.text.MatchResult);
    Code:
       0: aload_0
       1: ldc           #51                 // String it
       3: invokestatic  #57                 // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
       6: aload_0
       7: invokeinterface #63,  1           // InterfaceMethod kotlin/text/MatchResult.getValue:()Ljava/lang/String;
      12: invokestatic  #76                 // Method java/lang/Long.parseLong:(Ljava/lang/String;)J
      15: lreturn

  private static final int main$monkeyBusiness$lambda$6$lambda$2(kotlin.text.MatchResult);
    Code:
       0: aload_0
       1: ldc           #51                 // String it
       3: invokestatic  #57                 // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
       6: aload_0
       7: invokeinterface #63,  1           // InterfaceMethod kotlin/text/MatchResult.getValue:()Ljava/lang/String;
      12: invokestatic  #69                 // Method java/lang/Integer.parseInt:(Ljava/lang/String;)I
      15: ireturn

  private static final int main$monkeyBusiness$lambda$6$lambda$3(kotlin.text.MatchResult);
    Code:
       0: aload_0
       1: ldc           #51                 // String it
       3: invokestatic  #57                 // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
       6: aload_0
       7: invokeinterface #63,  1           // InterfaceMethod kotlin/text/MatchResult.getValue:()Ljava/lang/String;
      12: invokestatic  #69                 // Method java/lang/Integer.parseInt:(Ljava/lang/String;)I
      15: ireturn

  private static final int main$monkeyBusiness$lambda$6$lambda$4(kotlin.text.MatchResult);
    Code:
       0: aload_0
       1: ldc           #51                 // String it
       3: invokestatic  #57                 // Method kotlin/jvm/internal/Intrinsics.checkNotNullParameter:(Ljava/lang/Object;Ljava/lang/String;)V
       6: aload_0
       7: invokeinterface #63,  1           // InterfaceMethod kotlin/text/MatchResult.getValue:()Ljava/lang/String;
      12: invokestatic  #69                 // Method java/lang/Integer.parseInt:(Ljava/lang/String;)I
      15: ireturn

  private static final long main$monkeyBusiness(kotlin.text.Regex, java.util.List<java.lang.String>, int, int);
    Code:
       0: new           #84                 // class java/util/ArrayList
       3: dup
       4: invokespecial #86                 // Method java/util/ArrayList."<init>":()V
       7: checkcast     #88                 // class java/util/List
      10: astore        4
      12: new           #90                 // class java/util/LinkedHashMap
      15: dup
      16: invokespecial #91                 // Method java/util/LinkedHashMap."<init>":()V
      19: checkcast     #93                 // class java/util/Map
      22: astore        5
      24: aload_1
      25: checkcast     #95                 // class java/lang/Iterable
      28: bipush        7
      30: invokestatic  #101                // Method kotlin/collections/CollectionsKt.chunked:(Ljava/lang/Iterable;I)Ljava/util/List;
      33: checkcast     #95                 // class java/lang/Iterable
      36: astore        6
      38: iconst_0
      39: istore        7
      41: aload         6
      43: invokeinterface #105,  1          // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
      48: astore        8
      50: aload         8
      52: invokeinterface #111,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
      57: ifeq          407
      60: aload         8
      62: invokeinterface #115,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
      67: astore        9
      69: aload         9
      71: checkcast     #88                 // class java/util/List
      74: astore        10
      76: iconst_0
      77: istore        11
      79: new           #117                // class Day11Kt$main$Monkey
      82: dup
      83: aload_0
      84: aload         10
      86: iconst_0
      87: invokeinterface #121,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
      92: checkcast     #123                // class java/lang/CharSequence
      95: iconst_0
      96: iconst_2
      97: aconst_null
      98: invokestatic  #127                // Method kotlin/text/Regex.findAll$default:(Lkotlin/text/Regex;Ljava/lang/CharSequence;IILjava/lang/Object;)Lkotlin/sequences/Sequence;
     101: invokedynamic #145,  0            // InvokeDynamic #0:invoke:()Lkotlin/jvm/functions/Function1;
     106: invokestatic  #151                // Method kotlin/sequences/SequencesKt.map:(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
     109: invokestatic  #155                // Method kotlin/sequences/SequencesKt.first:(Lkotlin/sequences/Sequence;)Ljava/lang/Object;
     112: checkcast     #157                // class java/lang/Number
     115: invokevirtual #161                // Method java/lang/Number.intValue:()I
     118: new           #163                // class kotlin/collections/ArrayDeque
     121: dup
     122: aload_0
     123: aload         10
     125: iconst_1
     126: invokeinterface #121,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     131: checkcast     #123                // class java/lang/CharSequence
     134: iconst_0
     135: iconst_2
     136: aconst_null
     137: invokestatic  #127                // Method kotlin/text/Regex.findAll$default:(Lkotlin/text/Regex;Ljava/lang/CharSequence;IILjava/lang/Object;)Lkotlin/sequences/Sequence;
     140: invokedynamic #169,  0            // InvokeDynamic #1:invoke:()Lkotlin/jvm/functions/Function1;
     145: invokestatic  #151                // Method kotlin/sequences/SequencesKt.map:(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
     148: invokestatic  #173                // Method kotlin/sequences/SequencesKt.toList:(Lkotlin/sequences/Sequence;)Ljava/util/List;
     151: checkcast     #175                // class java/util/Collection
     154: invokespecial #178                // Method kotlin/collections/ArrayDeque."<init>":(Ljava/util/Collection;)V
     157: aload         10
     159: iconst_2
     160: invokeinterface #121,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     165: checkcast     #123                // class java/lang/CharSequence
     168: iconst_1
     169: anewarray     #180                // class java/lang/String
     172: astore        12
     174: aload         12
     176: iconst_0
     177: ldc           #182                // String = old
     179: aastore
     180: aload         12
     182: iconst_0
     183: iconst_0
     184: bipush        6
     186: aconst_null
     187: invokestatic  #188                // Method kotlin/text/StringsKt.split$default:(Ljava/lang/CharSequence;[Ljava/lang/String;ZIILjava/lang/Object;)Ljava/util/List;
     190: invokestatic  #192                // Method kotlin/collections/CollectionsKt.last:(Ljava/util/List;)Ljava/lang/Object;
     193: checkcast     #180                // class java/lang/String
     196: iconst_1
     197: invokevirtual #196                // Method java/lang/String.charAt:(I)C
     200: aload         10
     202: iconst_2
     203: invokeinterface #121,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     208: checkcast     #123                // class java/lang/CharSequence
     211: iconst_1
     212: anewarray     #180                // class java/lang/String
     215: astore        12
     217: aload         12
     219: iconst_0
     220: ldc           #182                // String = old
     222: aastore
     223: aload         12
     225: iconst_0
     226: iconst_0
     227: bipush        6
     229: aconst_null
     230: invokestatic  #188                // Method kotlin/text/StringsKt.split$default:(Ljava/lang/CharSequence;[Ljava/lang/String;ZIILjava/lang/Object;)Ljava/util/List;
     233: invokestatic  #192                // Method kotlin/collections/CollectionsKt.last:(Ljava/util/List;)Ljava/lang/Object;
     236: checkcast     #180                // class java/lang/String
     239: astore        12
     241: iconst_3
     242: istore        13
     244: aload         12
     246: iload         13
     248: invokevirtual #200                // Method java/lang/String.substring:(I)Ljava/lang/String;
     251: dup
     252: ldc           #202                // String substring(...)
     254: invokestatic  #205                // Method kotlin/jvm/internal/Intrinsics.checkNotNullExpressionValue:(Ljava/lang/Object;Ljava/lang/String;)V
     257: aload_0
     258: aload         10
     260: iconst_3
     261: invokeinterface #121,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     266: checkcast     #123                // class java/lang/CharSequence
     269: iconst_0
     270: iconst_2
     271: aconst_null
     272: invokestatic  #127                // Method kotlin/text/Regex.findAll$default:(Lkotlin/text/Regex;Ljava/lang/CharSequence;IILjava/lang/Object;)Lkotlin/sequences/Sequence;
     275: invokedynamic #209,  0            // InvokeDynamic #2:invoke:()Lkotlin/jvm/functions/Function1;
     280: invokestatic  #151                // Method kotlin/sequences/SequencesKt.map:(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
     283: invokestatic  #155                // Method kotlin/sequences/SequencesKt.first:(Lkotlin/sequences/Sequence;)Ljava/lang/Object;
     286: checkcast     #157                // class java/lang/Number
     289: invokevirtual #161                // Method java/lang/Number.intValue:()I
     292: aload_0
     293: aload         10
     295: iconst_4
     296: invokeinterface #121,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     301: checkcast     #123                // class java/lang/CharSequence
     304: iconst_0
     305: iconst_2
     306: aconst_null
     307: invokestatic  #127                // Method kotlin/text/Regex.findAll$default:(Lkotlin/text/Regex;Ljava/lang/CharSequence;IILjava/lang/Object;)Lkotlin/sequences/Sequence;
     310: invokedynamic #213,  0            // InvokeDynamic #3:invoke:()Lkotlin/jvm/functions/Function1;
     315: invokestatic  #151                // Method kotlin/sequences/SequencesKt.map:(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
     318: invokestatic  #155                // Method kotlin/sequences/SequencesKt.first:(Lkotlin/sequences/Sequence;)Ljava/lang/Object;
     321: checkcast     #157                // class java/lang/Number
     324: invokevirtual #161                // Method java/lang/Number.intValue:()I
     327: aload_0
     328: aload         10
     330: iconst_5
     331: invokeinterface #121,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     336: checkcast     #123                // class java/lang/CharSequence
     339: iconst_0
     340: iconst_2
     341: aconst_null
     342: invokestatic  #127                // Method kotlin/text/Regex.findAll$default:(Lkotlin/text/Regex;Ljava/lang/CharSequence;IILjava/lang/Object;)Lkotlin/sequences/Sequence;
     345: invokedynamic #217,  0            // InvokeDynamic #4:invoke:()Lkotlin/jvm/functions/Function1;
     350: invokestatic  #151                // Method kotlin/sequences/SequencesKt.map:(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
     353: invokestatic  #155                // Method kotlin/sequences/SequencesKt.first:(Lkotlin/sequences/Sequence;)Ljava/lang/Object;
     356: checkcast     #157                // class java/lang/Number
     359: invokevirtual #161                // Method java/lang/Number.intValue:()I
     362: invokespecial #220                // Method Day11Kt$main$Monkey."<init>":(ILkotlin/collections/ArrayDeque;CLjava/lang/String;III)V
     365: astore        13
     367: iconst_0
     368: istore        14
     370: aload         4
     372: aload         13
     374: invokeinterface #224,  2          // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z
     379: pop
     380: aload         5
     382: aload         13
     384: invokevirtual #227                // Method Day11Kt$main$Monkey.getId:()I
     387: invokestatic  #230                // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     390: iconst_0
     391: invokestatic  #230                // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     394: invokeinterface #234,  3          // InterfaceMethod java/util/Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
     399: pop
     400: nop
     401: nop
     402: nop
     403: nop
     404: goto          50
     407: nop
     408: aload         4
     410: checkcast     #95                 // class java/lang/Iterable
     413: astore        7
     415: iconst_0
     416: istore        8
     418: aload         7
     420: astore        9
     422: new           #84                 // class java/util/ArrayList
     425: dup
     426: aload         7
     428: bipush        10
     430: invokestatic  #238                // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
     433: invokespecial #241                // Method java/util/ArrayList."<init>":(I)V
     436: checkcast     #175                // class java/util/Collection
     439: astore        10
     441: iconst_0
     442: istore        11
     444: aload         9
     446: invokeinterface #105,  1          // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     451: astore        12
     453: aload         12
     455: invokeinterface #111,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
     460: ifeq          506
     463: aload         12
     465: invokeinterface #115,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     470: astore        13
     472: aload         10
     474: aload         13
     476: checkcast     #117                // class Day11Kt$main$Monkey
     479: astore        14
     481: astore        22
     483: iconst_0
     484: istore        15
     486: aload         14
     488: invokevirtual #244                // Method Day11Kt$main$Monkey.getTestParam:()I
     491: invokestatic  #230                // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     494: aload         22
     496: swap
     497: invokeinterface #245,  2          // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
     502: pop
     503: goto          453
     506: aload         10
     508: checkcast     #88                 // class java/util/List
     511: nop
     512: checkcast     #95                 // class java/lang/Iterable
     515: invokestatic  #249                // Method kotlin/collections/CollectionsKt.toSet:(Ljava/lang/Iterable;)Ljava/util/Set;
     518: checkcast     #95                 // class java/lang/Iterable
     521: astore        7
     523: iconst_0
     524: istore        8
     526: aload         7
     528: invokeinterface #105,  1          // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     533: astore        9
     535: aload         9
     537: invokeinterface #111,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
     542: ifne          555
     545: new           #251                // class java/lang/UnsupportedOperationException
     548: dup
     549: ldc           #253                // String Empty collection can\'t be reduced.
     551: invokespecial #254                // Method java/lang/UnsupportedOperationException."<init>":(Ljava/lang/String;)V
     554: athrow
     555: aload         9
     557: invokeinterface #115,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     562: astore        10
     564: aload         9
     566: invokeinterface #111,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
     571: ifeq          615
     574: aload         10
     576: aload         9
     578: invokeinterface #115,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     583: checkcast     #157                // class java/lang/Number
     586: invokevirtual #161                // Method java/lang/Number.intValue:()I
     589: istore        11
     591: checkcast     #157                // class java/lang/Number
     594: invokevirtual #161                // Method java/lang/Number.intValue:()I
     597: istore        12
     599: iconst_0
     600: istore        13
     602: iload         12
     604: iload         11
     606: imul
     607: invokestatic  #230                // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     610: astore        10
     612: goto          564
     615: aload         10
     617: checkcast     #157                // class java/lang/Number
     620: invokevirtual #161                // Method java/lang/Number.intValue:()I
     623: istore        6
     625: iconst_0
     626: istore        7
     628: iload         7
     630: iload_2
     631: if_icmpge     964
     634: iload         7
     636: istore        8
     638: iconst_0
     639: istore        9
     641: aload         4
     643: checkcast     #95                 // class java/lang/Iterable
     646: astore        10
     648: iconst_0
     649: istore        11
     651: aload         10
     653: invokeinterface #105,  1          // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
     658: astore        12
     660: aload         12
     662: invokeinterface #111,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
     667: ifeq          956
     670: aload         12
     672: invokeinterface #115,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
     677: astore        13
     679: aload         13
     681: checkcast     #117                // class Day11Kt$main$Monkey
     684: astore        14
     686: iconst_0
     687: istore        15
     689: aload         5
     691: aload         14
     693: invokevirtual #227                // Method Day11Kt$main$Monkey.getId:()I
     696: invokestatic  #230                // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     699: aload         5
     701: aload         14
     703: invokevirtual #227                // Method Day11Kt$main$Monkey.getId:()I
     706: invokestatic  #230                // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     709: invokeinterface #256,  2          // InterfaceMethod java/util/Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
     714: dup
     715: invokestatic  #260                // Method kotlin/jvm/internal/Intrinsics.checkNotNull:(Ljava/lang/Object;)V
     718: checkcast     #157                // class java/lang/Number
     721: invokevirtual #161                // Method java/lang/Number.intValue:()I
     724: aload         14
     726: invokevirtual #264                // Method Day11Kt$main$Monkey.getItems:()Lkotlin/collections/ArrayDeque;
     729: invokevirtual #267                // Method kotlin/collections/ArrayDeque.size:()I
     732: iadd
     733: invokestatic  #230                // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
     736: invokeinterface #234,  3          // InterfaceMethod java/util/Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
     741: pop
     742: aload         14
     744: invokevirtual #264                // Method Day11Kt$main$Monkey.getItems:()Lkotlin/collections/ArrayDeque;
     747: checkcast     #175                // class java/util/Collection
     750: invokeinterface #270,  1          // InterfaceMethod java/util/Collection.isEmpty:()Z
     755: ifne          762
     758: iconst_1
     759: goto          763
     762: iconst_0
     763: ifeq          951
     766: aload         14
     768: invokevirtual #264                // Method Day11Kt$main$Monkey.getItems:()Lkotlin/collections/ArrayDeque;
     771: invokevirtual #273                // Method kotlin/collections/ArrayDeque.removeFirst:()Ljava/lang/Object;
     774: checkcast     #157                // class java/lang/Number
     777: invokevirtual #277                // Method java/lang/Number.longValue:()J
     780: lstore        16
     782: aload         14
     784: invokevirtual #280                // Method Day11Kt$main$Monkey.getOperationParam:()Ljava/lang/String;
     787: ldc_w         #282                // String old
     790: invokestatic  #286                // Method kotlin/jvm/internal/Intrinsics.areEqual:(Ljava/lang/Object;Ljava/lang/Object;)Z
     793: ifeq          801
     796: lload         16
     798: goto          809
     801: aload         14
     803: invokevirtual #280                // Method Day11Kt$main$Monkey.getOperationParam:()Ljava/lang/String;
     806: invokestatic  #76                 // Method java/lang/Long.parseLong:(Ljava/lang/String;)J
     809: lstore        18
     811: aload         14
     813: invokevirtual #290                // Method Day11Kt$main$Monkey.getOperation:()C
     816: tableswitch   { // 42 to 43
                    42: 840
                    43: 848
               default: 856
          }
     840: lload         16
     842: lload         18
     844: lmul
     845: goto          891
     848: lload         16
     850: lload         18
     852: ladd
     853: goto          891
     856: new           #292                // class java/lang/Exception
     859: dup
     860: new           #294                // class java/lang/StringBuilder
     863: dup
     864: invokespecial #295                // Method java/lang/StringBuilder."<init>":()V
     867: ldc_w         #297                // String Unknown operation
     870: invokevirtual #301                // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
     873: aload         14
     875: invokevirtual #304                // Method java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
     878: ldc_w         #306                // String .operation
     881: invokevirtual #301                // Method java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
     884: invokevirtual #309                // Method java/lang/StringBuilder.toString:()Ljava/lang/String;
     887: invokespecial #310                // Method java/lang/Exception."<init>":(Ljava/lang/String;)V
     890: athrow
     891: iload_3
     892: i2l
     893: ldiv
     894: iload         6
     896: i2l
     897: lrem
     898: lstore        20
     900: aload         4
     902: lload         20
     904: aload         14
     906: invokevirtual #244                // Method Day11Kt$main$Monkey.getTestParam:()I
     909: i2l
     910: lrem
     911: lconst_0
     912: lcmp
     913: ifne          924
     916: aload         14
     918: invokevirtual #313                // Method Day11Kt$main$Monkey.getOnSuccessTarget:()I
     921: goto          929
     924: aload         14
     926: invokevirtual #316                // Method Day11Kt$main$Monkey.getOnFailedTarget:()I
     929: invokeinterface #121,  2          // InterfaceMethod java/util/List.get:(I)Ljava/lang/Object;
     934: checkcast     #117                // class Day11Kt$main$Monkey
     937: invokevirtual #264                // Method Day11Kt$main$Monkey.getItems:()Lkotlin/collections/ArrayDeque;
     940: lload         20
     942: invokestatic  #22                 // Method java/lang/Long.valueOf:(J)Ljava/lang/Long;
     945: invokevirtual #319                // Method kotlin/collections/ArrayDeque.addLast:(Ljava/lang/Object;)V
     948: goto          742
     951: nop
     952: nop
     953: goto          660
     956: nop
     957: nop
     958: iinc          7, 1
     961: goto          628
     964: aload         5
     966: invokeinterface #323,  1          // InterfaceMethod java/util/Map.values:()Ljava/util/Collection;
     971: checkcast     #95                 // class java/lang/Iterable
     974: invokestatic  #327                // Method kotlin/collections/CollectionsKt.sorted:(Ljava/lang/Iterable;)Ljava/util/List;
     977: iconst_2
     978: invokestatic  #331                // Method kotlin/collections/CollectionsKt.takeLast:(Ljava/util/List;I)Ljava/util/List;
     981: checkcast     #95                 // class java/lang/Iterable
     984: astore        7
     986: iconst_0
     987: istore        8
     989: aload         7
     991: astore        9
     993: new           #84                 // class java/util/ArrayList
     996: dup
     997: aload         7
     999: bipush        10
    1001: invokestatic  #238                // Method kotlin/collections/CollectionsKt.collectionSizeOrDefault:(Ljava/lang/Iterable;I)I
    1004: invokespecial #241                // Method java/util/ArrayList."<init>":(I)V
    1007: checkcast     #175                // class java/util/Collection
    1010: astore        10
    1012: iconst_0
    1013: istore        11
    1015: aload         9
    1017: invokeinterface #105,  1          // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
    1022: astore        12
    1024: aload         12
    1026: invokeinterface #111,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
    1031: ifeq          1078
    1034: aload         12
    1036: invokeinterface #115,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
    1041: astore        13
    1043: aload         10
    1045: aload         13
    1047: checkcast     #157                // class java/lang/Number
    1050: invokevirtual #161                // Method java/lang/Number.intValue:()I
    1053: istore        14
    1055: astore        22
    1057: iconst_0
    1058: istore        15
    1060: iload         14
    1062: i2l
    1063: invokestatic  #22                 // Method java/lang/Long.valueOf:(J)Ljava/lang/Long;
    1066: aload         22
    1068: swap
    1069: invokeinterface #245,  2          // InterfaceMethod java/util/Collection.add:(Ljava/lang/Object;)Z
    1074: pop
    1075: goto          1024
    1078: aload         10
    1080: checkcast     #88                 // class java/util/List
    1083: nop
    1084: checkcast     #95                 // class java/lang/Iterable
    1087: astore        7
    1089: nop
    1090: iconst_0
    1091: istore        8
    1093: aload         7
    1095: invokeinterface #105,  1          // InterfaceMethod java/lang/Iterable.iterator:()Ljava/util/Iterator;
    1100: astore        9
    1102: aload         9
    1104: invokeinterface #111,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
    1109: ifne          1122
    1112: new           #251                // class java/lang/UnsupportedOperationException
    1115: dup
    1116: ldc           #253                // String Empty collection can\'t be reduced.
    1118: invokespecial #254                // Method java/lang/UnsupportedOperationException."<init>":(Ljava/lang/String;)V
    1121: athrow
    1122: aload         9
    1124: invokeinterface #115,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
    1129: astore        10
    1131: aload         9
    1133: invokeinterface #111,  1          // InterfaceMethod java/util/Iterator.hasNext:()Z
    1138: ifeq          1182
    1141: aload         10
    1143: aload         9
    1145: invokeinterface #115,  1          // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
    1150: checkcast     #157                // class java/lang/Number
    1153: invokevirtual #277                // Method java/lang/Number.longValue:()J
    1156: lstore        11
    1158: checkcast     #157                // class java/lang/Number
    1161: invokevirtual #277                // Method java/lang/Number.longValue:()J
    1164: lstore        13
    1166: iconst_0
    1167: istore        15
    1169: lload         13
    1171: lload         11
    1173: lmul
    1174: invokestatic  #22                 // Method java/lang/Long.valueOf:(J)Ljava/lang/Long;
    1177: astore        10
    1179: goto          1131
    1182: aload         10
    1184: checkcast     #157                // class java/lang/Number
    1187: invokevirtual #277                // Method java/lang/Number.longValue:()J
    1190: lreturn

  private static final long main$part1(kotlin.text.Regex, java.util.List<java.lang.String>);
    Code:
       0: aload_0
       1: aload_1
       2: bipush        20
       4: iconst_3
       5: invokestatic  #379                // Method main$monkeyBusiness:(Lkotlin/text/Regex;Ljava/util/List;II)J
       8: lreturn

  private static final long main$part2(kotlin.text.Regex, java.util.List<java.lang.String>);
    Code:
       0: aload_0
       1: aload_1
       2: sipush        10000
       5: iconst_1
       6: invokestatic  #379                // Method main$monkeyBusiness:(Lkotlin/text/Regex;Ljava/util/List;II)J
       9: lreturn

  public static final long access$main$part1(kotlin.text.Regex, java.util.List);
    Code:
       0: aload_0
       1: aload_1
       2: invokestatic  #383                // Method main$part1:(Lkotlin/text/Regex;Ljava/util/List;)J
       5: lreturn

  public static final long access$main$part2(kotlin.text.Regex, java.util.List);
    Code:
       0: aload_0
       1: aload_1
       2: invokestatic  #386                // Method main$part2:(Lkotlin/text/Regex;Ljava/util/List;)J
       5: lreturn
}