Input (grade 8): Non-fertilised eggs grow into males, and only fertilised eggs grow into females and queens.
Output (grade 8): Only fertilised eggs grow into females, unfertilised ones grow into males.