#include <iostream>
#include <random>
#include <time.h>

using namespace std;

class test{
    mt19937 myrand;
public:
    test(int seed):myrand(seed){}
    void Do(){cout << myrand()%10 <<endl;}    
};

int main() {
	
    test obj((unsigned)time(NULL));
    obj.Do();
    
	return 0;
}