Input (grade 13): After the defeat of Japan during World War II, Taiwan was surrendered to the Allies, with ROC troops accepting the surrender of the Japanese garrison.
Output (grade 9): After the Japanese were defeated by the Allies during World War II, Taiwan was controlled by the ROC.