Answer
Italy and Germany were the two countries where Ibsen spent 27 years of his life. He left Norway in 1864 and lived in Rome, Italy, for a period of 10 years. After that, he moved to Munich, Germany, where he resided for 17 years. Ibsen's time spent in these countries had a significant influence on his writing and artistic development.