input 1.2 KB

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