1298 - 黎耀谦的买鸡蛋日记

通过次数

10

提交次数

43

Time Limit : 1 秒
Memory Limit : 64 MB

有一天,黎耀谦同学出门游玩,看到一个老奶奶在路边卖鸡蛋,老奶奶有m个鸡蛋,一斤有n个鸡蛋,一斤y元,假设耀谦购买了x斤,耀谦花了多少钱?

Input

有四个整数,m,n,y,x

Output

一个整数,代表多少钱

Examples

Input

100 20 15 3

Output

45