#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  int ctp = 1;
  int cru = 1;
  for (int i = 0; i < s.size(); i++) {
    if (s[i] == 't' && s[i + 1] == 'p' && ctp == 1) {
      cout << s[i] << s[i + 1] << "://" << s[i + 2];
      ctp--;
      i = i + 2;
    } else if (s[i] == 'r' && s[i + 1] == 'u' && cru == 1) {
      cout << ".ru";
      i++;
      if (i != s.size() - 1) cout << "/";
      cru--;
    } else
      cout << s[i];
  }
  return 0;
}
