11 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Monkey 0:
  2. Starting items: 59, 65, 86, 56, 74, 57, 56
  3. Operation: new = old * 17
  4. Test: divisible by 3
  5. If true: throw to monkey 3
  6. If false: throw to monkey 6
  7. Monkey 1:
  8. Starting items: 63, 83, 50, 63, 56
  9. Operation: new = old + 2
  10. Test: divisible by 13
  11. If true: throw to monkey 3
  12. If false: throw to monkey 0
  13. Monkey 2:
  14. Starting items: 93, 79, 74, 55
  15. Operation: new = old + 1
  16. Test: divisible by 2
  17. If true: throw to monkey 0
  18. If false: throw to monkey 1
  19. Monkey 3:
  20. Starting items: 86, 61, 67, 88, 94, 69, 56, 91
  21. Operation: new = old + 7
  22. Test: divisible by 11
  23. If true: throw to monkey 6
  24. If false: throw to monkey 7
  25. Monkey 4:
  26. Starting items: 76, 50, 51
  27. Operation: new = old * old
  28. Test: divisible by 19
  29. If true: throw to monkey 2
  30. If false: throw to monkey 5
  31. Monkey 5:
  32. Starting items: 77, 76
  33. Operation: new = old + 8
  34. Test: divisible by 17
  35. If true: throw to monkey 2
  36. If false: throw to monkey 1
  37. Monkey 6:
  38. Starting items: 74
  39. Operation: new = old * 2
  40. Test: divisible by 5
  41. If true: throw to monkey 4
  42. If false: throw to monkey 7
  43. Monkey 7:
  44. Starting items: 86, 85, 52, 86, 91, 95
  45. Operation: new = old + 6
  46. Test: divisible by 7
  47. If true: throw to monkey 4
  48. If false: throw to monkey 5