You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.2 KiB
Plaintext
56 lines
1.2 KiB
Plaintext
2 years ago
|
Monkey 0:
|
||
|
Starting items: 83, 62, 93
|
||
|
Operation: new = old * 17
|
||
|
Test: divisible by 2
|
||
|
If true: throw to monkey 1
|
||
|
If false: throw to monkey 6
|
||
|
|
||
|
Monkey 1:
|
||
|
Starting items: 90, 55
|
||
|
Operation: new = old + 1
|
||
|
Test: divisible by 17
|
||
|
If true: throw to monkey 6
|
||
|
If false: throw to monkey 3
|
||
|
|
||
|
Monkey 2:
|
||
|
Starting items: 91, 78, 80, 97, 79, 88
|
||
|
Operation: new = old + 3
|
||
|
Test: divisible by 19
|
||
|
If true: throw to monkey 7
|
||
|
If false: throw to monkey 5
|
||
|
|
||
|
Monkey 3:
|
||
|
Starting items: 64, 80, 83, 89, 59
|
||
|
Operation: new = old + 5
|
||
|
Test: divisible by 3
|
||
|
If true: throw to monkey 7
|
||
|
If false: throw to monkey 2
|
||
|
|
||
|
Monkey 4:
|
||
|
Starting items: 98, 92, 99, 51
|
||
|
Operation: new = old * old
|
||
|
Test: divisible by 5
|
||
|
If true: throw to monkey 0
|
||
|
If false: throw to monkey 1
|
||
|
|
||
|
Monkey 5:
|
||
|
Starting items: 68, 57, 95, 85, 98, 75, 98, 75
|
||
|
Operation: new = old + 2
|
||
|
Test: divisible by 13
|
||
|
If true: throw to monkey 4
|
||
|
If false: throw to monkey 0
|
||
|
|
||
|
Monkey 6:
|
||
|
Starting items: 74
|
||
|
Operation: new = old + 4
|
||
|
Test: divisible by 7
|
||
|
If true: throw to monkey 3
|
||
|
If false: throw to monkey 2
|
||
|
|
||
|
Monkey 7:
|
||
|
Starting items: 68, 64, 60, 68, 87, 80, 82
|
||
|
Operation: new = old * 19
|
||
|
Test: divisible by 11
|
||
|
If true: throw to monkey 4
|
||
|
If false: throw to monkey 5
|