instruction: Country of united states, and a Events of 22, and a Earnings ( $ ) larger than 1,340,079 has the highest rank?
response: SELECT MAX("Rank") FROM table_38145 WHERE "Country" = 'united states' AND "Events" = '22' AND "Earnings ( $ )" > '1,340,079'