#ifndef COMMUN_H_
#define COMMUN_H_
#include"stdlib.h"

inline int lrand(){
	int u=rand();u<<=9;u+=rand();u<<=9;u+=rand();
	return u;
}

inline int lrand(int x,int y){
	int v=y-x+1;
	int u=rand();u<<=9;u+=rand();u<<=9;u+=rand();u%=v;
	if (u<0) u+=v;
	return u+x;
}

#endif
