#include<bits/stdc++.h>
using namespace std;
int main(){
    int fun(int n)

        if(n==1){
        	return 1;
        }else
            return fun(n-3)+n;
    int n=100;
    cout<<fun(n);
    return 0;
}
/**************************************************************
	Problem: 1053
	User: chenyaohuo
	Language: C++
	Result: Compile Error
****************************************************************/