A jar contains 1000 beans.of them,400 are azuki beans and the rest are pinto bean.what is the ratio of azuki beans to all the beans?