In the Six-Day War (1967) the countries were: Israel, Egypt, Syria, Jordan, and Iraq.

In the War of Attrition (1967-1970) countries were: Israel, Egypt, Soviet Union, PLO (Palestine Liberation Organization), and Jordan.

In the Yom Kippur War (1973) countries were: Israel, Egypt, Syria, Iraq, Jordan, Algeria, Morocco, Saudi Arabia, and Cuba.

So it would be Israel and Egypt. Sorry for that. I forgot it said ‘what TWO’.