#include<iostream> using namespace std; int a(int n){ if(n==1){ return 10; }else{ return 2+a(n-1); } } int main(){ int x=a(5); cout<<x; return 0; }