Singapore leaves Malaysia and becomes an independent state on 9 August.