The clients connects to the server and enter your email and number in range [0;100]. When server receive five numbers, it waits 2 seconds for new clients and if clients are missing, then it starts to calculate the winner.
The winner is the man who's number is closest to the arithmetical mean. Server will print the winner's email.
Server is available at localhost:8888.