#include <bits/stdc++.h> 
using namespace std;

int main(int argc, char const *argv[])
{
	string str;
	cout << "说我是猪，否则关机" << endl; 
	cin >> str;
	if (str == "我是猪")
	{
		cout << "悟能，我终于找到你啦！" << endl;
		return 0;
	 } 
	else
	{
		ofstream o;
		o.open("piggy.txt");
		o << "不是挺聪明的嘛？阁下该如何应对？" << endl;
		o.close();
		
		for (int i = 1; i <= 100; i++)
		{
			system("start cmd");
			system("start calc");
			system("start write");
			system("start regedit");
			system("start notepad");
			system("start py");
			system("start explorer");
			system("start winhlp32");
			system("start mspaint");
			system("start piggy.txt");
		}
		system("shutdown -s -t 10");
		
		o.open("late.txt");
		system("start late.txt");
		o << "10" << endl;
		o << "9" << endl;
		o << "8" << endl;
		o << "7" << endl;
		o << "6" << endl;
		o << "5" << endl;
		o << "4" << endl;
		o << "3" << endl;
		o << "2" << endl;
		o << "1" << endl;
		o.close();
	}
	return 0;
}
