Fukuda said he had received a letter in which Putin had expressed his willingness to end the territorial dispute , which has prevented the two countries signing a peace deal in the six decades since the war ended .