import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNext()) {
            String s = in.next();
            StringBuilder sb = new StringBuilder();
            for(int i = 0; i<s.length();){
                if(s.charAt(i)>='0' && s.charAt(i)<='9'){
                    sb.append("*");
                    while(i<s.length() && s.charAt(i)>='0' && s.charAt(i)<='9'){
                        sb.append(s.charAt(i++));
                    }
                    sb.append("*");
                }else{
                    sb.append(s.charAt(i++));
                }
            }
            System.out.print(sb.toString());
        }
    }
}