13 lines
209 B
C++
13 lines
209 B
C++
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
int n;
|
|
cin >> n;
|
|
if (n <= 20) printf("%d", n * 10);
|
|
else
|
|
printf("%d", 20 * 10 + (n - 20) * 15);
|
|
return 0;
|
|
}
|