#include <iostream>

using namespace std;

int main() {
    int n;
    
    cout << "Enter an integer:" << endl;
    cin >> n;

    try {
        if (n < 0) 
            throw 17;
        else if (n == 0) 
            throw 'e';
        else 
            throw 0.1;
    } catch (int x) {
        cout << "negative:" << x <<  endl;
    } catch (char c) {
        cout << "zero " << "char: " << c << endl;
    } catch (...) {
        cout << "positive" << endl;
    }

    cout << "good bye" << endl;
}

      
