Input (grade 10): Hungary and Austria maintained separate parliaments, each with its own prime minister.
Output (grade 7): Hungary and Austria had different parliaments. Each had its own prime minister.