#include int main(void) { long int A, B, C, D; scanf("%ld %ld %ld %ld", &A, &B, &C, &D); printf("%lf\n", (double)A * B + C / D); return 0; }