Problem: Vasya is an active Internet user. One day he came across an Internet resource he liked, so he wrote its address in the notebook. We know that the address of the written resource has format:

<protocol>://<domain>.ru[/<context>]

where:

  * <protocol> can equal either "http" (without the quotes) or "ftp" (without the quotes), 
  * <domain> is a non-empty string, consisting of lowercase English letters, 
  * the /<context> part may not be present. If it is present, then <context> is a non-empty string, consisting of lowercase English letters. 



If string <context> isn't present in the address, then the additional character "/" isn't written. Thus, the address has either two characters "/" (the ones that go before the domain), or three (an extra one in front of the context).

When the boy came home, he found out that the address he wrote in his notebook had no punctuation marks. Vasya must have been in a lot of hurry and didn't write characters ":", "/", ".".

Help Vasya to restore the possible address of the recorded Internet resource.

Input

The first line contains a non-empty string that Vasya wrote out in his notebook. This line consists of lowercase English letters only. 

It is guaranteed that the given string contains at most 50 letters. It is guaranteed that the given string can be obtained from some correct Internet resource address, described above.

Output

Print a single line — the address of the Internet resource that Vasya liked. If there are several addresses that meet the problem limitations, you are allowed to print any of them.

Examples

Input

httpsunrux


Output

http://sun.ru/x


Input

ftphttprururu


Output

ftp://http.ru/ruru

Note

In the second sample there are two more possible answers: "ftp://httpruru.ru" and "ftp://httpru.ru/ru".

Solution (in JAVA):

Solution:
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

public class Main {

/*	
  //       312/A
    static int check(String g) {
		if (g.indexOf("miao.") == 0 && g.lastIndexOf("lala.") != g.length()-5){
			return 2;
		}
		
		if (g.indexOf("miao.") != 0 && g.lastIndexOf("lala.") == g.length()-5){
			return 1;
		}
		return 3;
	}
	*/
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		

		
		
		
		//       312/A
/*		int n = in.nextInt();
		in.nextLine();
		for (int i = 0 ; i < n ; i++){
			String f = in.nextLine();
			if (check (f) == 1){
				System.out.println("Freda's");
			}else if (check (f) == 2){
				System.out.println("Rainbow's");
			}else {
				System.out.println("OMG>.< I don't know!");
			}
		}
		
		*/
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
/*		
		//         435 B
	    string n; int k;
	    cin >> n >> k;
	    
	    for (int i = 0 ; i < n.size()-1 ; i++){
			if (n[i] < n[i+1] && k>0){
				char h = n[i];
				n[i] = n[i+1];
				n[i+1] = h;
				k--;
				for (int j = i ; j > 0 ; j--){
					if (n[j] > n[j-1] && k>0){
						char h = n[j];
						n[j] = n[j-1];
						n[j-1] = h;
						k--;
					}
				}
			}
			if (k==0)
				break;
		}
	    cout << n;*/
		
		
		
		
		//  322/B
/*		List<Integer> list = new ArrayList<Integer>();
		list.add(in.nextInt());
		list.add(in.nextInt());
		list.add(in.nextInt());
		Collections.sort(list);
		
		int ret = 0;
		ret = list.get(0) + ((list.get(1)-list.get(0))/3) + ((list.get(2)-list.get(0))/3);
		
		System.out.println(ret);
		
		
		
		*/
		
		
		
		
		
		
		
		
		
		//  245B 
		String n = in.next();
		
		
		if (n.charAt(0) == 'f') {
			n = n.replaceFirst("ftp", "ftp://");
		} else {
			n = n.replaceFirst("http", "http://");
		}
		int idx = n.lastIndexOf("ru");
		
		if (idx + 3 > n.length())
			System.out.println(n.substring(0, idx) + "." + n.substring(idx));
		else
			System.out.println(n.substring(0, idx) + "." + n.substring(idx,idx+2) + "/" + n.substring(idx+2));

		
		
		
		// 614/B
/*		int n ;
		n = in.nextInt();
		
		
		String h = "";
		for (int i = 0 ; i < n ; i++){
			h += in.next() ;
			h+= " ";
		}
		String ret = "";
		for (int i = 0 ; i < h.length() ; i++){
			if (h.charAt(i) == '0'){
				ret+='0';
			}
		}
		
		Scanner im = new Scanner(h);
		String j = "";
		while(im.hasNext()){
			String g = im.next();
			if (g.length()==1 && g.charAt(0) == '0'){
				System.out.println("0");
				System.exit(0);
			}
			int one=0;
			for (int i = 0 ; i < g.length() ; i++){
				if (g.charAt(i) == '1')
					one++;
				if (g.charAt(i)>'1' || one>1){
					j=g;
					one = -1;
					break;
				}
			}
			
			if (one == -1)
				break;
		}
		im.close();
	
		
		for (int i = 0 ; i< j.length() ; i++){
			if (j.charAt(i) != '0')
				ret = j.charAt(i) + ret;
		}
		
		System.out.println(ret);*/
		in.close();
	}


}