#include <bits/stdc++.h>


#define pb push_back
#define eb emplace_back

typedef long long ll;
typedef unsigned long long ull;

using namespace std;


void one_case() {

    int n;
    cin >> n;
    cout << max(0, n);
}



int main() {
//    std::ios::sync_with_stdio(false);
//    std::cin.tie(nullptr);

    int t = 1;
//    cin >> t;
    for (int i = 0; i < t; ++i) {
//        cout << "Case #" << i + 1 << ": ";
        one_case();
    }

    return 0;
}

#include <algorithm>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <sstream>
#include <vector>
#include <set>
#include <map>
#include <stack>
#include <cmath>
#include <iterator>
#include <queue>
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define ll long long int
using namespace std;

int main()
{
	string str;
	cin>>str;
	for(int i = 0; i < str.length(); i++){
		char ch = str[i];
		if(ch == '.') break;
		cout<<ch;
	}
	cout<<endl;
	return 0;
}

