Գրեք սա: Tractable constraints closed under a binary operation