Party B can write two people in the contract. A contract can be signed by more than three people. The parties to a contract include natural persons, enterprise legal persons and other social organizations. One party to a contract can be one person or more than two, and there is no clear restriction.