Text this: Performance of Large Language Models in Medical Exams