How many years after excommunicating Ferdinand did Innocent finally settle his quarrel with Ferdinand?
return Innocent excommunicate Ferdinand  ;return Innocent finally settle his quarrel with Ferdinand  ;return year of #1 ;return year of #2 ;return the  difference of #4 and  #3
['select', 'select', 'project', 'project', 'arithmetic']