A farmer had 3000 acres of land. He planted 30% of it with wheat, 45% with corn and the rest with oats. Find how many acres he planted with each kind of grain.