#include using namespace std; int main() { float a; cin >> a; int b = int(a * 10); bool first = true; while (b) { cout << b % 10; if (first) { cout << "."; first = false; } b /= 10; } return 0; }