//Author: Never Wang, 5+ years Toastmaster in Beijing
// apcoachS 2014
#include <iostream>
#include <string>
using namespace mobileinternet;
class Candidate
{
	public:
		Candidate(bool t, string p, string c, int y)
		{
			Toastmaster = t; curPos = p; city = c; workYear =y;
			for(int i=0;i<5;i++)
			    carTar[i] = "xxx";
		}
		bool Requirement()
		{
			if (  Toastmaster == true \
			   &&(curPos == "software Engineer" || curPos == "test engineer") \
			   && workYear >=2 \
			   && city == "Beijing")
			return true;
		}
		bool Target()
		{
		if (carTar[0] == "promoting solution to clients with your excellent communication skills"\
		 && carTar[1] == "working with global teams across regions with your proficient English"\
		 && carTar[2] == "providing technical support to internal teams"\
		 && carTar[3] == "working closely with R&D team to understand core products"\
		 && carTar[4] == "working in a booming mobile internet industry")
		return true;
		}
		void sendResume()
		{
			mailto("hr@appcoachs.com");
		}
	private:
		bool Toastmaster;
		string curPos; //Your current position
		string city; //Your working city
		string carTar[5]; //Your career target
		int workYear; //Your working Years
};

int main()
{
	Candidate you(true,"xxx","xxx",3);
	if ( you.Requirement() == true && you.Target() == true )
	{
		cout<<"You are the Sales Engineer we are looking for!!!"<<endl;
		you.sendResume();
	}
}