Input (grade 13): Poland regained its independence in 1918, but the Second Polish Republic was destroyed by Nazi Germany and the Soviet Union by their Invasion of Poland at the beginning of the Second World War.
Output (grade 12): After the Second World War, the Soviet Union put a Communist government in Poland, and the country was named the People's Republic of Poland.