Input (grade 12): This led to the 1956 Hungarian Revolution and Hungary's temporary withdrawal from the Warsaw Pact.
Output (grade 4): Hungary withdrew from the Warsaw Pact.