Automatic Prompt Selection for Large Language Models