#include <stdio.h> #include<math.h> int main() { int c,d,a,b,n; scanf("%d %d %d %d",&c,&d,&a,&b); n=(a*b)/(c*d); printf("%d\n",n); return 0; }
No comments