1298 - 黎耀谦的买鸡蛋日记

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

Input

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

Output

一个整数,代表多少钱

Examples

Input

100 20 15 3

Output

45
Time Limit 1 second
Memory Limit 64 MB
Discuss Stats
上一题 下一题