#include using namespace std; int main(){ string S; cin >> S; int pos; for(int i = 0; i < S.size(); i++){ if(S[i] == '/') pos = i; } double A = stoi(S.substr(0, pos)); double B = stoi(S.substr(pos + 1)); cout << A / B; }