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 goes a further 44 km to the Teraja Hills. From there, the border runs along the watershed between the Belait and Tutong rivers on one hand, and the Baram and Limbang rivers on the other hand. It then proceeds along the watershed of the Brunei and Limbang river basins, enters and runs along Sungai Mendaun, Sungai Melais and Sungai Menunggul (Menunggol) until its estuary at Brunei Bay. The land border between Malaysia and Brunei's Temburong District (which is separated from the other part of Brunei) starts at the estuary of the Pandaruan River and runs the entire length of the