Input (grade 10): In September 1917, the Ottomans caught her carrier pigeon with a message to the British and decrypted the Nili code.
Output (grade 9): In September 1917 the Ottomans caught one of her carrier pigeons which they then worked out (decrypted) and found out where she was.