Which is easier to remove an electron from, N or O? Why?

Is it O?

Which is easier to remove an electron from, B or Be? Why?

Is it B?

Yes on both answers.