Input (grade 9): Khomeini, having been exiled from Iran in 1964, took up residence in Iraq, at the Shi'ite holy city of An Najaf.
Output (grade 8): Khomeini, having been exiled from Iran in 1964, took up living in Iraq, at the Shi'ite holy city of An Najaf.