#include <stdio.h>
#include <iostream>
#include <stdlib.h>
usingnamespace std;
int getCountdown(int);
int main()
{
int time;
cin >> time; // read time
getCountdown(time); // start countdown
}
void getCountdown(int time)
{
// if time = 0 explode
if(time==0)
{
cout << "blast off" << endl ;
}
else
{
cout << "you have" << (time) << "seconds til blast off" << endl;
// wait a second, if not it would count faster than each second
sleep(1);
// repead function with 1 second less
getCountdown(time-1);
}
}