Find the sum of all positive integers \(n\) for which \(n^2-19n+99\) is a perfect square.
(第十七届AIME1999 第3题)