import java.util.Random;
import java.util.*;


	public class main_program {
		 public static void main(String[] args) {
			  
	         Random ran = new Random();  
	         Input input = new Input();
	        // ConsistencyHash hash_push = new ConsistencyHash();
	         SeverList serverlist_head = null;
	         TaskList tasklist_head =null;
	         serverlist_head = input.input_server();
	         tasklist_head = input.input_task();
	         //打印虚拟服务器和任务信息
	         serverlist_head.print_SeverList();
	         tasklist_head.print_TaskList();
	        		 
	         //初始化一致环
	         
	        		 
	        		 
	      
	        // System.out.println(hash_push.hash(hash_push.computeMd5(String.valueOf(i)),ran.nextInt(hash_push.VIRTUAL_NUM)));
	        //  System.out.println(hash_push.getShardInfo(hash_push.hash(hash_push.computeMd5(String.valueOf(i)),ran.nextInt(hash_push.VIRTUAL_NUM))));
	         
	   } 

	
}
