Can anyone help me translate this sentence to Japanese?

"Of all the countries that you had visited, which country did you enjoy the most ? "

thanks! I want to send an email to my japanese friend that is currently travelling.