The ideas that Japan borrowed from Korea and China would be their philosophy (the ethics and politics of Confucianism), the religion of Buddhism (which dominates Japan aside from Shinto), the writing system (wherein Japan derived from their own writing systems), and the government (imperialsim).