11.input 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Monkey 0:
  2. Starting items: 74, 73, 57, 77, 74
  3. Operation: new = old * 11
  4. Test: divisible by 19
  5. If true: throw to monkey 6
  6. If false: throw to monkey 7
  7. Monkey 1:
  8. Starting items: 99, 77, 79
  9. Operation: new = old + 8
  10. Test: divisible by 2
  11. If true: throw to monkey 6
  12. If false: throw to monkey 0
  13. Monkey 2:
  14. Starting items: 64, 67, 50, 96, 89, 82, 82
  15. Operation: new = old + 1
  16. Test: divisible by 3
  17. If true: throw to monkey 5
  18. If false: throw to monkey 3
  19. Monkey 3:
  20. Starting items: 88
  21. Operation: new = old * 7
  22. Test: divisible by 17
  23. If true: throw to monkey 5
  24. If false: throw to monkey 4
  25. Monkey 4:
  26. Starting items: 80, 66, 98, 83, 70, 63, 57, 66
  27. Operation: new = old + 4
  28. Test: divisible by 13
  29. If true: throw to monkey 0
  30. If false: throw to monkey 1
  31. Monkey 5:
  32. Starting items: 81, 93, 90, 61, 62, 64
  33. Operation: new = old + 7
  34. Test: divisible by 7
  35. If true: throw to monkey 1
  36. If false: throw to monkey 4
  37. Monkey 6:
  38. Starting items: 69, 97, 88, 93
  39. Operation: new = old * old
  40. Test: divisible by 5
  41. If true: throw to monkey 7
  42. If false: throw to monkey 2
  43. Monkey 7:
  44. Starting items: 59, 80
  45. Operation: new = old + 6
  46. Test: divisible by 11
  47. If true: throw to monkey 2
  48. If false: throw to monkey 3