#include <iostream>

using namespace std;

int main()
{  
   int floor;
   cout << "Piętro: ";
   cin >> floor;
   int actual_floor;
   if (floor > 13)
   {  
      actual_floor = floor - 1;
   }
   else
   {
      actual_floor = floor;
   }

   cout << "Winda pojedzie na rzeczywiste piętro "
      << actual_floor << endl;

   return 0;
}

