Utkarsh Pandey's submission of Factor Tree | CodeChef