Indonesia the world, extending from east to west and from north to south. According to the country's Coordinating Ministry for Maritime Affairs, Indonesia has 17,504 islands (16,056 of which are registered at the UN), scattered over both sides of the equator, and with about 6,000 of them are inhabited. The largest are Java, Sumatra, Borneo (shared with Brunei and Malaysia), Sulawesi, and New Guinea (shared with Papua New Guinea). Indonesia shares land borders with Malaysia on Borneo, Papua New Guinea on the island of New Guinea, and East Timor on the island of Timor, and maritime borders with Singapore, Malaysia, Vietnam,
Brunei–Malaysia border their boundary issues and demarcate their common border according to the five historical agreements, of which the two directly concern Limbang, namely the 1920 agreement establishing the Pandaruan River as the Brunei-Sarawak border to the east of Limbang, and the 1933 agreement establishing the Brunei-Sarawak border to the west of Limbang. The two countries also agreed to use the watershed principle to fill in the gaps. This essentially reaffirms the current de facto boundary without major deviation. This led Malaysia to declare that the Limbang Question has been settled with Malaysia having unequivocal ownership over Limbang. Brunei however immediately denied