#include <iostream>
using namespace std;
int oddify(int x) {
if(x%2 == 0) {
return x-1;
}
throw "Problem!";
}
int main()
{
int x;
cout << "Enter an integer: ";
cin >> x;
x=oddify(x);
cout << "The odd version of your number is: " << x << endl;
return 0;
}