Among non-OECD countries, Japan ranked fourth in reading and fifth in math and science.