Input (grade 6): East Germany was a member of the Warsaw Pact and a close ally of the USSR.
Output (grade 3): East Germany was a member of the Warsaw Pact.