#include <stdlib.h>
#include <cmath>
#include <cstdio>
#include <cstdint>
#include <string>
#include <iostream>
#include <vector>
#include <utility>
#include <algorithm>
#include <map>
using namespace std;
using ll = long long;

int main(){
  string X;
  cin >> X;

  ll index=-1;
  for(ll i=0;i<X.size();++i){
    if(X[i]=='.'){
      X.erase(i);
      break;
    }
  }

  cout << X << endl;
  
  return 0;
}

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
using ll = int64_t;

int main() {
  string s;
  cin >> s;
  string t;
  for(int i = 1; i < s.size(); i++) t += s[i];
  t += s[0];
  cout << t << endl;
}