Problem G
Fimmtudagstilboð
Languages
en
is
![/problems/fimmtudagstilbod/file/statement/en/img-0001.png](/problems/fimmtudagstilbod/file/statement/en/img-0001.png)
Hafliði has been a regular at Mahjong Pizza’s Thursday-offer since its debut in 1993. The offer consists of a single pizza with two toppings for $1\, 000$ ISK, that is until January 2021 when it increased by $100$ ISK and has done so every year since. Hafliði wants you to write a program that tells him how much the offer costs in the year $y$ given this pattern.
Input
First and only line contains a single integer $y$.
Output
Write a single line containing the price of a Thursday-offer in the year $y$.
Scoring
Group |
Points |
Constraints |
1 |
20 |
$y = 2\, 020$ |
2 |
20 |
$2\, 020 \leq y \leq 2\, 024$ |
3 |
30 |
$2\, 020 \leq y \leq 9\, 999$ |
4 |
30 |
$1\, 993 \leq y \leq 9\, 999$ |
Sample Input 1 | Sample Output 1 |
---|---|
2020 |
1000 |
Sample Input 2 | Sample Output 2 |
---|---|
2024 |
1400 |