#include #include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string s; cin >> s; string A, B; bool toa = true; for (int i = 0; i < s.size(); i++) { if (s[i] == '/') { toa = false; continue; } if (toa) A += s[i]; else B += s[i]; } assert(A.size() > 0 && B.size() > 0); int aa = stoi(A), bb = stoi(B); cout << fixed << setprecision(16) << (double)aa / bb << endl; return 0; }