Saturday White Bread
Problem Statement
Saturday White Bread is a homemade artisan loaf of white bread that can be made in one day.
You decided that you have time to bake it yourself so you start searching online for the receipe. After searching, you found out that the ingredients are all percentages of the flour weight.
For example:
White Flour 100%
Water 72%
Salt 2%
Yeast 1%
So if you had 100 grams of flour, you need 72 grams or water, 2 grams of salt and 1 grams of yeast to make the bread.
Given the weight of the flour F
, calculate the weight of the rest of the ingredients.
Constraints
F
is the weight of the flour in grams, an integer from 100 to 1000.
Input
Input is in the following format:
F
Output
Print the required amount of each ingredient as an integer:
water
72
salt
2
yeast
1
Samples
Sample 1
Input | Output |
---|---|
100 | water 72 salt 2 yeast 1 |
Sample 2
Input | Output |
---|---|
200 | water 144 salt 4 yeast 2 |
Sample 3
Input | Output |
---|---|
350 | water 252 salt 7 yeast 3 |
Comments