Task: Question Decomposition
Input (English): question: How many years after Matthias succeeded as King of Hungary did he and Frederick III/V settle their rivalry with the Treaty of Wiener Neustadt?
Output (English): #1 return Matthias succeeded as King of Hungary 
#2 return Matthias and  Frederick III/V settle their rivalry with the  Treaty of Wiener Neustadt 
#3 return year of #1 
#4 return year of #2 
#5 return the  difference of #4 and  #3