import java.util.*;
public class Niz14{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		System.out.print("Vnesi stavek ");
		String stavek = sc.nextLine();
		StringBuffer sb = new StringBuffer(stavek);
		for (int i = 0; i<sb.length()-1; i++){
			if (sb.charAt(i) == ' ')
				sb.setCharAt(i-1, 'x');
		}
		sb.setCharAt(sb.length()-1, 'x');
		System.out.println(sb);
	}
}