Answer
System B has the greater entropy.
Work Step by Step
In system A, there is only one arrangement which is energetically equivalent. But in system B, there are two energetically equivalent arrangements possible, where the particles exchange their places. So, system B has the greater entropy.