Miscellaneous Facts about Thai team at IMO

We have

\[

\sum_{\text{year} = 1989}^{2015} \sum_{\text{all participants }} max(0, \text{total score of the participant} - \text{gold cut} + 1) = 49.

\]