On Finding Lowest Term