        } else if packet % 3 == 0 {
            Some(1)
        } else if packet % 5 == 0 {
            Some(2)
        } else {
            Some(3)
        }
    }

    fn num_ports(&mut self) -> usize {