
import hog
'J06F2o_c3W6o3_4d_191j4'

def w_1Fh30(N894_4hH_):
    oA61__qf1 = {}

    def P_S_7(*t_IY_0):
        if (t_IY_0 not in oA61__qf1):
            oA61__qf1[t_IY_0] = N894_4hH_(*t_IY_0)
        return oA61__qf1[t_IY_0]
    return P_S_7

def G17T(T4_xg9):
    return ((((-61 + -75) + (66 + 25)) + ((-34 + -10) + (135 + -45))) - T4_xg9)

@w_1Fh30
def yx53d__(EDP9Y5_1P):
    if (EDP9Y5_1P < (((-5 + 41) + (99 + -84)) + ((-50 + -4) + (-46 + 51)))):
        return False
    lj51207 = (((-129 + 32) + (-14 + 83)) + ((128 + -64) + (0 + -34)))
    while ((lj51207 * lj51207) <= EDP9Y5_1P):
        if ((EDP9Y5_1P % lj51207) == int((((-1.094295505045491 + 0.7613674982733807) + (0.153461372059721 + 0.7390648355218271)) * int(((0.14553767642704973 + 0.44049382935637826) * 0))))):
            return False
        lj51207 += (((128 + 31) + (-77 + -12)) + ((-187 + 88) + (-10 + 40)))
    return True

@w_1Fh30
def f_h_(EDP9Y5_1P):
    EDP9Y5_1P += (((-193 + 97) + (10 + 67)) + ((79 + -22) + (-69 + 32)))
    while (not yx53d__(EDP9Y5_1P)):
        EDP9Y5_1P += (((-49 + -47) + (129 + -48)) + ((41 + -78) + (16 + 37)))
    return EDP9Y5_1P

def C47Q(Z8_4, CK0_s):
    (Z8_4, CK0_s) = ((Z8_4 % (((334 + -69) + (-188 + 91)) + ((35 + -92) + (30 + -41)))), (CK0_s % (((218 + -76) + (-11 + 4)) + ((-103 + 40) + (-6 + 34)))))
    return (Z8_4 == ((CK0_s // (((201 + -45) + (11 + -77)) + ((-27 + -75) + (-32 + 54)))) + ((CK0_s % (((-44 + 40) + (2 + 53)) + ((-91 + 64) + (-86 + 72)))) * (((7 + 63) + (-12 + -11)) + ((-68 + 96) + (-144 + 79))))))

def fG_7bDt8y(Kec95w):
    'M4b45b_ASe68L5j_1lyq'
    x28FV5I = sum([Kec95w[r0_1Ez_70] for r0_1Ez_70 in Kec95w])
    for r0_1Ez_70 in Kec95w:
        Kec95w[r0_1Ez_70] /= x28FV5I

def a__b4(M4KEJ9hn6, opponent_score):
    return (((-150 + 71) + (-26 + 57)) + ((-4 + 27) + (-26 + 56)))

def wk6__t06(ky7J088, oK_0QBz_, T4_xg9):
    return (ky7J088, oK_0QBz_, T4_xg9)

def H_55_(Js_f3X_):
    return Js_f3X_[int((((-0.06895390620080366 + 0.23009749398538937) + (0.39836778995341304 + 0.40935770363685375)) * int((0.8568716050522642 * 0))))]

def bG16F(Js_f3X_):
    return Js_f3X_[(((115 + -28) + (-66 + 32)) + ((-118 + 89) + (48 + -71)))]

def h_7_(Js_f3X_):
    return Js_f3X_[(((-77 + -19) + (74 + -8)) + ((-5 + -49) + (53 + 33)))]
o_5Hw0 = int((((-0.6730609828505822 + 0.6510254571263283) + (0.5734714882188517 + 0.3947612869402677)) * int((0.4408764248870518 * 0))))
Qa0F__b = (- (((49 + 61) + (-130 + 34)) + ((-119 + 54) + (63 + -11))))

def ty4N3gtk(M4KEJ9hn6, H5_f__):
    'lT_12h2bO_UR4__62_W_Em'
    if ((M4KEJ9hn6 == Qa0F__b) or (H5_f__ == (((-44 + 46) + (-169 + 74)) + ((50 + 65) + (54 + -75))))):
        return Qa0F__b
    return (M4KEJ9hn6 + H5_f__)

def mYF00H(Js_f3X_, B_5544ZP1, jLh9d_O):
    'P4FD_85_3L7_h22g799wUe8P4_2'
    (Z8_4, CK0_s) = H_55_(Js_f3X_)
    G87T = B_5544ZP1
    T4_xg9 = h_7_(Js_f3X_)
    if (B_5544ZP1 == Qa0F__b):
        if (T4_xg9 == int((0.9546400643636819 * 0))):
            CK0_s += jLh9d_O
        else:
            Z8_4 += jLh9d_O
        G87T = int((((-0.33191170072113707 + 0.013157764274433492) + (-0.38770112705675186 + 0.7069694593628609)) * int(((-0.3678625894988602 + 0.864169177687381) * int((0.8482320142031017 * 0))))))
    if (jLh9d_O == int((((-0.5454843748671404 + 0.06791389812235493) + (0.5162800052902131 + 0.09545992515631974)) * 0))):
        if (T4_xg9 == int(((0.32761668848172676 + 0.578317831604538) * int((0.7082471480573831 * 0))))):
            G87T = ((((-94 + 15) + (23 + -12)) + ((39 + -35) + (66 + -1))) + max((CK0_s % (((-86 + -25) + (74 + -46)) + ((35 + 51) + (44 + -37)))), (CK0_s // (((-54 + 15) + (82 + -98)) + ((-24 + 7) + (1 + 81))))))
        else:
            G87T = ((((-142 + 83) + (35 + -49)) + ((170 + -76) + (-86 + 66))) + max((Z8_4 % (((0 + -40) + (-74 + 98)) + ((50 + -79) + (118 + -63)))), (Z8_4 // (((194 + -94) + (-95 + 64)) + ((11 + -87) + (-13 + 30))))))
    if yx53d__(G87T):
        G87T = f_h_(G87T)
    if (T4_xg9 == int(((0.42983549458075576 + 0.4682067678219757) * int((0.16032315669548503 * 0))))):
        Z8_4 += G87T
    else:
        CK0_s += G87T
    if C47Q(Z8_4, CK0_s):
        (Z8_4, CK0_s) = (CK0_s, Z8_4)
    return wk6__t06((Z8_4, CK0_s), bG16F(Js_f3X_), G17T(T4_xg9))

def b5t0(Js_f3X_):
    'RN_x8gZ0_8h3zQ51i__W'
    if ((sum(H_55_(Js_f3X_)) % (((26 + -47) + (109 + -34)) + ((-190 + 68) + (64 + 11)))) == int((((0.269067864970701 + 0.32259921447958395) + (-0.06819576870039001 + 0.33042353697347804)) * int(((-0.3268373704349704 + 0.962121454186533) * int((0.2499635171703265 * 0))))))):
        return qF_Q4Cy
    return J_Q_co3

def sJQ1(Hi_3):
    'cW5_t2_30u2NL9_5QMB__5_7x19'
    fG_7bDt8y(Hi_3)
    return tuple(Hi_3.items())
J_Q_co3 = sJQ1({(((69 + 0) + (-54 + 7)) + ((0 + 72) + (-146 + 53))): (((-13 + 75) + (-40 + 13)) + ((60 + -58) + (-2 + -34))), (((-118 + -23) + (19 + 34)) + ((115 + 42) + (33 + -100))): (((-65 + 12) + (-40 + 43)) + ((85 + -96) + (137 + -75))), (((3 + -100) + (18 + -14)) + ((42 + 15) + (77 + -38))): (((75 + -79) + (81 + -47)) + ((-16 + 85) + (-56 + -42))), (((-214 + 71) + (124 + -34)) + ((4 + 15) + (135 + -97))): (((0 + 65) + (-8 + -53)) + ((-160 + 63) + (44 + 50))), (((11 + -99) + (59 + -16)) + ((7 + -21) + (36 + 28))): (((-72 + 54) + (-43 + -28)) + ((158 + 31) + (-120 + 21))), (((94 + -77) + (11 + 39)) + ((-72 + 89) + (-40 + -38))): (((16 + 90) + (-51 + -12)) + ((-188 + 98) + (101 + -53)))})
qF_Q4Cy = sJQ1({(((139 + 18) + (-142 + 64)) + ((-26 + -5) + (-106 + 59))): (((19 + -67) + (-46 + 84)) + ((-87 + 57) + (88 + -47))), (((-24 + 72) + (110 + -95)) + ((-152 + 17) + (124 + -50))): (((-38 + 9) + (-7 + 39)) + ((-41 + 83) + (-133 + 89))), (((-156 + 79) + (-21 + 41)) + ((232 + -92) + (-85 + 5))): (((58 + -50) + (-31 + 95)) + ((-115 + 14) + (114 + -84))), (((64 + 12) + (109 + -97)) + ((-227 + 45) + (181 + -83))): (((87 + -78) + (-60 + -3)) + ((122 + -3) + (-36 + -28)))})

@w_1Fh30
def pR869H(jLh9d_O, Hi_3):
    'Z8A839k40Tz4_3_y9__6_304m88'
    if (jLh9d_O == int((((-0.47772052324243386 + 0.30405462845221687) + (0.16575098267168764 + 0.3466600405965793)) * int(((0.338052492913136 + 0.4391511750119873) * 0))))):
        return {o_5Hw0: (((59 + -84) + (101 + -16)) + ((-155 + -4) + (41 + 59)))}
    dAbmO68m = pR869H((jLh9d_O - (((170 + -61) + (-40 + 27)) + ((-156 + 98) + (18 + -55)))), Hi_3)
    r_2_ = {}
    for (M4KEJ9hn6, v1b9062) in dAbmO68m.items():
        for (H5_f__, f1H4mS) in Hi_3:
            LD6_hY_ = ty4N3gtk(M4KEJ9hn6, H5_f__)
            if (LD6_hY_ not in r_2_):
                r_2_[LD6_hY_] = int(((0.2464584668127343 + 0.22883518523710322) * int((0.009911594198682927 * 0))))
            r_2_[LD6_hY_] += (v1b9062 * f1H4mS)
    fG_7bDt8y(r_2_)
    return r_2_

def FKeM(c_8S5, Ia_X4s, E72708RVT=100):
    'r343Wly4n6EU9U__N2O8_1k1_nmy'
    q7g36YI8_ = M8t871C12
    o743 = (c_8S5, Ia_X4s)
    try:
        return ((q7g36YI8_(wk6__t06((int((((-0.40158367373450565 + 0.5859739394473586) + (0.47934562629302513 + 0.3318195623167507)) * int(((0.586536985595748 + 0.0678137843299782) * 0)))), int((((-1.2738435749491268 + 0.9300296003610368) + (0.10925156187943774 + 0.6335950740379009)) * int((0.37761627045324764 * 0))))), o743, int(((0.4980686232689854 + 0.4239490482244015) * int((0.7944665247632448 * 0))))), E72708RVT) + q7g36YI8_(wk6__t06((int((0.36884748195910766 * 0)), int((((-0.8727551603504358 + 0.30883275015652334) + (0.8000015822093133 + 0.033095766788204584)) * int((0.15583395864785343 * 0))))), o743, (((-13 + 20) + (-95 + 49)) + ((54 + -95) + (155 + -74)))), E72708RVT)) / (((-93 + 81) + (4 + 55)) + ((-52 + -49) + (32 + 24))))
    except Rtz669k as C_4o__JY:
        T4_xg9 = h_7_(C_4o__JY.Js_f3X_)
        m_K9 = bG16F(C_4o__JY.Js_f3X_)[T4_xg9]
        print(C_4o__JY)
        return ((((-0.22376849507732122 + 0.080301263296089) + (-0.40237421751922 + 0.7176222269207142)) + ((-1.137274150681609 + 0.9871974624798541) + (0.43843958026221164 + 0.5398563303192814))) * T4_xg9)

def teFn_8():
    import datetime
    D__0164 = datetime.datetime.now()
    print(final_win_rate())
    print((datetime.datetime.now() - D__0164))

def final_win_rate():
    'X1_23QK82E1_8fM19w_v5_'
    return FKeM(hog.final_strategy, a__b4)

def qS4Sz_n(Js_f3X_):
    'j717y_ne06LT5z_7u2k_t2vCB'
    (Z8_4, CK0_s) = H_55_(Js_f3X_)
    try:
        if (h_7_(Js_f3X_) == int(((0.5667886402036755 + 0.14312304003390575) * int((0.652482389682734 * 0))))):
            jLh9d_O = bG16F(Js_f3X_)[int((((-0.09870906305021765 + 0.1862150960850123) + (-0.1938366069433911 + 0.7346547431044592)) * int(((0.01822552400723798 + 0.27551740382479806) * 0))))](Z8_4, CK0_s)
        else:
            jLh9d_O = bG16F(Js_f3X_)[(((152 + -90) + (-37 + 68)) + ((-173 + 91) + (39 + -49)))](CK0_s, Z8_4)
    except Exception as C_4o__JY:
        raise O18v8_t(Js_f3X_, C_4o__JY)
    if (jLh9d_O not in range((((101 + 28) + (43 + -63)) + ((9 + -18) + (-151 + 62))))):
        raise kG_w__L(Js_f3X_, jLh9d_O)
    return jLh9d_O

def q7g36YI8_(Js_f3X_, E72708RVT=100):
    'n36ft_z6Nj7_x9tE9qdyE'
    (Z8_4, CK0_s) = H_55_(Js_f3X_)
    if (min(Z8_4, CK0_s) >= E72708RVT):
        return (((-0.34500682416839124 + 0.5370863398177268) + (-0.8653298646102134 + 0.9197823946321956)) + ((-1.3836038864321192 + 0.7445205970180926) + (0.16987042113511297 + 0.7226808226075958)))
    elif (Z8_4 >= E72708RVT):
        return (((-41 + 66) + (39 + -99)) + ((21 + -42) + (93 + -36)))
    elif (CK0_s >= E72708RVT):
        return 0
    jLh9d_O = qS4Sz_n(Js_f3X_)
    return C6y0Pzs1G(Js_f3X_, E72708RVT, jLh9d_O)

@w_1Fh30
def C6y0Pzs1G(Js_f3X_, E72708RVT, jLh9d_O):
    'oOV1Z_063J0k_64FhAD_5UqW_zd2'
    a96__5d_ = int(((-0.013700830960395427 + 0.9148298499489498) * int((0.6429395418099988 * 0))))
    Z661_ = pR869H(jLh9d_O, b5t0(Js_f3X_))
    for (LD6_hY_, s_80xu7_E) in Z661_.items():
        a96__5d_ += (q7g36YI8_(mYF00H(Js_f3X_, LD6_hY_, jLh9d_O), E72708RVT) * s_80xu7_E)
    return a96__5d_
K98__ = {}

def M8t871C12(Js_f3X_, E72708RVT):
    'd_72537q_suO69C1uX9__d0'
    x_3_ = Js_f3X_
    JA249 = [Js_f3X_]
    while JA249:
        Js_f3X_ = JA249[(- (((-42 + 95) + (-99 + 70)) + ((-20 + 57) + (-65 + 5))))]
        if (Js_f3X_ not in K98__):
            (Z8_4, CK0_s) = H_55_(Js_f3X_)
            try:
                jLh9d_O = qS4Sz_n(Js_f3X_)
            except Rtz669k as C_4o__JY:
                for Js_f3X_ in JA249:
                    K98__[Js_f3X_] = C_4o__JY
                raise C_4o__JY
            Z661_ = pR869H(jLh9d_O, b5t0(Js_f3X_))
            AEG7_O16 = [(mYF00H(Js_f3X_, LD6_hY_, jLh9d_O), x_h_Ur8) for (LD6_hY_, x_h_Ur8) in Z661_.items()]
            for rP____ in AEG7_O16:
                rP____ = rP____[int((((-0.565842222819887 + 0.16174852962683217) + (0.2090994414071361 + 0.3812745287972982)) * int(((-0.6903858917254032 + 0.8272905272300173) * int((0.25269866781807293 * 0))))))]
                if ((rP____ not in K98__) and (max(H_55_(rP____)) < E72708RVT)):
                    JA249.append(rP____)
            K98__[Js_f3X_] = AEG7_O16
            continue
        elif isinstance(K98__[Js_f3X_], list):
            gn00_M5 = int(((-0.6506678467432071 + 0.9085470778385724) * int((0.30080868237529723 * 0))))
            for (rP____, x_h_Ur8) in K98__[Js_f3X_]:
                ky7J088 = H_55_(rP____)
                if (min(ky7J088) >= E72708RVT):
                    gn00_M5 += ((((0.074736461318054 + 0.0987453311389368) + (-0.10502305211088026 + 0.2502917138961679)) + ((-0.27979497140209575 + 0.25660810263164413) + (-0.11599511250883032 + 0.3204315270370035))) * x_h_Ur8)
                elif (ky7J088[int(((0.4077216191538975 + 0.4904910286076165) * int((0.25080661181547204 * 0))))] >= E72708RVT):
                    gn00_M5 += x_h_Ur8
                elif (ky7J088[(((128 + -35) + (-138 + 84)) + ((-84 + -4) + (23 + 27)))] >= E72708RVT):
                    pass
                else:
                    gn00_M5 += (K98__[rP____] * x_h_Ur8)
            K98__[Js_f3X_] = gn00_M5
        JA249.pop()
    if isinstance(K98__[x_3_], Rtz669k):
        raise K98__[x_3_]
    return K98__[x_3_]

class Rtz669k(Exception):

    def __init__(niD2, Js_f3X_):
        niD2.Js_f3X_ = Js_f3X_

class kG_w__L(Rtz669k):

    def __init__(niD2, Js_f3X_, jLh9d_O):
        niD2.Js_f3X_ = Js_f3X_
        niD2.jLh9d_O = jLh9d_O

    def __str__(niD2):
        return ((('Evalua' + 'tion ') + ('of Pla' + 'yer ')) + (('{' + "0}'s {1}{2} returned {3}, an invalid numbe") + ('r of rol' + 'ls'))).format(h_7_(niD2.Js_f3X_), bG16F(niD2.Js_f3X_)[h_7_(niD2.Js_f3X_)].__name__, H_55_(niD2.Js_f3X_)[::((- (((-97 + -29) + (186 + -93)) + ((41 + 73) + (-116 + 36)))) ** h_7_(niD2.Js_f3X_))], niD2.jLh9d_O)

class O18v8_t(Rtz669k):

    def __init__(niD2, Js_f3X_, g7_0_7c):
        niD2.Js_f3X_ = Js_f3X_
        niD2.g7_0_7c = g7_0_7c

    def __str__(niD2):
        return (('' + ('E' + 'v')) + (('aluat' + 'ion of Player') + (" {0}'s {1}{2} raised the following err" + 'or:\n    {3}: {4}'))).format(h_7_(niD2.Js_f3X_), bG16F(niD2.Js_f3X_)[h_7_(niD2.Js_f3X_)].__name__, H_55_(niD2.Js_f3X_)[::((- (((8 + -47) + (79 + 10)) + ((-12 + -44) + (65 + -58)))) ** h_7_(niD2.Js_f3X_))], type(niD2.g7_0_7c).__name__, niD2.g7_0_7c)

