Input (grade 13): The two states united in 1964 to form the United Republic of Tanganyika and Zanzibar, which later the same year was renamed the United Republic of Tanzania.
Output (grade 8): The two countries joined together to form the United Republic of Tanzania in April 1964.