#include using namespace std; int main() { string S; cin >> S; long long a, b; sscanf( S.c_str(), "%lld/%lld", &a, &b ); double ans = (double)a / b; cout << fixed << setprecision(12) << ans << endl; }