#include <iostream>
#include <cmath>
using namespace std;
int main(){
double x,y;
int num;
do{
cout<<"请输入一个小数"<<endl;
cout<<"x=";
cin>>x;
}while(x>=1||x<=0);
num=1;
do{
num*=10;
y=x*num;
}while(fabs(y-(int)y)>1e-9);
cout<<y<<endl;
return 0;
}