Task: Question Understanding
Input (English): On Aug 23, 1939, Germany signed a non-aggression pact with what other country, paving the way for the Nazi invasion of Poland?
Output (English): military