LEGO for Logic