Splitter and joiner