Let set \(\mathcal{A}\) be a 90-element subset of \(\{1,2,3,\ldots,100\},\) and let \(S\) be the sum of the elements of \(\mathcal{A}.\) Find the number of possible values of \(S.\)

(第二十四届AIME1 2006 第2题)