Answer

Red and blue shall not touch, here is a possible solution: