Problem #WSP-5289

Problem

In a parliament with only one house every member had at most three enemies. We wish to split this parliament into two separate houses in such a way that each member will have at most one enemy in the same house as them. We assume that hard feelings among members of parliament are mutual, namely if \(A\) recognises \(B\) as their enemy, then \(B\) also recognises \(A\) as their enemy.

Is this splitting possible?