D-NLP at SemEval-2024 Task 2: Evaluating Clinical Inference Capabilities of Large Language Models