private InfoDetail firstGranateForMe (InfoDetail me, List<InfoDetail> granates){
        if(granates.isEmpty()){
            return null;
        }
        InfoDetail granat=null;
        for(int i=0; i<granates.size(); i++){
            if(isForMe(me, granates.get(i))){
                granat=granates.get(i);
                break;
            }
        }
        if(granat==null){
            return null;
        }
        for(int i=0; i<granates.size(); i++){
            if(isForMe(me, granates.get(i)) && distanceFrom(granates.get(i), me)<distanceFrom(granat, me)){
                granat=granates.get(i);
            }
        }
        return granat;
    }