After Ivan took control of the disputed territory in 1577, how many years did it take the Commonwealth to win a favorable treaty from Ivan?
return Ivan  took control of the  disputed territory in  1577 ;return the  Commonwealth did win a favorable treaty from  Ivan  ;return year of #1 ;return year of #2 ;return difference of #3 and  #4
['select', 'select', 'project', 'project', 'arithmetic']