A jar contains 700 beans. Of them 420 are pinto beans and the rest are lima beans. What is the ratio of pinto beans to all the beans?