#include <iostream>   
#include <string>
#include <cmath>
#include <cstdlib>

using namespace std;

float floatFactorial();
double floatFactorial2();
float tirling();
double tirling2();

int main()
{
  cout << fixed << floatFactorial() << endl;
  //cout << fixed << floatFactorial2() << endl;
  cout << fixed << tirling() << endl;
  cout << fixed << tirling2() << endl;
  return 0;
}

float floatFactorial()
{
  float factorial;
  factorial = 15.0*14.0*13.0*12.0*11.0*10.0*9.0*8.0*7.0*6.0*5.0*4.0*3.0*2.0*1.0;
  return factorial;
}

double floatFactorial()
{
  
}

float tirling()
{
  float stirling;
  stirling = exp(-15.0)*pow(15.0,15.0)*sqrt(2.0*3.141592653589793238462*15.0);

  return stirling;
}

double tirling2()
{
  double stirling;
  stirling = exp(-15.0)*pow(15.0,15.0)*sqrt(2.0*3.141592653589793238462*15.0);

  return stirling;
}
