#23829: __11


leo931101 (℗™§⁕⁂‱⁇‽⁜௹﷼₯ɸʬ)


#include <iostream>

 

using namespace std;

 

 

 

int f(int n)

{

    if(n==1)       // if後只有一行,可省略{}

        return 8;

        else

            return f(n-1)+5;

}

 

int main()

{

    int n;

    while(cin >> n)

        cout << f(n) << endl; // 5->28

    return 0;

}