#include "bits/stdc++.h" using namespace std; int main() { string a; while (cin >> a) { int i = 0, dec=0; for (; i < a.size(); ++i) { if (a[i] == '.') { dec = i; break; } } int num =...