public int convertType(int size, int color)
    {
        if(size == 1 && color == 1){
            return 3;
        }
        else if(size == 1 && color == 2){
            return 2;
        }
        else if(size == 2 && color == 1){
            return 1;
        }
        else if(size == 2 && color == 2){
            return 0;
        }
        else{
            return 100;
        }
    }