#include<iostream> using namespace std; int main() { double a; cin >> a; int b = 1000*a; cout << b/1000; }