Solution for SMART-101 Challenge of CVPR Multi-modal Algorithmic Reasoning Task 2024