Input (grade 10): After imprisonment in Dartmoor, Maidstone and Lewes prisons, de Valera and his comrades were released under an amnesty in June 1917.
Output (grade 12): After imprisonment in Dartmoor, Maidstone and Lewes prisons in England, de Valera and other prisoners were released under an amnesty in June 1917.