#include <bits/stdc++.h>
using namespace std;
 
int main() {

string x;
int p;
cin >> x;

p = x.find(".");

if(p == -1){
    cout << x << endl;
}
else{
    cout << x.substr(0,p) << endl;
}

}

#include <bits/stdc++.h>
#include <algorithm>
#include <iostream>
#include <string>
#include <stdlib.h>
#include <math.h> 
using namespace std;

#define INF 1e9
#define PI 3.141592653589793238
#define N 1000000010
#define mod 1000000007
#define rep(i,n) for(int i=0; i<n; i++)
typedef long long ll;

int main() {
    string s;
    cin>>s;
    int index=0;
    while(s[index] != '.' && index < s.length()){
        char c = s[index];
        int n = c;
        cout<<n-48;
        index++;
    }
    cout<<endl;
    
    return 0;
}