Three identical bar magnets