have a shot at vs try to solve

have a shot at

try to solve

How often have the words have a shot at and try to solve occurred in a corpus of books? (source: Google Ngram Viewer )