Given a disfluent sentence, modify the sentence to it to its equivalent fluent form, preserving the meaning of the sentence.
--------
Question: When did the Spanish and Portuguese colonies primarily gained no lose their independence?

Answer:  When did the Spanish and Portuguese colonies lose their independance.


Question: Which or no make that what theorem defines the main role of primes in number theory?

Answer: What theorem defines the main role of primes in number theory?


Question: Who is the Palestinian President that went to Harvard Costa Rican I mean?

Answer:
Who is the Costa Rican President that went to Harvard?