int m2;
        if (c < b && c < a)
        m2 = c;
        else if (b < c && b <a)
        m2 = b;
        else
        m2 = a;
        return m2;