Input (grade 13): The partitions were carried out by the Russian Empire, Kingdom of Prussia, and Habsburg Austria dividing up the Commonwealth lands among themselves.
Output (grade 12): The partitions were carried out by Prussia, Russia and Habsburg Austria dividing up the Commonwealth lands among themselves.