Before leaving Tokyo Monday , he said it is important for Japan and China to develop friendly relations .