Shams ol Din
Shams ol Din( also Romanized as Shams ol Dīn; also known as Pīr Shams od Dīn) is a village in Teshkan Rural District, Chegeni District, Dowreh County, Lorestan Province, Iran.
At the 2006 census, its population was 137, in 27 families.
Valiabad, Tonekabon
Valiabad( also Romanized as Valīābād) is a village in Mir Shams ol Din Rural District, in the Central District of Tonekabon County, Mazandaran Province, Iran.
It is located on the Caspian Sea.
At the 2006 census, its population was 3,012, in 888 families.
Hajjiabad, Tonekabon
Hajjiabad( also Romanized as Ḩājjīābād; also known as Ḩājīmaḩalleh) is a village in Mir Shams ol Din Rural District, in the Central District of Tonekabon County, Mazandaran Province, Iran.
At the 2006 census, its population was 1,810, in 508 families.
Haryan, Hamadan
Haryan( also Romanized as Haryān and Harīyān) is a village in Razan Rural District, in the Central District of Razan County, Hamadan Province, Iran.
At the 2006 census, its population was 1,455, in 339 families.
Pir Shams ol Din
Pir Shams ol Din( also Romanized as Pīr Shams ol Dīn, Pīr Shams ed Dīn, and Pīr Shams od Dīn; also known as Pīr Shamsuddīn) is a village in Jolgeh Rural District, in the Central District of Asadabad County, Hamadan Province, Iran.
At the 2006 census, its population was 488, in 99 families.
Aminabad, Tonekabon
Aminabad( also Romanized as Amīnābād) is a village in Mir Shams ol Din Rural District, in the Central District of Tonekabon County, Mazandaran Province, Iran.
At the 2006 census, its population was 363, in 103 families.
Sheykh Shams ol Din
Sheykh Shams ol Din( also Romanized as Sheykh Shams ol Dīn; also known as Sheykh Shamseddīn) is a village in Shahid Modarres Rural District, in the Central District of Shushtar County, Khuzestan Province, Iran.
At the 2006 census, its population was 899, in 169 families.
Mir Shams ol Din
Mir Shams ol Din( also Romanized as Mīr Shams ol Dīn and Mīr Shams od Dīn) is a village in Mir Shams ol Din Rural District, in the Central District of Tonekabon County, Mazandaran Province, Iran.
At the 2006 census, its population was 1,386, in 400 families.
Shah Shams ol Din
Shah Shams ol Din( also Romanized as Shāh Shams ol Dīn and Shāh Shams- od- dīn) is a village in Sohr va Firuzan Rural District, Pir Bakran District, Falavarjan County, Isfahan Province, Iran.
At the 2006 census, its population consisted of 11 families, with 56 people on total.
Aliabad-e Pir Shams ol Din
Aliabad -e Pir Shams ol Din( also Romanized as ‘ Alīābād- e Pīr Shams ol Dīn and ‘ Alīābād- e Pīr Shams od Dīn; also known as ‘ Alīābād) is a village in Jolgeh Rural District, in the Central District of Asadabad County, Hamadan Province, Iran.
At the 2006 census, its population was 98, in 22 families.

Question: Are both villages, Haryan, Hamadan and Pir Shams Ol Din, located in the same country?
Answer: yes