Scaling Recipe

아직 제출이 없습니다시간 제한1초메모리 제한1024 MB

문제

You've got a recipe which specifies a number of ingredients, the amount of each ingredient you will need, and the number of portions it produces. But, the number of portions you need is not the same as the number of portions specified in the recipe! How can you scale it?

입력

The first line of input contains three integers nn (1n401 \le n \le 40), xx and yy (1x,y40,0001 \le x,y \le 40{,}000), where nn is the number of ingredients in the recipe, xx is the number of portions that the recipe produces, and yy is the number of portions you need.

Each of the next nn lines contains a single integer aa (1a40,0001 \le a \le 40{,}000). These are the amounts of each ingredient needed for the recipe.

The inputs will be chosen so that the amount of each ingredient needed for yy portions will be an integer.

출력

Output nn lines. On each line output a single integer, which is the amount of that ingredient needed to produce yy portions of the recipe. Output these values in the order of the input.