I wish I had a more elegant solution but

Works like full efficient.