Problem D
Turn It Up!
Languages
da
en
Your volume control is at a comfortable
Ever aiming to please, you try to accomodate their requests
and increase or decrease the volume by one step accordingly.
There are
When the volume is set to
Where is your volume control after
Input
A single integer
The following
Output
Write a single integer: The position of your volume control
after all
Points
There are three test groups.
Group |
Points |
Constraints |
1 |
25 |
|
2 |
25 |
|
3 |
50 |
|
Sample Input 1 | Sample Output 1 |
---|---|
3 Skru op! Skru op! Skru ned! |
8 |
Sample Input 2 | Sample Output 2 |
---|---|
5 Skru op! Skru op! Skru op! Skru op! Skru ned! |
9 |