Problem C
Chardonnay
Languages
da
en
is
You wouldn’t usually open a new bottle of wine just for a single glass. But whenever your dinner recipe calls for wine, it’s a perfect opportunity to treat yourself to a glass from the leftover contents. After all, the bottle is already open, so you might as well enjoy yourself.
A glass of wine is $1$ dl, and a bottle of wine contains $7$ dl.
Input
One line with the amount $a\in \{ 0,\ldots , 7\} $ of wine required by the recipe, in decilitres.
Output
The total amount of wine you will use, in decilitres.
Sample Input 1 | Sample Output 1 |
---|---|
3 |
4 |
Sample Input 2 | Sample Output 2 |
---|---|
0 |
0 |
Sample Input 3 | Sample Output 3 |
---|---|
7 |
7 |