what is the sum of rank with years  1996–2012 and apps greater than 340?
none