#include <iostream>
using namespace std;

class myclass {
	int num;
public:
	myclass(int x){num = x;}
	friend bool isneg(myclass* m);
};

bool isneg(myclass* m)
{
	return (0 > m->num);
}

int main()
{
	myclass a(1),b(-1);
	cout << "a‚Í•‰?" << isneg(&a) << "\n";
	cout << "b‚Í•‰?" << isneg(&b) << "\n";
	
	return 0;
}