Two lists with related sizes

I have two public lists in my class.

From inspector I can change their sizes. I want their sizes depends on each other (when i change size of one second changes too), but I have no idea how to achieve it.

I tried to make my own class which inherits from list (that would let me call event on list rebuilding) and use it, but it dosn’t display in inspector.

Co You have any ideas how to do this?

public class ListsTest : MonoBehaviour {

	public List<string> list1 = new List<string>();
	public List<string> list2 = new List<string>();

	public class MyList<T>: List<T>{
		
	}

	public MyList<string> list3 = new MyList<string>();
}

103234-listtest.png

You will probably need to make a Custom Inspector for your script