How to say in Czech: Where did they learn Hungarian?

Czech
Kde se naučili maďarsky?