Input (grade 11): Iran's western borders are with Turkey in the north and Iraq in the south, terminating at the Shatt al-Arab, which Iranians call the Arvand Rud.
Output (grade 10): Iran's western borders are with Turkey in the north and Iraq in the south, ending at the Shatt al Arab (which Iranians call the Arvand Rud).