Գրեք սա: Algorithmics of matching under preferences