How to work with common fractions?