President meets departing Hungarian ambassador