public int clear() {
        System.out.print("Distribution: ");
        for (int i = 0; i < 4; ++i){
            System.out.print(distribution[i] + ", ");
            distribution[i] = 0;
        }
        System.out.println();
        String response;
        for (SocketClient sClient : sClients){
            try{
                response = sClient.sendRequest("clr");
            } catch (IOException e){
                return 2;
            }
            if (!response.equals("0")){
                return Integer.parseInt(response);
            }
        }
        return 0;
    }