day11.txt 627 B

12345678910111213141516171819202122232425262728
  1. Monkey 0:
  2. Starting items: 79, 98
  3. Operation: new = old * 19
  4. Test: divisible by 23
  5. If true: throw to monkey 2
  6. If false: throw to monkey 3
  7. Monkey 1:
  8. Starting items: 54, 65, 75, 74
  9. Operation: new = old + 6
  10. Test: divisible by 19
  11. If true: throw to monkey 2
  12. If false: throw to monkey 0
  13. Monkey 2:
  14. Starting items: 79, 60, 97
  15. Operation: new = old * old
  16. Test: divisible by 13
  17. If true: throw to monkey 1
  18. If false: throw to monkey 3
  19. Monkey 3:
  20. Starting items: 74
  21. Operation: new = old + 3
  22. Test: divisible by 17
  23. If true: throw to monkey 0
  24. If false: throw to monkey 1
  25. 10605$2713310158