anirudh bansal's submission of Utkarsh and LCM | CodeChef