What is the difference between the maximum value and the minimum value of the sum $a_1 + 2a_2 + 3a_3 + 4a_4 + 5a_5$ where $\{a_1,a_2,a_3,a_4,a_5\} = \{1,2,3,4,5\}$? Provide your answer as an integer.

Let's think step by step and output the final answer within \boxed{}.
user