import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.regex.*;

class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		String s = "The | community section | office section  | system section  | is here to help you with specific coding, algorithm, or language problems.";
		Pattern pattern = Pattern.compile("\\|\\s*(.*?)(?=\\s*\\|)");
		Matcher matcher = pattern.matcher(s);
		while (matcher.find()){
			System.out.println(matcher.group(1)); 
		} 
	}
}