| MOSUL, Iraq
MOSUL, Iraq Ahmed Abdelsattar was 14 when Islamic State swept into Mosul and declared a caliphate in 2014. Fearing he would be indoctrinated and sent to fight by the militants, his parents took him out of school.
Three years later, he sells ice cream at a refugee camp for internally displaced Iraqis. His family have lost their home and his father is too old for the manual labour positions at the camp, which means he is his family's sole breadwinner.
Coupled with a shortage of teachers, books and supplies, the 17-year-old sees no reason to go to the makeshift schools set up in the Khazar camp near Erbil.
"Going to school is now useless. I am helping my family," he said. He adds that it is too late for him anyway. Had his education not been interrupted, Abdelsattar would be graduating in a few weeks.
Abdelsattar is one of tens of thousands of children orphaned or left homeless by the war on Islamic State and forced to work to support their families in Mosul, the militant's last major city stronghold in Iraq.
Returning these children to school is a priority for Iraq to end the cycle of sectarian violence fuelled in part by poverty and ignorance, the United Nations says.
"Investment in education is urgently needed, without which Iraq could lose an entire generation," said Laila Ali, a spokeswoman for the UN's children agency UNICEF.
"Children from different ethnicities and religions, in the same classroom, will promote a cohesive society and will get children to think differently."
Even in the half of Mosul east of the Tigris River that has been retaken by Iraqi forces, where 320 of the 400 schools have reopened, Reuters interviewed dozens of children working as rubbish collectors, vegetable vendors or mechanics.
"I did not go to school because Islamic State came and they would teach children about fighting and send them to fight," says 12-year-old Falah by his vegetable cart in Mosul.
Within earshot, fighting was still raging. Just across the river, government troops, artillery and aircraft were attacking Islamic State's last stronghold in western Mosul.
Falah has four younger brothers. None of them have ever been to school.
ONE PLUS ONE EQUALS TWO
Huzayfa studied up to the fifth grade but stopped when Islamic State came. The militants taught math using bullets, rifles and bombs, said the 12-year-old, who sells scrap metal.
"They taught us 'one bullet plus one bullet' and how to fire weapons," he said.
The local education department in Nineveh province, of which Mosul is the capital, estimates 10 percent of children in east Mosul are still out of school. There has been no official count for almost four years, it said.
There are also no official statistics on the dropout rate, a spokesman for Iraq's Education Ministry said, especially as many families have fled Mosul or Iraq altogether.
"We are counting on parent-teacher conferences and local officials to convince parents to send their kids back to school," said Ibrahim al-Sabti.
Government funds normally allocated to education have been depleted by corruption and mismanagement, lawmakers and non-governmental organisations say, citing the results of investigations in 2014 and 2016.
Oil-rich Iraq historically had very high literacy rates and primary school enrolment was 100 percent in the 1980s.
Illiteracy became rampant after international sanctions were imposed due to the August 1990-1991 occupation of Kuwait. Economic hardship was made worse by the civil war that broke out after the 2003 U.S.-led invasion that toppled Saddam Hussein.
Schools in east Mosul started reopening in January and so far around 350,000 students are back in class, compared to 183,229 in 2013, with much of the increase due to displaced people from west Mosul and surrounding villages.
UNICEF estimates around 1.2 million Iraqi children are not in school nationwide.
The Iraqi military expects to dislodge Islamic State from the rest of Mosul in May but the militants are mounting a strong resistance in the densely populated Old City.
Iraqi troops began their offensive in October backed by a U.S.-led international coalition providing air and ground support. The militants are fighting back using booby traps, suicide motorcycle attacks, sniper and mortar fire and sometimes shells filled with toxic gas.
For children like Ahmed Abdelsattar, whether or not the group is finally ousted from Mosul has little bearing on their fate.
If he is lucky, he will return to where his home used to be in western Mosul's Al-Jadida district, an area where local officials and eyewitnesses have said as many as 240 people may have died in March when a building collapsed after a blast, burying families inside.
"The future is lost," he said with an air of resignation.
(Reporting by Ahmed Aboulenein; Editing by Sonya Hepinstall)