#include<iostream>
using namespace std;


// Declare mysteryFunc
int mysteryFunc(int inNum);

int main()
{
 // Declare and input number
 int num;
 cout << "Give me a number: ";
 cin >> num;

 // Calculate and report result from mysteryFunc
 cout << "Okay, the " << num << "th mystery number is "
      << mysteryFunc(num) << endl;

 return 0;
}


// Define mysteryFunc
int mysteryFunc(int inNum)
{
 if(inNum>1)
   return 2*mysteryFunc(inNum-1);
 else
   return 5;
}