Input (grade 13): Koxinga was son of a former merchant who styled himself as a Ming Dynasty loyalist; he hoped to marshal his troops on Taiwan and use it as a base to regain mainland China for the Ming Dynasty.
Output (grade 8): Contact with the Kangxi Emperor of the Qing Dynasty from the China through ambassadors was frequent.