regrettably 6T since I needed a helper for the last steps, but maybe I just missed how to do it. hope this one is relatively good, did not try to optimize the area beyond using not both inputs!