/* package whatever; // don't place package name! */

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

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		cal("xyzoneyctwothreefourvone");
	}
	
	//We need to convert xyzoneyctwothreefourvone to numbers : 1,234,1

	public static void cal(String s){
	
	    HashMap<String, String> map= new HashMap<String, String>();
	    map.put("zero", "0");
	    map.put("one", "1");
	    map.put("two", "2");
	    map.put("three", "3");
	    map.put("four", "4");
	    
		for(Map.Entry<String, String> entry : map.entrySet()) {
			s = s.replaceAll(entry.getKey(), entry.getValue());
		}
		
		s = s.replaceAll("[a-z]", "+");
	    System.out.println(s.toString());
	}
}