Question: Are Longkou and Bei'an both in China?
Context: The Port of Longkou is an artificial deep-water international seaport on the coast of Longkou, Yantai Prefecture, Shandong, People's Republic of China.  It is located on the northern shore of Shandong Peninsula, opening to the Laizhou Bay of the Bohai Sea. Longkou (), formerly Huang County (), is a port city in northeastern Shandong province, China, facing the Bohai Sea to the north and the Laizhou Bay to the west.  Longkou, a county-level city, is administered by the prefecture-level city of Yantai.  The total population of Longkou is 620,000. Ma Dai (birth and death dates unknown) was a military general of the state of Shu Han during the Three Kingdoms period.  He previously served under his uncle Ma Teng, a warlord in northwestern China, during the late Eastern Han dynasty.  After Ma Teng's death, he followed his cousin Ma Chao (Ma Teng's eldest son) and they joined the warlord Zhang Lu in Hanzhong for a short period of time.  Ma Chao later defected to another warlord Liu Bei, and Ma Dai accompanied him.  Ma Dai served under Liu Bei and later in the state of Shu Han (founded by Liu Bei). Li Hui (died 231), courtesy name De'ang, was an official of the state of Shu Han during the Three Kingdoms period of China.  In the 14th-century historical novel "Romance of the Three Kingdoms", Li Hui foresaw the defeat of Liu Zhang so he ended up submitting to Liu Bei.  When Ma Chao came to the aid of Liu Zhang, Li Hui then persuaded Ma Chao to join Liu Bei.  Li Hui served Shu during the Northern and Southern campaigns led by Zhuge Liang.  In reality, however, Li Hui was not satisfied with Liu Zhang's reign and despite Liu Zhang's repeated requests, Li Hui had refused to serve in his government.  After Liu Bei had become the local ruler, Zhuge Liang invited Li Hui to serve under Liu Bei, and since Li Hui admired both Liu Bei and Zhuge Liang, he agreed and was assigned an important post. Bei'an () is a county-level city in west-central Heilongjiang province in the People's Republic of China.  It is under the jurisdiction of Heihe. Liu Ba (died 222), courtesy name Zichu, was an official in the state of Shu Han during the Three Kingdoms period of China.  He originally served under the warlord Liu Zhang before becoming a subordinate of Liu Bei (the founding emperor of Shu) after Liu Zhang's surrender to Liu Bei in 214.  Liu Ba was instrumental in helping Liu Bei reward his subordinates from the treasury without impoverishing the common people after their conquest of Yi Province.  Liu Ba also helped write the "Shu Ke" (蜀科), the legal code of Shu, along with Zhuge Liang, Li Yan, Mi Zhu, Dong He and others.  Liu Ba succeeded Fa Zheng as the Prefect of the Masters of Writing in 220 and held office until his death in 222. Taishi Ci (166–206), courtesy name Ziyi, was a military general who lived in the late Eastern Han dynasty.  A native of Donglai Commandery (around present-day Longkou, Shandong), he started his career as a minor official in the local commandery office.  In 186, at the age of 20, he became famous after successfully completing a mission to prevent a letter from the provincial administration from reaching the imperial court in Luoyang first.  However, out of fear that the provincial administration would take revenge against him, he went into hiding in Liaodong.  After returning from Liaodong, he travelled to Beihai (around present-day Weifang, Shandong) to rescue the warlord Kong Rong, who was besieged by Yellow Turban rebels.  By resorting to trickery, he managed to break out of the siege and seek aid from another warlord, Liu Bei.  The siege was lifted when Taishi Ci returned to Beihai with reinforcements from Liu Bei. Longzhong () is a scenic area with 1700 years of history and a total area of 209 sqkm located approximately 13 km away from Xiangyang, Hubei, People's Republic of China.  The famous statesman Zhuge Liang from the Three Kingdoms period of Chinese history lived in Longzhong seclusively for more than ten years.  It is where Liu Bei met Zhuge Liang and the story of the Longzhong Plan occurred.  Liu Bei made three trips before he was able to see Zhuge Liang.  Zhuge Liang showed Liu Bei the Longzhong Plan, a long-term strategy that outlined how Liu Bei could compete with Cao Cao.  This episode gave the birth to a modern Chinese idiom, “San Gu Mao Lu”, which means to repeatedly request somebody to take up a responsible post (). Xu Jing (died 222), courtesy name Wenxiu, was an official of the state of Shu Han in the early Three Kingdoms period of China.  After Liu Zhang announced his submission to Liu Bei, Xu Jing swore his allegiance to Liu Bei.  Like his cousin Xu Shao, Xu Jing was famous for being a good character evaluator.  After Liu Bei was declared himself emperor and established the Shu Han state in 221, he appointed Xu Jing as Minister over the Masses, an office ranking just below Imperial Chancellor (held by Zhuge Liang).  Xu Jing died in 222 after holding office for about one year or less. Ma Chao (176–222), courtesy name Mengqi, was a military general and warlord who lived in the late Eastern Han dynasty and early Three Kingdoms period.  A descendant of the general Ma Yuan, Ma Chao was the eldest son of Ma Teng, a prominent warlord in Liang Province (covering parts of northwestern China).  In 211, he formed a coalition with Han Sui and other northwestern warlords and revolted against the Han central government, which was led by the warlord Cao Cao.  The coalition broke up after losing the Battle of Tong Pass against Cao Cao's forces.  Ma Chao initially retreated, but later returned to attack and seize control of Liang Province by killing the provincial inspector Wei Kang and forcing Wei Kang's subordinates to submit to him.  About a year after Ma Chao started his uprising, Emperor Xian issued an imperial decree ordering the execution of Ma Chao's family members, who were in Ye city at the time.  In the meantime, Wei Kang's subordinates, led by Zhao Ang, Yang Fu and others, rebelled against Ma Chao and forced him out of Liang Province.  Ma Chao retreated to Hanzhong Commandery, where he borrowed troops from the warlord Zhang Lu, and returned to attack Liang Province but was ultimately defeated and driven back.  Ma Chao took shelter under Zhang Lu for a while until around 214, when he heard that the warlord Liu Bei was fighting for control over Yi Province (covering present-day Sichuan and Chongqing) with Yi Province's governor, Liu Zhang.  He defected to Liu Bei's side and assisted Liu Bei in capturing Yi Province from Liu Zhang.  Ma Chao had served as a general under Liu Bei since then and participated in the Hanzhong Campaign in 219.  He died in 222.
Answer: yes