Original: However , there is evidence that suggests people were living on the islands of Japan since the upper paleolithic period .
Simplified: In 784 , the capital was moved to Nagaoka and in 794 to Kyoto .