how to get lowest term in fraction in fast way?