sentence1: South Africa was under apartheid at the time , but it encouraged trade and investment from Hong Kong and Japan .
sentence2: At the time , Hong Kong was under apartheid , but it encouraged trade and investment from South Africa as well as Japan .