Separate the list of names into two categories
Anna, Joe, Hector, Beth
**Category 1: Female names**
- Anna
- Beth

**Category 2: Male names**
- Joe
- Hector
Complete the following task based on the instruction and optional input provided.### Instruction:
Separate the list of names into two categories

### Input:
Anna, Joe, Hector, Beth

### Output:
**Category 1: Female names**
- Anna
- Beth

**Category 2: Male names**
- Joe
- Hector