#include<iostream> using namespace std; int main() { double n; cin>>n; while((n-int(n))!=0){ n*=10; } cout<<int(n); return 0; }