#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
using namespace std;
class NumberException {};
int returnNumber(int n) throw(NumberException) {
if (n == 0) {
throw NumberException();
}
return n;
}
int main() {
int n;
try {
cin >> n;
returnNumber(n);
}
catch (NumberException) {
cout << " aaaaaaaaa " << endl;
}
system("pause");
return 0;
}