Input (grade 12): After three days, on August 21, the coup collapsed, the organizers were detained, and Gorbachev returned as president of the Soviet Union.
Output (grade 7): After three days, on August 21, the coup failed. The authorities detained the organizers. Gorbachev returned as president of the Soviet Union.