Able to label input using manhattan distances