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if
endif
AYo=gb_hexel_owner(Pq,PO)
if AYo!=gb_team_id()
Aju=1
endif
else
cq=AA
endif
APn()
if Fm
AK9()
else
AWo()
endif
AL1()
if gb_team_id()>=2
if gb_team_id()>=3
AV6()
else
ARD()
endif
elif gb_team_id()
AaS()
else
Adz()
endif
AQm()
endfunc
func Afb()
AR_=DX
if AE[vr][wh] & 1
DX=B()
else
endif
AeX=DZ
if AE[uA][wV] & 1
DZ=B()
else
endif
ANZ=DY
if AE[p0][qB] & 1
DY=B()
else
endif
AQx=CY
if AE[hp][hT] & 1
CY=B()
else
endif
AQ1=CL
if AE[VW][Vt] & 1
CL=B()
else
endif
AHt=CB
if AE[O7][O5] & 1
CB=B()
else
endif
if DX<DZ
if DZ<DY
if DY<CY
if CY<CL
if CL<CB
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CL
AC[0]=4
BC=VW
BJ=Vt
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif CY<CB 
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CY
AC[0]=3
BC=hp
BJ=hT
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif DY<CL
if CL<CB
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CL
AC[0]=4
BC=VW
BJ=Vt
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif DY<CB 
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if DY
AC[0]=2
BC=p0
BJ=qB
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif DZ<CY
if CY<CL
if CL<CB
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CL
AC[0]=4
BC=VW
BJ=Vt
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif CY<CB 
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CY
AC[0]=3
BC=hp
BJ=hT
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif DZ<CL
if CL<CB
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CL
AC[0]=4
BC=VW
BJ=Vt
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif DZ<CB 
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if DZ
AC[0]=1
BC=uA
BJ=wV
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif DX<DY
if DY<CY
if CY<CL
if CL<CB
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CL
AC[0]=4
BC=VW
BJ=Vt
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif CY<CB 
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CY
AC[0]=3
BC=hp
BJ=hT
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif DY<CL
if CL<CB
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CL
AC[0]=4
BC=VW
BJ=Vt
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif DY<CB 
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if DY
AC[0]=2
BC=p0
BJ=qB
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif DX<CY
if CY<CL
if CL<CB
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CL
AC[0]=4
BC=VW
BJ=Vt
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif CY<CB 
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CY
AC[0]=3
BC=hp
BJ=hT
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif DX<CL
if CL<CB
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if CL
AC[0]=4
BC=VW
BJ=Vt
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
elif DX<CB 
AE[BC][BJ]=B()
if CB
AC[0]=5
BC=O7
BJ=O5
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
else
AE[BC][BJ]=B()
if DX
AC[0]=0
BC=vr
BJ=wh
AE[BC][BJ]=14
else
AC[0]=AA
BC=CW
BJ=CS
endif
endif
DX=AR_
DZ=AeX
DY=ANZ
CY=AQx
CL=AQ1
CB=AHt
gb_move(AC)
endfunc
func jU()
if Aam()
else
AYv=C3
if AE[qr][p2] & 2
C3=B()
else
endif
Anp=C6
if AE[oS][pW] & 2
C6=B()
else
endif
Aav=Bz
if AE[l2][lf] & 2
Bz=B()
else
endif
AZR=Br
if AE[b1][ah] & 2
Br=B()
else
endif
Afy=Bl
if AE[UY][Um] & 2
Bl=B()
else
endif
Abr=BX
if AE[O0][Ns] & 2
BX=B()
else
endif
if C3<C6
if C6<Bz
if Bz<Br
if Br<Bl
if Bl<BX
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Bl
AC[1]=4
BK=UY
BH=Um
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif Br<BX 
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Br
AC[1]=3
BK=b1
BH=ah
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif Bz<Bl
if Bl<BX
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Bl
AC[1]=4
BK=UY
BH=Um
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif Bz<BX 
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Bz
AC[1]=2
BK=l2
BH=lf
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif C6<Br
if Br<Bl
if Bl<BX
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Bl
AC[1]=4
BK=UY
BH=Um
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif Br<BX 
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Br
AC[1]=3
BK=b1
BH=ah
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif C6<Bl
if Bl<BX
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Bl
AC[1]=4
BK=UY
BH=Um
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif C6<BX 
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if C6
AC[1]=1
BK=oS
BH=pW
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif C3<Bz
if Bz<Br
if Br<Bl
if Bl<BX
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Bl
AC[1]=4
BK=UY
BH=Um
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif Br<BX 
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Br
AC[1]=3
BK=b1
BH=ah
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif Bz<Bl
if Bl<BX
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Bl
AC[1]=4
BK=UY
BH=Um
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif Bz<BX 
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Bz
AC[1]=2
BK=l2
BH=lf
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif C3<Br
if Br<Bl
if Bl<BX
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Bl
AC[1]=4
BK=UY
BH=Um
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif Br<BX 
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Br
AC[1]=3
BK=b1
BH=ah
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif C3<Bl
if Bl<BX
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if Bl
AC[1]=4
BK=UY
BH=Um
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
elif C3<BX 
AE[BK][BH]=B()
if BX
AC[1]=5
BK=O0
BH=Ns
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
else
AE[BK][BH]=B()
if C3
AC[1]=0
BK=qr
BH=p2
AE[BK][BH]=13
else
AC[1]=AA
BK=Bo
BH=B_
endif
endif
C3=AYv
C6=Anp
Bz=Aav
Br=AZR
Bl=Afy
BX=Abr
gb_move(AC)
endif
endfunc
func h8()
if Abt()
else
Ap8=C4
if AE[rR][qs] & 4
C4=B()
else
endif
AFE=C5
if AE[qa][p9] & 4
C5=B()
else
endif
AVP=By
if AE[lx][nU] & 4
By=B()
else
endif
An5=Bt
if AE[aW][dJ] & 4
Bt=B()
else
endif
AhN=Bm
if AE[UU][V2] & 4
Bm=B()
else
endif
AdU=BW
if AE[Nt][Np] & 4
BW=B()
else
endif
if C4<C5
if C5<By
if By<Bt
if Bt<Bm
if Bm<BW
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bm
AC[2]=4
BE=UU
BF=V2
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif Bt<BW 
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bt
AC[2]=3
BE=aW
BF=dJ
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif By<Bm
if Bm<BW
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bm
AC[2]=4
BE=UU
BF=V2
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif By<BW 
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if By
AC[2]=2
BE=lx
BF=nU
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif C5<Bt
if Bt<Bm
if Bm<BW
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bm
AC[2]=4
BE=UU
BF=V2
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif Bt<BW 
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bt
AC[2]=3
BE=aW
BF=dJ
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif C5<Bm
if Bm<BW
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bm
AC[2]=4
BE=UU
BF=V2
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif C5<BW 
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if C5
AC[2]=1
BE=qa
BF=p9
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif C4<By
if By<Bt
if Bt<Bm
if Bm<BW
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bm
AC[2]=4
BE=UU
BF=V2
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif Bt<BW 
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bt
AC[2]=3
BE=aW
BF=dJ
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif By<Bm
if Bm<BW
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bm
AC[2]=4
BE=UU
BF=V2
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif By<BW 
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if By
AC[2]=2
BE=lx
BF=nU
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif C4<Bt
if Bt<Bm
if Bm<BW
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bm
AC[2]=4
BE=UU
BF=V2
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif Bt<BW 
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bt
AC[2]=3
BE=aW
BF=dJ
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif C4<Bm
if Bm<BW
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if Bm
AC[2]=4
BE=UU
BF=V2
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
elif C4<BW 
AE[BE][BF]=B()
if BW
AC[2]=5
BE=Nt
BF=Np
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
else
AE[BE][BF]=B()
if C4
AC[2]=0
BE=rR
BF=qs
AE[BE][BF]=11
else
AC[2]=AA
BE=Bn
BF=Bw
endif
endif
C4=Ap8
C5=AFE
By=AVP
Bt=An5
Bm=AhN
BW=AdU
gb_move(AC)
endif
endfunc
func jb()
if ASB()
else
AbM=C2
if AE[qY][oA] & 8
C2=B()
else
endif
AnC=C1
if AE[qQ][oF] & 8
C1=B()
else
endif
Aq7=Bx
if AE[nB][m4] & 8
Bx=B()
else
endif
AF9=Bs
if AE[cQ][bY] & 8
Bs=B()
else
endif
AYb=Bk
if AE[TQ][Tt] & 8
Bk=B()
else
endif
Aps=BV
if AE[No][Nl] & 8
BV=B()
else
endif
if C2<C1
if C1<Bx
if Bx<Bs
if Bs<Bk
if Bk<BV
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bk
AC[3]=4
BL=TQ
BD=Tt
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif Bs<BV 
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bs
AC[3]=3
BL=cQ
BD=bY
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif Bx<Bk
if Bk<BV
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bk
AC[3]=4
BL=TQ
BD=Tt
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif Bx<BV 
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bx
AC[3]=2
BL=nB
BD=m4
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif C1<Bs
if Bs<Bk
if Bk<BV
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bk
AC[3]=4
BL=TQ
BD=Tt
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif Bs<BV 
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bs
AC[3]=3
BL=cQ
BD=bY
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif C1<Bk
if Bk<BV
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bk
AC[3]=4
BL=TQ
BD=Tt
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif C1<BV 
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if C1
AC[3]=1
BL=qQ
BD=oF
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif C2<Bx
if Bx<Bs
if Bs<Bk
if Bk<BV
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bk
AC[3]=4
BL=TQ
BD=Tt
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif Bs<BV 
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bs
AC[3]=3
BL=cQ
BD=bY
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif Bx<Bk
if Bk<BV
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bk
AC[3]=4
BL=TQ
BD=Tt
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif Bx<BV 
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bx
AC[3]=2
BL=nB
BD=m4
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif C2<Bs
if Bs<Bk
if Bk<BV
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bk
AC[3]=4
BL=TQ
BD=Tt
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif Bs<BV 
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bs
AC[3]=3
BL=cQ
BD=bY
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif C2<Bk
if Bk<BV
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if Bk
AC[3]=4
BL=TQ
BD=Tt
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
elif C2<BV 
AE[BL][BD]=B()
if BV
AC[3]=5
BL=No
BD=Nl
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
else
AE[BL][BD]=B()
if C2
AC[3]=0
BL=qY
BD=oA
AE[BL][BD]=7
else
AC[3]=AA
BL=Bp
BD=C0
endif
endif
C2=AbM
C1=AnC
Bx=Aq7
Bs=AF9
Bk=AYb
BV=Aps
gb_move(AC)
endif
endfunc
func Afr()
if CS
AL7()
if fp
_S()
if CW
po()
rD()
if Zl
dH()
bz()
else
Ah_()
endif
else
dH()
bz()
ANm()
endif
else
Ad7()
if X9
mp()
md()
po()
bz()
elif CW
po()
rD()
if Zl
dH()
bz()
else
lE()
md()
endif
else
mW()
mp()
dH()
bz()
endif
endif
else
AES()
_S()
if X9
mW()
lE()
rD()
dH()
elif CW
po()
rD()
if Zl
dH()
bz()
else
md()
lE()
endif
else
mW()
mp()
dH()
bz()
endif
endif
endfunc
func O9()
AHN=AEq()+1
endfunc
func AEq()
return AHN
endfunc
func po()
WN=gb_hexel_owner(OE,Nk)
if WN>=B()
if WN==gb_team_id()
DX=1921+gb_random_value(20)
O9()
else
DX=1920+gb_random_value(20)
endif
elif WN==AA
DX=1920+gb_random_value(20)
else
DX=B()
endif
o1=J[Nk][OE]
if (o1 & 1)
DX=B()
elif (o1 & 2 ) 
DX=DX/2
endif
if Ps==OE
if Q3==Nk
DX=DX/10
endif
endif
endfunc
func mW()
WN=E2
DX=B()
O9()
endfunc
func rD()
WY=gb_hexel_owner(OC,Nk)
if WY>=B()
if WY==gb_team_id()
DZ=1921+gb_random_value(20)
O9()
else
DZ=1920+gb_random_value(20)
endif
elif WY==AA
DZ=1920+gb_random_value(20)
else
DZ=B()
endif
mq=J[Nk][OC]
if (mq & 1)
DZ=B()
elif (mq & 2 ) 
DZ=DZ/2
endif
if Ps==OC
if Q3==RF
DZ=DZ/10
endif
endif
endfunc
func mp()
WY=E2
DZ=B()
O9()
endfunc
func _S()
a9=gb_hexel_owner(Ou,CW)
if a9>=B()
if a9==gb_team_id()
DY=1921+gb_random_value(20)
O9()
else
DY=1920+gb_random_value(20)
endif
elif a9==AA
DY=1920+gb_random_value(20)
else
DY=B()
endif
wc=J[CW][Ou]
if (wc & 1)
DY=B()
elif (wc & 2 ) 
DY=DY/2
endif
if Ps==Ou
if Q3==Rf
DY=DY/10
endif
endif
endfunc
func A2j()
a9=E2
DY=B()
O9()
endfunc
func dH()
Va=gb_hexel_owner(OC,Nw)
if Va>=B()
if Va==gb_team_id()
CY=1921+gb_random_value(20)
O9()
else
CY=1920+gb_random_value(20)
endif
elif Va==AA
CY=1920+gb_random_value(20)
else
CY=B()
endif
mF=J[Nw][OC]
if (mF & 1)
CY=B()
elif (mF & 2 ) 
CY=CY/2
endif
if Ps==TH
if Q3==Nw
CY=CY/10
endif
endif
endfunc
func md()
Va=E2
CY=B()
O9()
endfunc
func bz()
Vp=gb_hexel_owner(OE,Nw)
if Vp>=B()
if Vp==gb_team_id()
CL=1921+gb_random_value(20)
O9()
else
CL=1920+gb_random_value(20)
endif
elif Vp==AA
CL=1920+gb_random_value(20)
else
CL=B()
endif
mf=J[Nw][OE]
if (mf & 1)
CL=B()
elif (mf & 2 ) 
CL=CL/2
endif
if Ps==T6
if Q3==SO
CL=CL/10
endif
endif
endfunc
func lE()
Vp=E2
CL=B()
O9()
endfunc
func AL7()
ZR=gb_hexel_owner(Ol,CW)
if ZR>=B()
if ZR==gb_team_id()
CB=1921+gb_random_value(20)
O9()
else
CB=1920+gb_random_value(20)
endif
elif ZR==AA
CB=1920+gb_random_value(20)
else
CB=B()
endif
sl=J[CW][Ol]
if (sl & 1)
CB=B()
elif (sl & 2 ) 
CB=CB/2
endif
if Ps==Ol
if Q3==Ro
CB=CB/10
endif
endif
endfunc
func A6D()
ZR=E2
CB=B()
O9()
endfunc
func AQd()
if B_
ANq()
if Pa
AAk()
if Bo
od()
r1()
if OK
cE()
cW()
else
Anr()
endif
else
cE()
cW()
AHf()
endif
else
AYA()
if a3
ln()
n4()
od()
cW()
elif Bo
od()
r1()
if OK
cE()
cW()
else
nf()
n4()
endif
else
mV()
ln()
cE()
cW()
endif
endif
else
AJd()
AAk()
if a3
mV()
nf()
r1()
cE()
elif Bo
od()
r1()
if OK
cE()
cW()
else
n4()
nf()
endif
else
mV()
ln()
cE()
cW()
endif
endif
endfunc
func O1()
AR3=A0z()+1
endfunc
func A0z()
return AR3
endfunc
func od()
WS=gb_hexel_owner(AY,AW)
if WS>=B()
if WS==gb_team_id()
C3=1960+gb_random_value(20)
O1()
else
C3=6144+gb_random_value(20)
endif
elif WS==AA
C3=3840+gb_random_value(20)
else
C3=B()
endif
eb=J[AW][AY]
if (eb & 3)
C3=B()
elif (eb & 4 ) 
C3=C3*4/5
elif (eb & 8 ) 
C3=C3*2/3
endif
if Q2==AY
if Pd==AW
C3=C3/10
endif
endif
endfunc
func mV()
WS=E2
C3=B()
O1()
endfunc
func r1()
V_=gb_hexel_owner(Ad,AW)
if V_>=B()
if V_==gb_team_id()
C6=1960+gb_random_value(20)
O1()
else
C6=6144+gb_random_value(20)
endif
elif V_==AA
C6=3840+gb_random_value(20)
else
C6=B()
endif
jA=J[AW][Ad]
if (jA & 3)
C6=B()
elif (jA & 4 ) 
C6=C6*4/5
elif (jA & 8 ) 
C6=C6*2/3
endif
if Q2==Ad
if Pd==Ar
C6=C6/10
endif
endif
endfunc
func ln()
V_=E2
C6=B()
O1()
endfunc
func AAk()
aE=gb_hexel_owner(Ak,Bo)
if aE>=B()
if aE==gb_team_id()
Bz=1960+gb_random_value(20)
O1()
else
Bz=6144+gb_random_value(20)
endif
elif aE==AA
Bz=3840+gb_random_value(20)
else
Bz=B()
endif
pz=J[Bo][Ak]
if (pz & 3)
Bz=B()
elif (pz & 4 ) 
Bz=Bz*4/5
elif (pz & 8 ) 
Bz=Bz*2/3
endif
if Q2==Ak
if Pd==B0
Bz=Bz/10
endif
endif
endfunc
func A8L()
aE=E2
Bz=B()
O1()
endfunc
func cE()
WP=gb_hexel_owner(Ad,AU)
if WP>=B()
if WP==gb_team_id()
Br=1960+gb_random_value(20)
O1()
else
Br=6144+gb_random_value(20)
endif
elif WP==AA
Br=3840+gb_random_value(20)
else
Br=B()
endif
jn=J[AU][Ad]
if (jn & 3)
Br=B()
elif (jn & 4 ) 
Br=Br*4/5
elif (jn & 8 ) 
Br=Br*2/3
endif
if Q2==At
if Pd==AU
Br=Br/10
endif
endif
endfunc
func n4()
WP=E2
Br=B()
O1()
endfunc
func cW()
Wd=gb_hexel_owner(AY,AU)
if Wd>=B()
if Wd==gb_team_id()
Bl=1960+gb_random_value(20)
O1()
else
Bl=6144+gb_random_value(20)
endif
elif Wd==AA
Bl=3840+gb_random_value(20)
else
Bl=B()
endif
hz=J[AU][AY]
if (hz & 3)
Bl=B()
elif (hz & 4 ) 
Bl=Bl*4/5
elif (hz & 8 ) 
Bl=Bl*2/3
endif
if Q2==Aw
if Pd==Aj
Bl=Bl/10
endif
endif
endfunc
func nf()
Wd=E2
Bl=B()
O1()
endfunc
func ANq()
a7=gb_hexel_owner(Am,Bo)
if a7>=B()
if a7==gb_team_id()
BX=1960+gb_random_value(20)
O1()
else
BX=6144+gb_random_value(20)
endif
elif a7==AA
BX=3840+gb_random_value(20)
else
BX=B()
endif
oL=J[Bo][Am]
if (oL & 3)
BX=B()
elif (oL & 4 ) 
BX=BX*4/5
elif (oL & 8 ) 
BX=BX*2/3
endif
if Q2==Am
if Pd==Ay
BX=BX/10
endif
endif
endfunc
func AD0()
a7=E2
BX=B()
O1()
endfunc
func AdS()
if Bw
Adj()
if PL
A2d()
if Bn
oB()
oJ()
if OF
bv()
c5()
else
AYW()
endif
else
bv()
c5()
AVh()
endif
else
Amp()
if ZA
ls()
ly()
oB()
c5()
elif Bn
oB()
oJ()
if OF
bv()
c5()
else
ma()
ly()
endif
else
lL()
ls()
bv()
c5()
endif
endif
else
ApS()
A2d()
if ZA
lL()
ma()
oJ()
bv()
elif Bn
oB()
oJ()
if OF
bv()
c5()
else
ly()
ma()
endif
else
lL()
ls()
bv()
c5()
endif
endif
endfunc
func O8()
Ae5=A81()+1
endfunc
func A81()
return Ae5
endfunc
func oB()
WA=gb_hexel_owner(Aa,AX)
if WA>=B()
if WA==gb_team_id()
C4=1960+gb_random_value(20)
O8()
else
C4=6144+gb_random_value(20)
endif
elif WA==AA
C4=3840+gb_random_value(20)
else
C4=B()
endif
fr=J[AX][Aa]
if (fr & 3)
C4=B()
elif (fr & 4 ) 
C4=C4*4/5
elif (fr & 8 ) 
C4=C4*2/3
endif
if Pe==Aa
if PN==AX
C4=C4/10
endif
endif
endfunc
func lL()
WA=E2
C4=B()
O8()
endfunc
func oJ()
Wc=gb_hexel_owner(Ab,AX)
if Wc>=B()
if Wc==gb_team_id()
C5=1960+gb_random_value(20)
O8()
else
C5=6144+gb_random_value(20)
endif
elif Wc==AA
C5=3840+gb_random_value(20)
else
C5=B()
endif
dQ=J[AX][Ab]
if (dQ & 3)
C5=B()
elif (dQ & 4 ) 
C5=C5*4/5
elif (dQ & 8 ) 
C5=C5*2/3
endif
if Pe==Ab
if PN==Ap
C5=C5/10
endif
endif
endfunc
func ls()
Wc=E2
C5=B()
O8()
endfunc
func A2d()
ZD=gb_hexel_owner(Al,Bn)
if ZD>=B()
if ZD==gb_team_id()
By=1960+gb_random_value(20)
O8()
else
By=6144+gb_random_value(20)
endif
elif ZD==AA
By=3840+gb_random_value(20)
else
By=B()
endif
of=J[Bn][Al]
if (of & 3)
By=B()
elif (of & 4 ) 
By=By*4/5
elif (of & 8 ) 
By=By*2/3
endif
if Pe==Al
if PN==B2
By=By/10
endif
endif
endfunc
func A7o()
ZD=E2
By=B()
O8()
endfunc
func bv()
Wl=gb_hexel_owner(Ab,AV)
if Wl>=B()
if Wl==gb_team_id()
Bt=1960+gb_random_value(20)
O8()
else
Bt=6144+gb_random_value(20)
endif
elif Wl==AA
Bt=3840+gb_random_value(20)
else
Bt=B()
endif
jx=J[AV][Ab]
if (jx & 3)
Bt=B()
elif (jx & 4 ) 
Bt=Bt*4/5
elif (jx & 8 ) 
Bt=Bt*2/3
endif
if Pe==Av
if PN==AV
Bt=Bt/10
endif
endif
endfunc
func ly()
Wl=E2
Bt=B()
O8()
endfunc
func c5()
Wb=gb_hexel_owner(Aa,AV)
if Wb>=B()
if Wb==gb_team_id()
Bm=1960+gb_random_value(20)
O8()
else
Bm=6144+gb_random_value(20)
endif
elif Wb==AA
Bm=3840+gb_random_value(20)
else
Bm=B()
endif
kj=J[AV][Aa]
if (kj & 3)
Bm=B()
elif (kj & 4 ) 
Bm=Bm*4/5
elif (kj & 8 ) 
Bm=Bm*2/3
endif
if Pe==Ax
if PN==Ao
Bm=Bm/10
endif
endif
endfunc
func ma()
Wb=E2
Bm=B()
O8()
endfunc
func Adj()
Zo=gb_hexel_owner(Ae,Bn)
if Zo>=B()
if Zo==gb_team_id()
BW=1960+gb_random_value(20)
O8()
else
BW=6144+gb_random_value(20)
endif
elif Zo==AA
BW=3840+gb_random_value(20)
else
BW=B()
endif
qK=J[Bn][Ae]
if (qK & 3)
BW=B()
elif (qK & 4 ) 
BW=BW*4/5
elif (qK & 8 ) 
BW=BW*2/3
endif
if Pe==Ae
if PN==A_
BW=BW/10
endif
endif
endfunc
func A21()
Zo=E2
BW=B()
O8()
endfunc
func AJ1()
if C0
ATL()
if PR
AAb()
if Bp
rJ()
rd()
if OR
ce()
cC()
else
Ac6()
endif
else
ce()
cC()
APT()
endif
else
AOH()
if Zy
mY()
mR()
rJ()
cC()
elif Bp
rJ()
rd()
if OR
ce()
cC()
else
mX()
mR()
endif
else
lw()
mY()
ce()
cC()
endif
endif
else
AK7()
AAb()
if Zy
lw()
mX()
rd()
ce()
elif Bp
rJ()
rd()
if OR
ce()
cC()
else
mR()
mX()
endif
else
lw()
mY()
ce()
cC()
endif
endif
endfunc
func O6()
Ahw=z0()+1
endfunc
func z0()
return Ahw
endfunc
func rJ()
WW=gb_hexel_owner(AZ,AS)
if WW>=B()
if WW==gb_team_id()
C2=1960+gb_random_value(20)
O6()
else
C2=6144+gb_random_value(20)
endif
elif WW==AA
C2=3840+gb_random_value(20)
else
C2=B()
endif
fX=J[AS][AZ]
if (fX & 3)
C2=B()
elif (fX & 4 ) 
C2=C2*4/5
elif (fX & 8 ) 
C2=C2*2/3
endif
if Pq==AZ
if PO==AS
C2=C2/10
endif
endif
endfunc
func lw()
WW=E2
C2=B()
O6()
endfunc
func rd()
VZ=gb_hexel_owner(Ac,AS)
if VZ>=B()
if VZ==gb_team_id()
C1=1960+gb_random_value(20)
O6()
else
C1=6144+gb_random_value(20)
endif
elif VZ==AA
C1=3840+gb_random_value(20)
else
C1=B()
endif
h7=J[AS][Ac]
if (h7 & 3)
C1=B()
elif (h7 & 4 ) 
C1=C1*4/5
elif (h7 & 8 ) 
C1=C1*2/3
endif
if Pq==Ac
if PO==Aq
C1=C1/10
endif
endif
endfunc
func mY()
VZ=E2
C1=B()
O6()
endfunc
func AAb()
ZY=gb_hexel_owner(Ah,Bp)
if ZY>=B()
if ZY==gb_team_id()
Bx=1960+gb_random_value(20)
O6()
else
Bx=6144+gb_random_value(20)
endif
elif ZY==AA
Bx=3840+gb_random_value(20)
else
Bx=B()
endif
oO=J[Bp][Ah]
if (oO & 3)
Bx=B()
elif (oO & 4 ) 
Bx=Bx*4/5
elif (oO & 8 ) 
Bx=Bx*2/3
endif
if Pq==Ah
if PO==B1
Bx=Bx/10
endif
endif
endfunc
func A01()
ZY=E2
Bx=B()
O6()
endfunc
func ce()
Wa=gb_hexel_owner(Ac,AT)
if Wa>=B()
if Wa==gb_team_id()
Bs=1960+gb_random_value(20)
O6()
else
Bs=6144+gb_random_value(20)
endif
elif Wa==AA
Bs=3840+gb_random_value(20)
else
Bs=B()
endif
ec=J[AT][Ac]
if (ec & 3)
Bs=B()
elif (ec & 4 ) 
Bs=Bs*4/5
elif (ec & 8 ) 
Bs=Bs*2/3
endif
if Pq==Au
if PO==AT
Bs=Bs/10
endif
endif
endfunc
func mR()
Wa=E2
Bs=B()
O6()
endfunc
func cC()
Ve=gb_hexel_owner(AZ,AT)
if Ve>=B()
if Ve==gb_team_id()
Bk=1960+gb_random_value(20)
O6()
else
Bk=6144+gb_random_value(20)
endif
elif Ve==AA
Bk=3840+gb_random_value(20)
else
Bk=B()
endif
kS=J[AT][AZ]
if (kS & 3)
Bk=B()
elif (kS & 4 ) 
Bk=Bk*4/5
elif (kS & 8 ) 
Bk=Bk*2/3
endif
if Pq==As
if PO==An
Bk=Bk/10
endif
endif
endfunc
func mX()
Ve=E2
Bk=B()
O6()
endfunc
func ATL()
aJ=gb_hexel_owner(Af,Bp)
if aJ>=B()
if aJ==gb_team_id()
BV=1960+gb_random_value(20)
O6()
else
BV=6144+gb_random_value(20)
endif
elif aJ==AA
BV=3840+gb_random_value(20)
else
BV=B()
endif
pu=J[Bp][Af]
if (pu & 3)
BV=B()
elif (pu & 4 ) 
BV=BV*4/5
elif (pu & 8 ) 
BV=BV*2/3
endif
if Pq==Af
if PO==Az
BV=BV/10
endif
endif
endfunc
func zZ()
aJ=E2
BV=B()
O6()
endfunc
func Adz()
Vf=NE
xY=Vf[0]
Nx=CS
Nn=CW
ue=X9
ut=OE
f4=Nk
fY=OC
fw=RF
YH=Ou
v4=Rf
v5=TH
hm=Nw
hh=T6
k3=SO
YZ=Ol
xo=Ro
xT=l7
uZ=c6
vJ=lz
tE=fp
xk=Zl
Vf=NE
yF=Vf[1]
Lt=B_
LY=Bo
st=a3
wP=AY
jN=AW
hX=Ad
fE=Ar
X_=Ak
tq=B0
xs=At
dY=AU
em=Aw
dZ=Aj
X7=Am
t0=Ay
wB=l3
sP=ae
xJ=n1
to=Pa
w_=OK
Vf=NE
wa=Vf[2]
Lu=Bw
Lp=Bn
sj=ZA
wp=Aa
j8=AX
k9=Ab
hb=Ap
Z0=Al
u3=B2
ul=Av
eZ=AV
dd=Ax
ed=Ao
YP=Ae
se=A_
uS=nw
tj=ad
tS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Z=ZA
vh=Aa
kP=AX
jP=Ab
jZ=Ap
YC=Al
tD=B2
r_=Av
dy=AV
fd=Ax
jW=Ao
Yl=Ae
wA=A_
tM=nw
s9=ad
x6=lA
xW=PL
sd=OF
WT=NE
vX=WT[3]
NT=C0
NM=Bp
w9=Zy
t8=AZ
fx=AS
kB=Ac
dn=Aq
Wx=Ah
wF=B1
xS=Au
ey=AT
kF=As
kh=An
YA=Af
vc=Az
vR=lt
sY=c8
xy=nK
ua=PR
sn=OR
endfunc
func AQm()
Alb()
Ae8()
A=Qa[gb_team_id()]
endfunc
func Ae8()
Ze=0
CE=Qa[0]
E3=Nq
mB=0
while E3
E3=E3-1
mB=mB+$CE[E3]
endwhile
if Ze<mB
Ze=mB
endif
if 0==gb_team_id()
uL=mB
endif
CD=Qa[1]
E3=Nq
l4=0
while E3
E3=E3-1
l4=l4+$CD[E3]
endwhile
if Ze<l4
Ze=l4
endif
if 1==gb_team_id()
uL=l4
endif
CC=Qa[2]
E3=Nq
nN=0
while E3
E3=E3-1
nN=nN+$CC[E3]
endwhile
if Ze<nN
Ze=nN
endif
if 2==gb_team_id()
uL=nN
endif
CF=Qa[3]
E3=Nq
mS=0
while E3
E3=E3-1
mS=mS+$CF[E3]
endwhile
if Ze<mS
Ze=mS
endif
if 3==gb_team_id()
uL=mS
endif
endfunc
func Alb()
AVU()
W3=L
while W3
ea=W3-1
W3=W3-2
AjQ()
endwhile
endfunc
func AVU()
E3=AD
Qa[gb_hexel_owner(Z,E3)][E3][Z]=1
while E3
Yo=E3-1
E3=E3-2
Qa[gb_hexel_owner(L,Yo)][Yo][L]=1
Qa[gb_hexel_owner(Z,Yo)][Yo][Z]=1
Qa[gb_hexel_owner(Z,E3)][E3][Z]=1
endwhile
endfunc
func AjQ()
E3=AD
Qa[gb_hexel_owner(ea,E3)][E3][ea]=1
Qa[gb_hexel_owner(W3,E3)][E3][W3]=1
while E3
Yo=E3-1
E3=E3-2
Qa[gb_hexel_owner(ea,Yo)][Yo][ea]=1
Qa[gb_hexel_owner(W3,Yo)][Yo][W3]=1
Qa[gb_hexel_owner(ea,E3)][E3][ea]=1
Qa[gb_hexel_owner(W3,E3)][E3][W3]=1
endwhile
endfunc
func A1K()
ABT=B()
A0D=ca
_a=B()
zb=kt
A2N=Pn
AB0=Pn%2+Z
A56=Qc
AAl=Qc%2+Z
A8d=AD
A5w=kt
A5j=AD
A7f=ca
ACT=Qc
A1n=B()
A1A=Pn
A40=B()
Zh[0]=ABT
Z8[0]=A0D
Zh[1]=_a
Z8[1]=zb
Zh[2]=A1A
Z8[2]=A40
Zh[3]=ACT
Z8[3]=A1n
Zh[4]=A5j
Z8[4]=A7f
Zh[5]=A8d
Z8[5]=A5w
Zh[6]=A2N
Z8[6]=AB0
Zh[7]=A56
Z8[7]=AAl
endfunc
func A7X()
km=tZ[m9][1]
b[km]=b[km]|2
if Pn>km
Pn=km
elif Qc<km
Qc=km
endif
endfunc
func AK9()
ml =b[901]
ro =b[902]
r9 =b[903]
qu =b[904]
nS =b[905]
qR =b[906]
pt =b[907]
oY =b[908]
Pn=b[909]
Qc=b[910]
ca=ml
kt=nS
hL=b[911]
np=b[912]
nT=b[913]
lb=b[914]
OD=b[915 ]
PP=b[916 ]
Pr=b[917 ]
O4=b[918 ]
A1K()
endfunc
func AbD()
ml=ca
ro=Z+((Qc+1)/2)
r9=kt+ZO
qu=Pn/2
nS=kt
qR=Z-(Pn/2)
pt=ca-ZO
oY=-(Qc+1)/2
if ml<=qu
hL=1
OD=ml
else
OD=qu
endif
if nS>=qR
np=1
O4=nS
else
O4=qR
endif
if r9>=ro
nT=1
PP=r9
else
PP=ro
endif
if pt<=oY
lb=1
Pr=pt
else
Pr=oY
endif
b[901]=ml
b[902]=ro
b[903]=r9
b[904]=qu
b[905]=nS
b[906]=qR
b[907]=pt
b[908]=oY
b[909]=Pn
b[910]=Qc
b[911]=hL
b[912]=np
b[913]=nT
b[914]=lb
b[915]=OD
b[916]=PP
b[917]=Pr
b[918]=O4
A1K()
endfunc
func AWo()
tZ=gb_gate_positions()
m9=$tZ
ca=9999
Pn=9999
while m9
m9=m9-1
a5=tZ[m9][B()]
if a5
if a5<L
b[a5]=b[a5]|1
if ca>a5
ca=a5
elif kt<a5
kt=a5
endif
else
A7X()
endif
else
A7X()
endif
endwhile
AbD()
endfunc
func AOC(BQ,BO)
wh=BQ
vr=BO
WN=gb_hexel_owner(BQ,BO)
O9()
if WN>=B()
if WN==gb_team_id()
DX=1921
elif Fm<30
DX=1920+gb_random_value(20)
else
DX=1920+gb_random_value(20)
endif
elif WN==AA
DX=1920
else
DX=B()
endif
o1=J[BO][BQ]
if (Ts & 1)
OL=B()
elif (Ts & 2 ) 
OL=OL/2
endif
A7n()
WY=WN
DZ=DX
mq=o1
A5L()
endfunc
func A_l()
return A6m
endfunc
func A5L()
A6m=1
endfunc
func Ava()
A6m=B()
endfunc
func Ay3(BQ,BO)
wV=BQ
uA=BO
WY=gb_hexel_owner(BQ,BO)
O9()
if WY>=B()
if WY==gb_team_id()
DZ=1921
elif Fm<30
DZ=1920+gb_random_value(20)
else
DZ=1920+gb_random_value(20)
endif
elif WY==AA
DZ=1920
else
DZ=B()
endif
mq=J[BO][BQ]
if (Ts & 1)
OL=B()
elif (Ts & 2 ) 
OL=OL/2
endif
A5L()
WN=WY
DX=DZ
o1=mq
A7n()
endfunc
func Axu()
return A9W
endfunc
func A7n()
A9W=1
endfunc
func Ato()
A9W=B()
endfunc
func AVE(BQ,BO)
qB=BQ
p0=BO
a9=gb_hexel_owner(BQ,BO)
O9()
if a9>=B()
if a9==gb_team_id()
DY=1921
elif Fm<30
DY=1920+gb_random_value(20)
else
DY=1920+gb_random_value(20)
endif
elif a9==AA
DY=1920
else
DY=B()
endif
wc=J[BO][BQ]
if (Ts & 1)
OL=B()
elif (Ts & 2 ) 
OL=OL/2
endif
AXp()
endfunc
func B4Z()
return ABs
endfunc
func AXp()
ABs=1
endfunc
func AwP()
ABs=B()
endfunc
func AZT(BQ,BO)
hT=BQ
hp=BO
Va=gb_hexel_owner(BQ,BO)
O9()
if Va>=B()
if Va==gb_team_id()
CY=1921
elif Fm<30
CY=1920+gb_random_value(20)
else
CY=1920+gb_random_value(20)
endif
elif Va==AA
CY=1920
else
CY=B()
endif
mF=J[BO][BQ]
if (Ts & 1)
OL=B()
elif (Ts & 2 ) 
OL=OL/2
endif
ADO()
Vp=Va
CL=CY
mf=mF
AEN()
endfunc
func B1b()
return yT
endfunc
func AEN()
yT=1
endfunc
func ArP()
yT=B()
endfunc
func B26(BQ,BO)
Vt=BQ
VW=BO
Vp=gb_hexel_owner(BQ,BO)
O9()
if Vp>=B()
if Vp==gb_team_id()
CL=1921
elif Fm<30
CL=1920+gb_random_value(20)
else
CL=1920+gb_random_value(20)
endif
elif Vp==AA
CL=1920
else
CL=B()
endif
mf=J[BO][BQ]
if (Ts & 1)
OL=B()
elif (Ts & 2 ) 
OL=OL/2
endif
AEN()
Va=Vp
CY=CL
mF=mf
ADO()
endfunc
func BAY()
return _O
endfunc
func ADO()
_O=1
endfunc
func B4X()
_O=B()
endfunc
func Acf(BQ,BO)
O5=BQ
O7=BO
ZR=gb_hexel_owner(BQ,BO)
O9()
if ZR>=B()
if ZR==gb_team_id()
CB=1921
elif Fm<30
CB=1920+gb_random_value(20)
else
CB=1920+gb_random_value(20)
endif
elif ZR==AA
CB=1920
else
CB=B()
endif
sl=J[BO][BQ]
if (Ts & 1)
OL=B()
elif (Ts & 2 ) 
OL=OL/2
endif
AlY()
endfunc
func AtN()
return AA4
endfunc
func AlY()
AA4=1
endfunc
func AxV()
AA4=B()
endfunc
func ANm()
if pE
mW()
mp()
elif b[CS]&1
AOC(CS,AD)
else
mW()
mp()
endif
endfunc
func Ah_()
if pE
md()
lE()
elif b[CS]&1
AZT(CS,0)
else
md()
lE()
endif
endfunc
func AES()
if pE
A6D()
elif b[CW]&2
Acf(c6,CW)
else
A6D()
endif
endfunc
func Ad7()
if pE
A2j()
elif b[CW]&2
AVE(B(),CW)
else
A2j()
endif
endfunc
func Aed(BQ,BO)
p2=BQ
qr=BO
WS=gb_hexel_owner(BQ,BO)
O1()
if WS>=B()
if WS==gb_team_id()
C3=2460
elif Fm<30
C3=9999+gb_random_value(20)
else
C3=6144+gb_random_value(20)
endif
elif WS==AA
C3=3840
else
C3=B()
endif
eb=J[BO][BQ]
if (OP & 3)
Ke=B()
elif (OP & 4 ) 
Ke=Ke*4/5
elif (OP & 8 ) 
Ke=Ke*2/3
endif
AC1()
V_=WS
C6=C3
jA=eb
yP()
endfunc
func Ac5()
return za
endfunc
func yP()
za=1
endfunc
func B3O()
za=B()
endfunc
func B2P(BQ,BO)
pW=BQ
oS=BO
V_=gb_hexel_owner(BQ,BO)
O1()
if V_>=B()
if V_==gb_team_id()
C6=2460
elif Fm<30
C6=9999+gb_random_value(20)
else
C6=6144+gb_random_value(20)
endif
elif V_==AA
C6=3840
else
C6=B()
endif
jA=J[BO][BQ]
if (OP & 3)
Ke=B()
elif (OP & 4 ) 
Ke=Ke*4/5
elif (OP & 8 ) 
Ke=Ke*2/3
endif
yP()
WS=V_
C3=C6
eb=jA
AC1()
endfunc
func AXM()
return A57
endfunc
func AC1()
A57=1
endfunc
func B0x()
A57=B()
endfunc
func Aq8(BQ,BO)
lf=BQ
l2=BO
aE=gb_hexel_owner(BQ,BO)
O1()
if aE>=B()
if aE==gb_team_id()
Bz=2460
elif Fm<30
Bz=9999+gb_random_value(20)
else
Bz=6144+gb_random_value(20)
endif
elif aE==AA
Bz=3840
else
Bz=B()
endif
pz=J[BO][BQ]
if (OP & 3)
Ke=B()
elif (OP & 4 ) 
Ke=Ke*4/5
elif (OP & 8 ) 
Ke=Ke*2/3
endif
AQe()
endfunc
func Ao5()
return zt
endfunc
func AQe()
zt=1
endfunc
func B3Q()
zt=B()
endfunc
func Ahd(BQ,BO)
ah=BQ
b1=BO
WP=gb_hexel_owner(BQ,BO)
O1()
if WP>=B()
if WP==gb_team_id()
Br=2460
elif Fm<30
Br=9999+gb_random_value(20)
else
Br=6144+gb_random_value(20)
endif
elif WP==AA
Br=3840
else
Br=B()
endif
jn=J[BO][BQ]
if (OP & 3)
Ke=B()
elif (OP & 4 ) 
Ke=Ke*4/5
elif (OP & 8 ) 
Ke=Ke*2/3
endif
A96()
Wd=WP
Bl=Br
hz=jn
A9a()
endfunc
func AjN()
return AC5
endfunc
func A9a()
AC5=1
endfunc
func B9o()
AC5=B()
endfunc
func B7X(BQ,BO)
Um=BQ
UY=BO
Wd=gb_hexel_owner(BQ,BO)
O1()
if Wd>=B()
if Wd==gb_team_id()
Bl=2460
elif Fm<30
Bl=9999+gb_random_value(20)
else
Bl=6144+gb_random_value(20)
endif
elif Wd==AA
Bl=3840
else
Bl=B()
endif
hz=J[BO][BQ]
if (OP & 3)
Ke=B()
elif (OP & 4 ) 
Ke=Ke*4/5
elif (OP & 8 ) 
Ke=Ke*2/3
endif
A9a()
WP=Wd
Br=Bl
jn=hz
A96()
endfunc
func AMc()
return ACV
endfunc
func A96()
ACV=1
endfunc
func B5b()
ACV=B()
endfunc
func ALy(BQ,BO)
Ns=BQ
O0=BO
a7=gb_hexel_owner(BQ,BO)
O1()
if a7>=B()
if a7==gb_team_id()
BX=2460
elif Fm<30
BX=9999+gb_random_value(20)
else
BX=6144+gb_random_value(20)
endif
elif a7==AA
BX=3840
else
BX=B()
endif
oL=J[BO][BQ]
if (OP & 3)
Ke=B()
elif (OP & 4 ) 
Ke=Ke*4/5
elif (OP & 8 ) 
Ke=Ke*2/3
endif
Ao8()
endfunc
func AT_()
return A5v
endfunc
func Ao8()
A5v=1
endfunc
func B5Y()
A5v=B()
endfunc
func AHf()
if oX
mV()
ln()
elif b[B_]&1
Aed(B_,AD)
else
mV()
ln()
endif
endfunc
func Anr()
if oX
n4()
nf()
elif b[B_]&1
Ahd(B_,0)
else
n4()
nf()
endif
endfunc
func AJd()
if oX
AD0()
elif b[Bo]&2
ALy(ae,Bo)
else
AD0()
endif
endfunc
func AYA()
if oX
A8L()
elif b[Bo]&2
Aq8(B(),Bo)
else
A8L()
endif
endfunc
func AJh(BQ,BO)
qs=BQ
rR=BO
WA=gb_hexel_owner(BQ,BO)
O8()
if WA>=B()
if WA==gb_team_id()
C4=2460
elif Fm<30
C4=9999+gb_random_value(20)
else
C4=6144+gb_random_value(20)
endif
elif WA==AA
C4=3840
else
C4=B()
endif
fr=J[BO][BQ]
if (OO & 3)
Ka=B()
elif (OO & 4 ) 
Ka=Ka*4/5
elif (OO & 8 ) 
Ka=Ka*2/3
endif
AAK()
Wc=WA
C5=C4
dQ=fr
A1X()
endfunc
func AQc()
return A9l
endfunc
func A1X()
A9l=1
endfunc
func Azo()
A9l=B()
endfunc
func B6a(BQ,BO)
p9=BQ
qa=BO
Wc=gb_hexel_owner(BQ,BO)
O8()
if Wc>=B()
if Wc==gb_team_id()
C5=2460
elif Fm<30
C5=9999+gb_random_value(20)
else
C5=6144+gb_random_value(20)
endif
elif Wc==AA
C5=3840
else
C5=B()
endif
dQ=J[BO][BQ]
if (OO & 3)
Ka=B()
elif (OO & 4 ) 
Ka=Ka*4/5
elif (OO & 8 ) 
Ka=Ka*2/3
endif
A1X()
WA=Wc
C4=C5
fr=dQ
AAK()
endfunc
func AcY()
return A51
endfunc
func AAK()
A51=1
endfunc
func B41()
A51=B()
endfunc
func AmS(BQ,BO)
nU=BQ
lx=BO
ZD=gb_hexel_owner(BQ,BO)
O8()
if ZD>=B()
if ZD==gb_team_id()
By=2460
elif Fm<30
By=9999+gb_random_value(20)
else
By=6144+gb_random_value(20)
endif
elif ZD==AA
By=3840
else
By=B()
endif
of=J[BO][BQ]
if (OO & 3)
Ka=B()
elif (OO & 4 ) 
Ka=Ka*4/5
elif (OO & 8 ) 
Ka=Ka*2/3
endif
AkY()
endfunc
func Ak2()
return A4x
endfunc
func AkY()
A4x=1
endfunc
func Az4()
A4x=B()
endfunc
func ATt(BQ,BO)
dJ=BQ
aW=BO
Wl=gb_hexel_owner(BQ,BO)
O8()
if Wl>=B()
if Wl==gb_team_id()
Bt=2460
elif Fm<30
Bt=9999+gb_random_value(20)
else
Bt=6144+gb_random_value(20)
endif
elif Wl==AA
Bt=3840
else
Bt=B()
endif
jx=J[BO][BQ]
if (OO & 3)
Ka=B()
elif (OO & 4 ) 
Ka=Ka*4/5
elif (OO & 8 ) 
Ka=Ka*2/3
endif
AAp()
Wb=Wl
Bm=Bt
kj=jx
AAx()
endfunc
func Amb()
return A2H
endfunc
func AAx()
A2H=1
endfunc
func B3h()
A2H=B()
endfunc
func B1H(BQ,BO)
V2=BQ
UU=BO
Wb=gb_hexel_owner(BQ,BO)
O8()
if Wb>=B()
if Wb==gb_team_id()
Bm=2460
elif Fm<30
Bm=9999+gb_random_value(20)
else
Bm=6144+gb_random_value(20)
endif
elif Wb==AA
Bm=3840
else
Bm=B()
endif
kj=J[BO][BQ]
if (OO & 3)
Ka=B()
elif (OO & 4 ) 
Ka=Ka*4/5
elif (OO & 8 ) 
Ka=Ka*2/3
endif
AAx()
Wl=Wb
Bt=Bm
jx=kj
AAp()
endfunc
func AK2()
return A54
endfunc
func AAp()
A54=1
endfunc
func At6()
A54=B()
endfunc
func AMq(BQ,BO)
Np=BQ
Nt=BO
Zo=gb_hexel_owner(BQ,BO)
O8()
if Zo>=B()
if Zo==gb_team_id()
BW=2460
elif Fm<30
BW=9999+gb_random_value(20)
else
BW=6144+gb_random_value(20)
endif
elif Zo==AA
BW=3840
else
BW=B()
endif
qK=J[BO][BQ]
if (OO & 3)
Ka=B()
elif (OO & 4 ) 
Ka=Ka*4/5
elif (OO & 8 ) 
Ka=Ka*2/3
endif
AH3()
endfunc
func AJz()
return AAq
endfunc
func AH3()
AAq=1
endfunc
func B6s()
AAq=B()
endfunc
func AVh()
if o4
lL()
ls()
elif b[Bw]&1
AJh(Bw,AD)
else
lL()
ls()
endif
endfunc
func AYW()
if o4
ly()
ma()
elif b[Bw]&1
ATt(Bw,0)
else
ly()
ma()
endif
endfunc
func ApS()
if o4
A21()
elif b[Bn]&2
AMq(ad,Bn)
else
A21()
endif
endfunc
func Amp()
if o4
A7o()
elif b[Bn]&2
AmS(B(),Bn)
else
A7o()
endif
endfunc
func AZU(BQ,BO)
oA=BQ
qY=BO
WW=gb_hexel_owner(BQ,BO)
O6()
if WW>=B()
if WW==gb_team_id()
C2=2460
elif Fm<30
C2=9999+gb_random_value(20)
else
C2=6144+gb_random_value(20)
endif
elif WW==AA
C2=3840
else
C2=B()
endif
fX=J[BO][BQ]
if (ON & 3)
Kf=B()
elif (ON & 4 ) 
Kf=Kf*4/5
elif (ON & 8 ) 
Kf=Kf*2/3
endif
A0N()
VZ=WW
C1=C2
h7=fX
ADV()
endfunc
func AZS()
return AEF
endfunc
func ADV()
AEF=1
endfunc
func B2z()
AEF=B()
endfunc
func Asm(BQ,BO)
oF=BQ
qQ=BO
VZ=gb_hexel_owner(BQ,BO)
O6()
if VZ>=B()
if VZ==gb_team_id()
C1=2460
elif Fm<30
C1=9999+gb_random_value(20)
else
C1=6144+gb_random_value(20)
endif
elif VZ==AA
C1=3840
else
C1=B()
endif
h7=J[BO][BQ]
if (ON & 3)
Kf=B()
elif (ON & 4 ) 
Kf=Kf*4/5
elif (ON & 8 ) 
Kf=Kf*2/3
endif
ADV()
WW=VZ
C2=C1
fX=h7
A0N()
endfunc
func AjR()
return _d
endfunc
func A0N()
_d=1
endfunc
func Avl()
_d=B()
endfunc
func ANa(BQ,BO)
m4=BQ
nB=BO
ZY=gb_hexel_owner(BQ,BO)
O6()
if ZY>=B()
if ZY==gb_team_id()
Bx=2460
elif Fm<30
Bx=9999+gb_random_value(20)
else
Bx=6144+gb_random_value(20)
endif
elif ZY==AA
Bx=3840
else
Bx=B()
endif
oO=J[BO][BQ]
if (ON & 3)
Kf=B()
elif (ON & 4 ) 
Kf=Kf*4/5
elif (ON & 8 ) 
Kf=Kf*2/3
endif
Adp()
endfunc
func AoK()
return ACD
endfunc
func Adp()
ACD=1
endfunc
func B4n()
ACD=B()
endfunc
func AlW(BQ,BO)
bY=BQ
cQ=BO
Wa=gb_hexel_owner(BQ,BO)
O6()
if Wa>=B()
if Wa==gb_team_id()
Bs=2460
elif Fm<30
Bs=9999+gb_random_value(20)
else
Bs=6144+gb_random_value(20)
endif
elif Wa==AA
Bs=3840
else
Bs=B()
endif
ec=J[BO][BQ]
if (ON & 3)
Kf=B()
elif (ON & 4 ) 
Kf=Kf*4/5
elif (ON & 8 ) 
Kf=Kf*2/3
endif
AA7()
Ve=Wa
Bk=Bs
kS=ec
ACZ()
endfunc
func AHv()
return A9q
endfunc
func ACZ()
A9q=1
endfunc
func Arr()
A9q=B()
endfunc
func BAy(BQ,BO)
Tt=BQ
TQ=BO
Ve=gb_hexel_owner(BQ,BO)
O6()
if Ve>=B()
if Ve==gb_team_id()
Bk=2460
elif Fm<30
Bk=9999+gb_random_value(20)
else
Bk=6144+gb_random_value(20)
endif
elif Ve==AA
Bk=3840
else
Bk=B()
endif
kS=J[BO][BQ]
if (ON & 3)
Kf=B()
elif (ON & 4 ) 
Kf=Kf*4/5
elif (ON & 8 ) 
Kf=Kf*2/3
endif
ACZ()
Wa=Ve
Bs=Bk
ec=kS
AA7()
endfunc
func ANE()
return ADL
endfunc
func AA7()
ADL=1
endfunc
func B5c()
ADL=B()
endfunc
func AUu(BQ,BO)
Nl=BQ
No=BO
aJ=gb_hexel_owner(BQ,BO)
O6()
if aJ>=B()
if aJ==gb_team_id()
BV=2460
elif Fm<30
BV=9999+gb_random_value(20)
else
BV=6144+gb_random_value(20)
endif
elif aJ==AA
BV=3840
else
BV=B()
endif
pu=J[BO][BQ]
if (ON & 3)
Kf=B()
elif (ON & 4 ) 
Kf=Kf*4/5
elif (ON & 8 ) 
Kf=Kf*2/3
endif
Af5()
endfunc
func AW5()
return A35
endfunc
func Af5()
A35=1
endfunc
func B5K()
A35=B()
endfunc
func APT()
if rm
lw()
mY()
elif b[C0]&1
AZU(C0,AD)
else
lw()
mY()
endif
endfunc
func Ac6()
if rm
mR()
mX()
elif b[C0]&1
AlW(C0,0)
else
mR()
mX()
endif
endfunc
func AK7()
if rm
zZ()
elif b[Bp]&2
AUu(c8,Bp)
else
zZ()
endif
endfunc
func AOH()
if rm
A01()
elif b[Bp]&2
ANa(B(),Bp)
else
A01()
endif
endfunc
func APo()
if Ou<Ps
return 1
elif Ps<Ol
return 1
elif Nw<Q3
return 1
elif Q3<Nk
return 1
endif
return B()
endfunc
func ASt()
if Ak<Q2
return 1
elif Q2<Am
return 1
elif AU<Pd
return 1
elif Pd<AW
return 1
endif
return B()
endfunc
func AEZ()
if Al<Pe
return 1
elif Pe<Ae
return 1
elif AV<PN
return 1
elif PN<AX
return 1
endif
return B()
endfunc
func AO9()
if Ah<Pq
return 1
elif Pq<Af
return 1
elif AT<PO
return 1
elif PO<AS
return 1
endif
return B()
endfunc
func AUJ()
endfunc
func yp()
endfunc
func AbP()
endfunc
func WH()
endfunc
func Ady()
endfunc
func W8()
endfunc
func AKz()
endfunc
func Wp()
endfunc
func B0h()
AUJ()
AbP()
Ady()
AKz()
endfunc
func Asy()
yp()
WH()
W8()
Wp()
endfunc
func B57()
endfunc
func APn()
B1c=(B_+Bw+C0)/3
BAQ=(Bo+Bn+Bp)/3
AHM=(CS+B_+Bw+C0)/4
B8E=(CS+Bo+Bn+Bp)/4
qL=CS-B_
A26=-qL
if qL>=0
AOZ=qL
AbN=qL
else
AOZ=A26
AbN=A26
endif
oP=CS-Bw
zx=-oP
if oP>=0
AT3=oP
AF3=oP
else
AT3=zx
AF3=zx
endif
pc=CS-C0
A1y=-pc
if pc>=0
Aaw=pc
Aj8=pc
else
Aaw=A1y
Aj8=A1y
endif
rq=B_-Bw
A4_=-rq
if rq>=0
AlF=rq
yE=rq
else
AlF=A4_
yE=A4_
endif
r0=B_-C0
A3r=-r0
if r0>=0
AjE=r0
xb=r0
else
AjE=A3r
xb=A3r
endif
oW=Bw-C0
A23=-oW
if oW>=0
Abp=oW
up=oW
else
Abp=A23
up=A23
endif
if up<=xb
if yE<=up
xM=3
rp=(CS+B_+Bw)/3
else
xM=1
rp=(CS+Bw+C0)/3
endif
elif yE<=xb
xM=3
rp=(CS+B_+Bw)/3
else
xM=2
rp=(CS+B_+C0)/3
endif
endfunc
func ny()
xc()
vO()
wE()
tu()
uj()
xQ()
endfunc
func P7()
if BU
else
return ny()
endif
if BZ
else
return ny()
endif
if BU>=AD
return ny()
endif
if BZ>=BU%2+Z
return ny()
endif
if hR>=4
if hR>=6
ny()
elif hR>=5
xQ()
xc()
else
uj()
xQ()
endif
elif hR>=2
if hR>=3
tu()
uj()
else
wE()
tu()
endif
elif hR
vO()
wE()
else
xc()
vO()
endif
endfunc
func Aa2()
if BU%2
Kt=BZ-1
LD=BU-1
elif BU
Kt=BZ
LD=BU-1
elif b[BZ]&1
Kt=BZ
LD=AD
else
return 1
endif
endfunc
func AQ9()
if BU%2
Kt=BZ
LD=BU-1
elif BU
Kt=BZ+1
LD=BU-1
elif b[BZ]&1
Kt=BZ
LD=AD
else
return 1
endif
endfunc
func AFP()
if BU%2
Kt=BZ-1
LD=BU+1
elif BU<AD
Kt=BZ
LD=BU+1
elif b[BZ]&1
Kt=BZ
LD=B()
else
return 1
endif
endfunc
func AUE()
if BU%2
Kt=BZ
LD=BU+1
elif BU<AD
Kt=BZ+1
LD=BU+1
elif b[BZ]&1
Kt=BZ
LD=B()
else
return 1
endif
endfunc
func ANk()
if BZ
Kt=BZ-1
LD=BU
elif b[BU]&2
Kt=BU%2+Z
LD=BU
else
return 1
endif
endfunc
func APN()
if BZ<BU%2+Z
Kt=BZ+1
LD=BU
elif b[BU]&2
Kt=B()
LD=BU
else
return 1
endif
endfunc
func xc()
if Aa2()
elif Dc[LD][Kt] 
else
FN[AK]=LD
FC[AK]=Kt
FQ[AK]=FS
FO[AK]=0
AK=AK+1
endif
endfunc
func vO()
if AQ9()
elif Dc[LD][Kt] 
else
FN[AK]=LD
FC[AK]=Kt
FQ[AK]=FS
FO[AK]=1
AK=AK+1
endif
endfunc
func wE()
if APN()
elif Dc[LD][Kt] 
else
FN[AK]=LD
FC[AK]=Kt
FQ[AK]=FS
FO[AK]=2
AK=AK+1
endif
endfunc
func tu()
if AUE()
elif Dc[LD][Kt] 
else
FN[AK]=LD
FC[AK]=Kt
FQ[AK]=FS
FO[AK]=3
AK=AK+1
endif
endfunc
func uj()
if AFP()
elif Dc[LD][Kt] 
else
FN[AK]=LD
FC[AK]=Kt
FQ[AK]=FS
FO[AK]=4
AK=AK+1
endif
endfunc
func xQ()
if ANk()
elif Dc[LD][Kt] 
else
FN[AK]=LD
FC[AK]=Kt
FQ[AK]=FS
FO[AK]=5
AK=AK+1
endif
endfunc
func Ov()
BU=FN[cf]
BZ=FC[cf]
CK=FQ[cf]
hR=FO[cf]
cf=cf+1
endfunc
func Ot()
AK=cf
endfunc
func Od()
return AK>cf
endfunc
func B5m()
BO=Nq
while BO
BO=BO-1
BQ=L+BO%2
while BQ
BQ=BQ-1
endwhile
endwhile
endfunc
func B84()
BO=Nq
while BO
BO=BO-1
BQ=L+BO%2
while BQ
BQ=BQ-1
endwhile
endwhile
endfunc
func ASn()
B4=6
AH=5
AR=4
BM=3
BN=2
D7=1
AXH=B()
endfunc
func AJc()
ASn()
if gb_team_id()>=2
if gb_team_id()>=3
vb()
vD()
xe()
Ama()
x4()
vP()
xE()
AnB()
else
vb()
vD()
Aj4()
vY()
x4()
vP()
Act()
su()
endif
elif gb_team_id()
vb()
AQp()
xe()
vY()
x4()
Al5()
xE()
su()
else
AnY()
vD()
xe()
vY()
AcU()
vP()
xE()
su()
endif
p7[0]=A1Z
p7[1]=zu
p7[2]=zs
p7[3]=A4c
pb[0]=B8
pb[1]=B7
pb[2]=BA
pb[3]=B9
Ast=p7[gb_team_id()]
AtV=pb[gb_team_id()]
endfunc
func AnY()
Ot()
Dc=B()
FN[AK]=Nn
FC[AK]=Nx
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
A1Z[BU][BZ]=CK
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func vb()
Ot()
Dc=B()
FN[AK]=Nn
FC[AK]=Nx
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
A1Z[BU][BZ]=CK
if V[BU][BZ]<CK
V[BU][BZ]=CK
DB[BU][BZ]=CK
elif DB[BU][BZ]<CK
DB[BU][BZ]=CK
endif
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func AcU()
Ot()
Dc=B()
FN[AK]=LY
FC[AK]=Lt
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=Lp
FC[AK]=Lu
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=Lk
FC[AK]=Lm
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
B8[BU][BZ]=CK
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func x4()
Ot()
Dc=B()
FN[AK]=LY
FC[AK]=Lt
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=Lp
FC[AK]=Lu
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=Lk
FC[AK]=Lm
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
B8[BU][BZ]=CK
if V[BU][BZ]<CK
V[BU][BZ]=CK
B5[BU][BZ]=CK
elif B5[BU][BZ]<CK
B5[BU][BZ]=CK
endif
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func AQp()
Ot()
Dc=B()
FN[AK]=N6
FC[AK]=N7
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
zu[BU][BZ]=CK
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func vD()
Ot()
Dc=B()
FN[AK]=N6
FC[AK]=N7
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
zu[BU][BZ]=CK
if V[BU][BZ]<CK
V[BU][BZ]=CK
DB[BU][BZ]=CK
elif DB[BU][BZ]<CK
DB[BU][BZ]=CK
endif
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func Al5()
Ot()
Dc=B()
FN[AK]=Ne
FC[AK]=Nj
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=NB
FC[AK]=Nh
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=NA
FC[AK]=NW
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
B7[BU][BZ]=CK
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func vP()
Ot()
Dc=B()
FN[AK]=Ne
FC[AK]=Nj
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=NB
FC[AK]=Nh
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=NA
FC[AK]=NW
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
B7[BU][BZ]=CK
if V[BU][BZ]<CK
V[BU][BZ]=CK
B5[BU][BZ]=CK
elif B5[BU][BZ]<CK
B5[BU][BZ]=CK
endif
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func Aj4()
Ot()
Dc=B()
FN[AK]=NF
FC[AK]=NP
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
zs[BU][BZ]=CK
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func xe()
Ot()
Dc=B()
FN[AK]=NF
FC[AK]=NP
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
zs[BU][BZ]=CK
if V[BU][BZ]<CK
V[BU][BZ]=CK
DB[BU][BZ]=CK
elif DB[BU][BZ]<CK
DB[BU][BZ]=CK
endif
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func Act()
Ot()
Dc=B()
FN[AK]=NR
FC[AK]=NC
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=N8
FC[AK]=N9
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=Nb
FC[AK]=Na
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
BA[BU][BZ]=CK
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func xE()
Ot()
Dc=B()
FN[AK]=NR
FC[AK]=NC
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=N8
FC[AK]=N9
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=Nb
FC[AK]=Na
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
BA[BU][BZ]=CK
if V[BU][BZ]<CK
V[BU][BZ]=CK
B5[BU][BZ]=CK
elif B5[BU][BZ]<CK
B5[BU][BZ]=CK
endif
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func Ama()
Ot()
Dc=B()
FN[AK]=NZ
FC[AK]=NV
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
A4c[BU][BZ]=CK
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func vY()
Ot()
Dc=B()
FN[AK]=NZ
FC[AK]=NV
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
A4c[BU][BZ]=CK
if V[BU][BZ]<CK
V[BU][BZ]=CK
DB[BU][BZ]=CK
elif DB[BU][BZ]<CK
DB[BU][BZ]=CK
endif
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func AnB()
Ot()
Dc=B()
FN[AK]=Nf
FC[AK]=NQ
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=NU
FC[AK]=NY
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=NM
FC[AK]=NT
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
B9[BU][BZ]=CK
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func su()
Ot()
Dc=B()
FN[AK]=Nf
FC[AK]=NQ
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=NU
FC[AK]=NY
FQ[AK]=B4
FO[AK]=6
AK=AK+1
FN[AK]=NM
FC[AK]=NT
FQ[AK]=B4
FO[AK]=6
AK=AK+1
while Od()
Ov()
if Dc[BU][BZ]
else
Dc[BU][BZ]=1
B9[BU][BZ]=CK
if V[BU][BZ]<CK
V[BU][BZ]=CK
B5[BU][BZ]=CK
elif B5[BU][BZ]<CK
B5[BU][BZ]=CK
endif
FS=CK-1
if FS
P7()
endif
endif
endwhile
endfunc
func AN()
SL=0
SL[T][U]=1
AFm()
be[Fo]=T
az[Fo]=U
Fo=Fo+1
B3=AF_()
if B3
elif R4>=BM
B3=AA
endif
return B3
endfunc
func AF_()
v=B()
QY=36
R4=B()
AMe=B()
jB=B()
A4u=1
while A5C()
if QY-A5C()>B()
QY=QY-1
else
return 2
endif
AfO()
AMe[CQ][De]=1
QZ=CQ%2
FP=CQ-1
FB=CQ+1
NO=De+1
Nd=De-1
if QZ
E5=De-1
E4=De
else
E5=De
E4=De+1
endif
Qb=De+(CQ/2)
QX=De-((CQ+1)/2)
if SL[FP][E5]
else
SL[FP][E5]=1
if A[FP][E5]
jB[FP][E5]=1
Dd=B5[FP][E5]
if R4<Dd
R4=Dd
endif
else
if CQ
if Qb<=OD
return 100
elif De
else
return 101
endif
else
return 102
endif
be[Fo]=FP
az[Fo]=E5
Fo=Fo+1
endif
endif
if SL[FP][E4]
else
SL[FP][E4]=1
if A[FP][E4]
jB[FP][E4]=1
Dd=B5[FP][E4]
if R4<Dd
R4=Dd
endif
else
if CQ
if QX>=O4
return 110
elif QZ
if De>=L
return 112
endif
else
if De>=Z
return 111
endif
endif
else
return 113
endif
be[Fo]=FP
az[Fo]=E4
Fo=Fo+1
endif
endif
if SL[CQ][NO]
else
SL[CQ][NO]=1
if A[CQ][NO]
jB[CQ][NO]=1
Dd=B5[CQ][NO]
if R4<Dd
R4=Dd
endif
else
if De>=Z
return 120
elif QX>=O4
return 121
elif Qb>=PP
return 122
endif
be[Fo]=CQ
az[Fo]=NO
Fo=Fo+1
endif
endif
if SL[FB][E4]
else
SL[FB][E4]=1
if A[FB][E4]
jB[FB][E4]=1
Dd=B5[FB][E4]
if R4<Dd
R4=Dd
endif
else
if CQ>=AD
return 130
elif Qb>=PP
return 131
elif QZ
if De>=L
return 133
endif
else
if De>=Z
return 132
endif
endif
be[Fo]=FB
az[Fo]=E4
Fo=Fo+1
endif
endif
if SL[FB][E5]
else
SL[FB][E5]=1
if A[FB][E5]
jB[FB][E5]=1
Dd=B5[FB][E5]
if R4<Dd
R4=Dd
endif
else
if CQ>=AD
return 140
elif QX<=Pr
return 141
elif De
else
return 142
endif
be[Fo]=FB
az[Fo]=E5
Fo=Fo+1
endif
endif
if SL[CQ][Nd]
else
SL[CQ][Nd]=1
if A[CQ][Nd]
jB[CQ][Nd]=1
Dd=B5[CQ][Nd]
if R4<Dd
R4=Dd
endif
else
if De<=QZ
return 150
elif QX<=Pr
return 151
elif Qb<=OD
return 152
endif
be[Fo]=CQ
az[Fo]=Nd
Fo=Fo+1
endif
endif
endwhile
v=AjY-QY+36
endfunc
func AL()
Q_=0
Q_[T][U]=1
AZ9()
cn[Fn]=T
bT[Fn]=U
Fn=Fn+1
B3=AQw()
if B3
elif Sh>=BM
B3=AA
endif
return B3
endfunc
func AQw()
w=B()
QY=36
Sh=B()
AVs=B()
jc=B()
A4u=1
while ADF()
if QY-ADF()>B()
QY=QY-1
else
return 2
endif
AaB()
AVs[CQ][De]=1
QZ=CQ%2
FP=CQ-1
FB=CQ+1
NO=De+1
Nd=De-1
if QZ
E5=De-1
E4=De
else
E5=De
E4=De+1
endif
Qb=De+(CQ/2)
QX=De-((CQ+1)/2)
if Q_[FP][E5]
else
Q_[FP][E5]=1
if A[FP][E5]
jc[FP][E5]=1
Dd=B5[FP][E5]
if Sh<Dd
Sh=Dd
endif
else
if CQ
if Qb<=OD
return 100
elif De
else
return 101
endif
else
return 102
endif
cn[Fn]=FP
bT[Fn]=E5
Fn=Fn+1
endif
endif
if Q_[FP][E4]
else
Q_[FP][E4]=1
if A[FP][E4]
jc[FP][E4]=1
Dd=B5[FP][E4]
if Sh<Dd
Sh=Dd
endif
else
if CQ
if QX>=O4
return 110
elif QZ
if De>=L
return 112
endif
else
if De>=Z
return 111
endif
endif
else
return 113
endif
cn[Fn]=FP
bT[Fn]=E4
Fn=Fn+1
endif
endif
if Q_[CQ][NO]
else
Q_[CQ][NO]=1
if A[CQ][NO]
jc[CQ][NO]=1
Dd=B5[CQ][NO]
if Sh<Dd
Sh=Dd
endif
else
if De>=Z
return 120
elif QX>=O4
return 121
elif Qb>=PP
return 122
endif
cn[Fn]=CQ
bT[Fn]=NO
Fn=Fn+1
endif
endif
if Q_[FB][E4]
else
Q_[FB][E4]=1
if A[FB][E4]
jc[FB][E4]=1
Dd=B5[FB][E4]
if Sh<Dd
Sh=Dd
endif
else
if CQ>=AD
return 130
elif Qb>=PP
return 131
elif QZ
if De>=L
return 133
endif
else
if De>=Z
return 132
endif
endif
cn[Fn]=FB
bT[Fn]=E4
Fn=Fn+1
endif
endif
if Q_[FB][E5]
else
Q_[FB][E5]=1
if A[FB][E5]
jc[FB][E5]=1
Dd=B5[FB][E5]
if Sh<Dd
Sh=Dd
endif
else
if CQ>=AD
return 140
elif QX<=Pr
return 141
elif De
else
return 142
endif
cn[Fn]=FB
bT[Fn]=E5
Fn=Fn+1
endif
endif
if Q_[CQ][Nd]
else
Q_[CQ][Nd]=1
if A[CQ][Nd]
jc[CQ][Nd]=1
Dd=B5[CQ][Nd]
if Sh<Dd
Sh=Dd
endif
else
if De<=QZ
return 150
elif QX<=Pr
return 151
elif Qb<=OD
return 152
endif
cn[Fn]=CQ
bT[Fn]=Nd
Fn=Fn+1
endif
endif
endwhile
w=AKk-QY+36
endfunc
func AM()
Ra=0
Ra[T][U]=1
AOR()
bp[Fp]=T
bN[Fp]=U
Fp=Fp+1
B3=AXR()
if B3
elif RO>=BM
B3=AA
endif
return B3
endfunc
func AXR()
x=B()
QY=36
RO=B()
Aho=B()
eC=B()
A4u=1
while ACH()
if QY-ACH()>B()
QY=QY-1
else
return 2
endif
AVp()
Aho[CQ][De]=1
QZ=CQ%2
FP=CQ-1
FB=CQ+1
NO=De+1
Nd=De-1
if QZ
E5=De-1
E4=De
else
E5=De
E4=De+1
endif
Qb=De+(CQ/2)
QX=De-((CQ+1)/2)
if Ra[FP][E5]
else
Ra[FP][E5]=1
if A[FP][E5]
eC[FP][E5]=1
Dd=B5[FP][E5]
if RO<Dd
RO=Dd
endif
else
if CQ
if Qb<=OD
return 100
elif De
else
return 101
endif
else
return 102
endif
bp[Fp]=FP
bN[Fp]=E5
Fp=Fp+1
endif
endif
if Ra[FP][E4]
else
Ra[FP][E4]=1
if A[FP][E4]
eC[FP][E4]=1
Dd=B5[FP][E4]
if RO<Dd
RO=Dd
endif
else
if CQ
if QX>=O4
return 110
elif QZ
if De>=L
return 112
endif
else
if De>=Z
return 111
endif
endif
else
return 113
endif
bp[Fp]=FP
bN[Fp]=E4
Fp=Fp+1
endif
endif
if Ra[CQ][NO]
else
Ra[CQ][NO]=1
if A[CQ][NO]
eC[CQ][NO]=1
Dd=B5[CQ][NO]
if RO<Dd
RO=Dd
endif
else
if De>=Z
return 120
elif QX>=O4
return 121
elif Qb>=PP
return 122
endif
bp[Fp]=CQ
bN[Fp]=NO
Fp=Fp+1
endif
endif
if Ra[FB][E4]
else
Ra[FB][E4]=1
if A[FB][E4]
eC[FB][E4]=1
Dd=B5[FB][E4]
if RO<Dd
RO=Dd
endif
else
if CQ>=AD
return 130
elif Qb>=PP
return 131
elif QZ
if De>=L
return 133
endif
else
if De>=Z
return 132
endif
endif
bp[Fp]=FB
bN[Fp]=E4
Fp=Fp+1
endif
endif
if Ra[FB][E5]
else
Ra[FB][E5]=1
if A[FB][E5]
eC[FB][E5]=1
Dd=B5[FB][E5]
if RO<Dd
RO=Dd
endif
else
if CQ>=AD
return 140
elif QX<=Pr
return 141
elif De
else
return 142
endif
bp[Fp]=FB
bN[Fp]=E5
Fp=Fp+1
endif
endif
if Ra[CQ][Nd]
else
Ra[CQ][Nd]=1
if A[CQ][Nd]
eC[CQ][Nd]=1
Dd=B5[CQ][Nd]
if RO<Dd
RO=Dd
endif
else
if De<=QZ
return 150
elif QX<=Pr
return 151
elif Qb<=OD
return 152
endif
bp[Fp]=CQ
bN[Fp]=Nd
Fp=Fp+1
endif
endif
endwhile
x=AZV-QY+36
endfunc
func AEp()
if A[Ay][Am]
return 1
endif
if B5[Ay][Am]>=AH
return 1
endif
if Ay
else
return 1
endif
if qS
else
return 1
endif
if Am<=1
return 1
endif
if pO<=1
return 1
endif
endfunc
func sx()
if A[tw][ql]
T=AW
U=AY
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[ER][EF]
A[ER][EF]=2|C
D=AN()
A[ER][EF]=C
A[Ay][Am]=C
if D<=0
SY=2
P8=v
Tj=AY
VB=AW
Rv=Am
Rc=Ay
WK=-D
Yn=EF
Yq=ER
v=0
return 1
endif
elif A[Cc][Cd]
T=AW
U=AY
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[ER][EF]
A[ER][EF]=2|C
D=AN()
A[ER][EF]=C
A[Ay][Am]=C
if D<=0
SY=2
P8=v
Tj=AY
VB=AW
Rv=Am
Rc=Ay
WK=-D
Yn=EF
Yq=ER
v=0
return 1
endif
endif
endfunc
func xn()
if A[tw][ql]
if A[Cc][Cd]
return B()
else
T=Cc
U=Cd
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[ER][EF]
A[ER][EF]=2|C
D=AN()
A[ER][EF]=C
A[Ay][Am]=C
if D<=0
SY=2
P8=v
Tj=Cd
VB=Cc
Rv=Am
Rc=Ay
WK=-D
Yn=EF
Yq=ER
v=0
return 1
endif
endif
endif
endfunc
func ATF()
if A[AW][AY]
return 1
endif
if B5[AW][AY]>=AH
return 1
endif
if AW
else
return 1
endif
if px
else
return 1
endif
if AY<=1
return 1
endif
if pT<=1
return 1
endif
endfunc
func sq()
if A[A18][or]
T=Ar
U=Ad
C=A[AW][AY]
A[AW][AY]=2|C
C=A[Eq][EO]
A[Eq][EO]=2|C
D=AN()
A[Eq][EO]=C
A[AW][AY]=C
if D<=0
Qy=2
Os=v
V3=Ad
TO=Ar
Rw=AY
SR=AW
WR=-D
XQ=EO
Ys=Eq
v=0
return 1
endif
elif A[Cr][Ch]
T=Ar
U=Ad
C=A[AW][AY]
A[AW][AY]=2|C
C=A[Eq][EO]
A[Eq][EO]=2|C
D=AN()
A[Eq][EO]=C
A[AW][AY]=C
if D<=0
Qy=2
Os=v
V3=Ad
TO=Ar
Rw=AY
SR=AW
WR=-D
XQ=EO
Ys=Eq
v=0
return 1
endif
endif
endfunc
func xp()
if A[A18][or]
if A[Cr][Ch]
return B()
else
T=Cr
U=Ch
C=A[AW][AY]
A[AW][AY]=2|C
C=A[Eq][EO]
A[Eq][EO]=2|C
D=AN()
A[Eq][EO]=C
A[AW][AY]=C
if D<=0
Qy=2
Os=v
V3=Ch
TO=Cr
Rw=AY
SR=AW
WR=-D
XQ=EO
Ys=Eq
v=0
return 1
endif
endif
endif
endfunc
func AYV()
if A[Ar][Ad]
return 1
endif
if B5[Ar][Ad]>=AH
return 1
endif
if Ar
else
return 1
endif
if r4
else
return 1
endif
if Ad<=1
return 1
endif
if ox<=1
return 1
endif
endfunc
func vn()
if A[A47][uB]
T=B0
U=Ak
C=A[Ar][Ad]
A[Ar][Ad]=2|C
C=A[Eb][Ew]
A[Eb][Ew]=2|C
D=AN()
A[Eb][Ew]=C
A[Ar][Ad]=C
if D<=0
SM=2
P6=v
Tf=Ak
VJ=B0
S2=Ad
Sq=Ar
WV=-D
YR=Ew
Yp=Eb
v=0
return 1
endif
elif A[Cv][Cq]
T=B0
U=Ak
C=A[Ar][Ad]
A[Ar][Ad]=2|C
C=A[Eb][Ew]
A[Eb][Ew]=2|C
D=AN()
A[Eb][Ew]=C
A[Ar][Ad]=C
if D<=0
SM=2
P6=v
Tf=Ak
VJ=B0
S2=Ad
Sq=Ar
WV=-D
YR=Ew
Yp=Eb
v=0
return 1
endif
endif
endfunc
func xl()
if A[A47][uB]
if A[Cv][Cq]
return B()
else
T=Cv
U=Cq
C=A[Ar][Ad]
A[Ar][Ad]=2|C
C=A[Eb][Ew]
A[Eb][Ew]=2|C
D=AN()
A[Eb][Ew]=C
A[Ar][Ad]=C
if D<=0
SM=2
P6=v
Tf=Cq
VJ=Cv
S2=Ad
Sq=Ar
WV=-D
YR=Ew
Yp=Eb
v=0
return 1
endif
endif
endif
endfunc
func AM2()
if A[B0][Ak]
return 1
endif
if B5[B0][Ak]>=AH
return 1
endif
if B0
else
return 1
endif
if pX
else
return 1
endif
if Ak<=1
return 1
endif
if oc<=1
return 1
endif
endfunc
func wq()
if A[tJ][A7Y]
T=AU
U=At
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[E6][FA]
A[E6][FA]=2|C
D=AN()
A[E6][FA]=C
A[B0][Ak]=C
if D<=0
Qx=2
Oc=v
UA=At
U8=AU
S1=Ak
Su=B0
Vb=-D
X3=FA
XU=E6
v=0
return 1
endif
elif A[Cm][D9]
T=AU
U=At
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[E6][FA]
A[E6][FA]=2|C
D=AN()
A[E6][FA]=C
A[B0][Ak]=C
if D<=0
Qx=2
Oc=v
UA=At
U8=AU
S1=Ak
Su=B0
Vb=-D
X3=FA
XU=E6
v=0
return 1
endif
endif
endfunc
func uX()
if A[tJ][A7Y]
if A[Cm][D9]
return B()
else
T=Cm
U=D9
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[E6][FA]
A[E6][FA]=2|C
D=AN()
A[E6][FA]=C
A[B0][Ak]=C
if D<=0
Qx=2
Oc=v
UA=D9
U8=Cm
S1=Ak
Su=B0
Vb=-D
X3=FA
XU=E6
v=0
return 1
endif
endif
endif
endfunc
func Aok()
if A[AU][At]
return 1
endif
if B5[AU][At]>=AH
return 1
endif
if AU
else
return 1
endif
if o7
else
return 1
endif
if At<=1
return 1
endif
if q_<=1
return 1
endif
endfunc
func sv()
if A[A4P][zm]
T=Aj
U=Aw
C=A[AU][At]
A[AU][At]=2|C
C=A[Ey][FJ]
A[Ey][FJ]=2|C
D=AN()
A[Ey][FJ]=C
A[AU][At]=C
if D<=0
Rm=2
O_=v
VK=Aw
U_=Aj
S0=At
Qv=AU
VX=-D
Yd=FJ
Wy=Ey
v=0
return 1
endif
elif A[Cz][DA]
T=Aj
U=Aw
C=A[AU][At]
A[AU][At]=2|C
C=A[Ey][FJ]
A[Ey][FJ]=2|C
D=AN()
A[Ey][FJ]=C
A[AU][At]=C
if D<=0
Rm=2
O_=v
VK=Aw
U_=Aj
S0=At
Qv=AU
VX=-D
Yd=FJ
Wy=Ey
v=0
return 1
endif
endif
endfunc
func u_()
if A[A4P][zm]
if A[Cz][DA]
return B()
else
T=Cz
U=DA
C=A[AU][At]
A[AU][At]=2|C
C=A[Ey][FJ]
A[Ey][FJ]=2|C
D=AN()
A[Ey][FJ]=C
A[AU][At]=C
if D<=0
Rm=2
O_=v
VK=DA
U_=Cz
S0=At
Qv=AU
VX=-D
Yd=FJ
Wy=Ey
v=0
return 1
endif
endif
endif
endfunc
func Adt()
if A[Aj][Aw]
return 1
endif
if B5[Aj][Aw]>=AH
return 1
endif
if Aj
else
return 1
endif
if p5
else
return 1
endif
if Aw<=1
return 1
endif
if oa<=1
return 1
endif
endfunc
func uM()
if A[A0u][s4]
T=Ay
U=Am
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[F0][El]
A[F0][El]=2|C
D=AN()
A[F0][El]=C
A[Aj][Aw]=C
if D<=0
R1=2
OW=v
VU=Am
UJ=Ay
R8=Aw
RD=Aj
WD=-D
Yr=El
Xe=F0
v=0
return 1
endif
elif A[Co][Cp]
T=Ay
U=Am
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[F0][El]
A[F0][El]=2|C
D=AN()
A[F0][El]=C
A[Aj][Aw]=C
if D<=0
R1=2
OW=v
VU=Am
UJ=Ay
R8=Aw
RD=Aj
WD=-D
Yr=El
Xe=F0
v=0
return 1
endif
endif
endfunc
func xV()
if A[A0u][s4]
if A[Co][Cp]
return B()
else
T=Co
U=Cp
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[F0][El]
A[F0][El]=2|C
D=AN()
A[F0][El]=C
A[Aj][Aw]=C
if D<=0
R1=2
OW=v
VU=Cp
UJ=Co
R8=Aw
RD=Aj
WD=-D
Yr=El
Xe=F0
v=0
return 1
endif
endif
endif
endfunc
func ATS()
if A[Ar][Ad]
return 1
endif
if B5[Ar][Ad]>=AH
return 1
endif
if Ar
else
return 1
endif
if r4
else
return 1
endif
if Ad<=1
return 1
endif
if ox<=1
return 1
endif
endfunc
func t9()
if A[tF][rL]
T=AW
U=AY
C=A[Ar][Ad]
A[Ar][Ad]=2|C
C=A[EU][EC]
A[EU][EC]=2|C
D=AN()
A[EU][EC]=C
A[Ar][Ad]=C
if D<=0
RZ=2
Or=v
V7=AY
Ut=AW
Qn=Ad
RK=Ar
Wk=-D
YJ=EC
XW=EU
v=0
return 1
endif
elif A[Cc][Cd]
T=AW
U=AY
C=A[Ar][Ad]
A[Ar][Ad]=2|C
C=A[EU][EC]
A[EU][EC]=2|C
D=AN()
A[EU][EC]=C
A[Ar][Ad]=C
if D<=0
RZ=2
Or=v
V7=AY
Ut=AW
Qn=Ad
RK=Ar
Wk=-D
YJ=EC
XW=EU
v=0
return 1
endif
endif
endfunc
func s0()
if A[tF][rL]
if A[Cc][Cd]
return B()
else
T=Cc
U=Cd
C=A[Ar][Ad]
A[Ar][Ad]=2|C
C=A[EU][EC]
A[EU][EC]=2|C
D=AN()
A[EU][EC]=C
A[Ar][Ad]=C
if D<=0
RZ=2
Or=v
V7=Cd
Ut=Cc
Qn=Ad
RK=Ar
Wk=-D
YJ=EC
XW=EU
v=0
return 1
endif
endif
endif
endfunc
func Af8()
if A[B0][Ak]
return 1
endif
if B5[B0][Ak]>=AH
return 1
endif
if B0
else
return 1
endif
if pX
else
return 1
endif
if Ak<=1
return 1
endif
if oc<=1
return 1
endif
endfunc
func tK()
if A[A9H][pe]
T=Ar
U=Ad
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[F1][ET]
A[F1][ET]=2|C
D=AN()
A[F1][ET]=C
A[B0][Ak]=C
if D<=0
Ry=2
Ok=v
UV=Ad
UP=Ar
RC=Ak
SP=B0
W5=-D
Xh=ET
Yy=F1
v=0
return 1
endif
elif A[Cr][Ch]
T=Ar
U=Ad
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[F1][ET]
A[F1][ET]=2|C
D=AN()
A[F1][ET]=C
A[B0][Ak]=C
if D<=0
Ry=2
Ok=v
UV=Ad
UP=Ar
RC=Ak
SP=B0
W5=-D
Xh=ET
Yy=F1
v=0
return 1
endif
endif
endfunc
func uJ()
if A[A9H][pe]
if A[Cr][Ch]
return B()
else
T=Cr
U=Ch
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[F1][ET]
A[F1][ET]=2|C
D=AN()
A[F1][ET]=C
A[B0][Ak]=C
if D<=0
Ry=2
Ok=v
UV=Ch
UP=Cr
RC=Ak
SP=B0
W5=-D
Xh=ET
Yy=F1
v=0
return 1
endif
endif
endif
endfunc
func AOj()
if A[AU][At]
return 1
endif
if B5[AU][At]>=AH
return 1
endif
if AU
else
return 1
endif
if o7
else
return 1
endif
if At<=1
return 1
endif
if q_<=1
return 1
endif
endfunc
func xj()
if A[A4z][uk]
T=B0
U=Ak
C=A[AU][At]
A[AU][At]=2|C
C=A[EZ][Eu]
A[EZ][Eu]=2|C
D=AN()
A[EZ][Eu]=C
A[AU][At]=C
if D<=0
Sp=2
Oo=v
Uz=Ak
TU=B0
Qr=At
Rk=AU
Vx=-D
X8=Eu
Yz=EZ
v=0
return 1
endif
elif A[Cv][Cq]
T=B0
U=Ak
C=A[AU][At]
A[AU][At]=2|C
C=A[EZ][Eu]
A[EZ][Eu]=2|C
D=AN()
A[EZ][Eu]=C
A[AU][At]=C
if D<=0
Sp=2
Oo=v
Uz=Ak
TU=B0
Qr=At
Rk=AU
Vx=-D
X8=Eu
Yz=EZ
v=0
return 1
endif
endif
endfunc
func wz()
if A[A4z][uk]
if A[Cv][Cq]
return B()
else
T=Cv
U=Cq
C=A[AU][At]
A[AU][At]=2|C
C=A[EZ][Eu]
A[EZ][Eu]=2|C
D=AN()
A[EZ][Eu]=C
A[AU][At]=C
if D<=0
Sp=2
Oo=v
Uz=Cq
TU=Cv
Qr=At
Rk=AU
Vx=-D
X8=Eu
Yz=EZ
v=0
return 1
endif
endif
endif
endfunc
func AmL()
if A[Aj][Aw]
return 1
endif
if B5[Aj][Aw]>=AH
return 1
endif
if Aj
else
return 1
endif
if p5
else
return 1
endif
if Aw<=1
return 1
endif
if oa<=1
return 1
endif
endfunc
func wH()
if A[xB][AB3]
T=AU
U=At
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[EM][F8]
A[EM][F8]=2|C
D=AN()
A[EM][F8]=C
A[Aj][Aw]=C
if D<=0
Qp=2
OX=v
VR=At
VD=AU
RV=Aw
Sc=Aj
WQ=-D
YN=F8
Yc=EM
v=0
return 1
endif
elif A[Cm][D9]
T=AU
U=At
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[EM][F8]
A[EM][F8]=2|C
D=AN()
A[EM][F8]=C
A[Aj][Aw]=C
if D<=0
Qp=2
OX=v
VR=At
VD=AU
RV=Aw
Sc=Aj
WQ=-D
YN=F8
Yc=EM
v=0
return 1
endif
endif
endfunc
func u5()
if A[xB][AB3]
if A[Cm][D9]
return B()
else
T=Cm
U=D9
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[EM][F8]
A[EM][F8]=2|C
D=AN()
A[EM][F8]=C
A[Aj][Aw]=C
if D<=0
Qp=2
OX=v
VR=D9
VD=Cm
RV=Aw
Sc=Aj
WQ=-D
YN=F8
Yc=EM
v=0
return 1
endif
endif
endif
endfunc
func AWK()
if A[Ay][Am]
return 1
endif
if B5[Ay][Am]>=AH
return 1
endif
if Ay
else
return 1
endif
if qS
else
return 1
endif
if Am<=1
return 1
endif
if pO<=1
return 1
endif
endfunc
func y1()
if A[A6H][A82]
T=Aj
U=Aw
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Ee][FR]
A[Ee][FR]=2|C
D=AN()
A[Ee][FR]=C
A[Ay][Am]=C
if D<=0
SW=2
Ob=v
VL=Aw
TS=Aj
Sr=Am
RA=Ay
Wo=-D
X5=FR
X1=Ee
v=0
return 1
endif
elif A[Cz][DA]
T=Aj
U=Aw
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Ee][FR]
A[Ee][FR]=2|C
D=AN()
A[Ee][FR]=C
A[Ay][Am]=C
if D<=0
SW=2
Ob=v
VL=Aw
TS=Aj
Sr=Am
RA=Ay
Wo=-D
X5=FR
X1=Ee
v=0
return 1
endif
endif
endfunc
func wU()
if A[A6H][A82]
if A[Cz][DA]
return B()
else
T=Cz
U=DA
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Ee][FR]
A[Ee][FR]=2|C
D=AN()
A[Ee][FR]=C
A[Ay][Am]=C
if D<=0
SW=2
Ob=v
VL=DA
TS=Cz
Sr=Am
RA=Ay
Wo=-D
X5=FR
X1=Ee
v=0
return 1
endif
endif
endif
endfunc
func AFH()
if A[AW][AY]
return 1
endif
if B5[AW][AY]>=AH
return 1
endif
if AW
else
return 1
endif
if px
else
return 1
endif
if AY<=1
return 1
endif
if pT<=1
return 1
endif
endfunc
func vL()
if A[A44][uU]
T=Ay
U=Am
C=A[AW][AY]
A[AW][AY]=2|C
C=A[F5][Ec]
A[F5][Ec]=2|C
D=AN()
A[F5][Ec]=C
A[AW][AY]=C
if D<=0
Se=2
P4=v
UB=Am
UX=Ay
Qj=AY
RQ=AW
WJ=-D
YF=Ec
XF=F5
v=0
return 1
endif
elif A[Co][Cp]
T=Ay
U=Am
C=A[AW][AY]
A[AW][AY]=2|C
C=A[F5][Ec]
A[F5][Ec]=2|C
D=AN()
A[F5][Ec]=C
A[AW][AY]=C
if D<=0
Se=2
P4=v
UB=Am
UX=Ay
Qj=AY
RQ=AW
WJ=-D
YF=Ec
XF=F5
v=0
return 1
endif
endif
endfunc
func rz()
if A[A44][uU]
if A[Co][Cp]
return B()
else
T=Co
U=Cp
C=A[AW][AY]
A[AW][AY]=2|C
C=A[F5][Ec]
A[F5][Ec]=2|C
D=AN()
A[F5][Ec]=C
A[AW][AY]=C
if D<=0
Se=2
P4=v
UB=Cp
UX=Co
Qj=AY
RQ=AW
WJ=-D
YF=Ec
XF=F5
v=0
return 1
endif
endif
endif
endfunc
func ART()
if A[A_][Ae]
return 1
endif
if B5[A_][Ae]>=AH
return 1
endif
if A_
else
return 1
endif
if qJ
else
return 1
endif
if Ae<=1
return 1
endif
if oj<=1
return 1
endif
endfunc
func vw()
if A[vv][qZ]
T=AX
U=Aa
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[E9][EV]
A[E9][EV]=2|C
D=AL()
A[E9][EV]=C
A[A_][Ae]=C
if D<=0
SQ=2
On=w
VP=Aa
U4=AX
SF=Ae
SC=A_
Wj=-D
Y6=EV
YS=E9
w=0
return 1
endif
elif A[Ca][Cb]
T=AX
U=Aa
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[E9][EV]
A[E9][EV]=2|C
D=AL()
A[E9][EV]=C
A[A_][Ae]=C
if D<=0
SQ=2
On=w
VP=Aa
U4=AX
SF=Ae
SC=A_
Wj=-D
Y6=EV
YS=E9
w=0
return 1
endif
endif
endfunc
func sy()
if A[vv][qZ]
if A[Ca][Cb]
return B()
else
T=Ca
U=Cb
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[E9][EV]
A[E9][EV]=2|C
D=AL()
A[E9][EV]=C
A[A_][Ae]=C
if D<=0
SQ=2
On=w
VP=Cb
U4=Ca
SF=Ae
SC=A_
Wj=-D
Y6=EV
YS=E9
w=0
return 1
endif
endif
endif
endfunc
func AH1()
if A[AX][Aa]
return 1
endif
if B5[AX][Aa]>=AH
return 1
endif
if AX
else
return 1
endif
if pk
else
return 1
endif
if Aa<=1
return 1
endif
if rH<=1
return 1
endif
endfunc
func xm()
if A[A7m][pB]
T=Ap
U=Ab
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ed][ES]
A[Ed][ES]=2|C
D=AL()
A[Ed][ES]=C
A[AX][Aa]=C
if D<=0
Re=2
Oa=w
Th=Ab
Uu=Ap
R3=Aa
Sw=AX
Vh=-D
Ya=ES
XY=Ed
w=0
return 1
endif
elif A[D2][CZ]
T=Ap
U=Ab
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ed][ES]
A[Ed][ES]=2|C
D=AL()
A[Ed][ES]=C
A[AX][Aa]=C
if D<=0
Re=2
Oa=w
Th=Ab
Uu=Ap
R3=Aa
Sw=AX
Vh=-D
Ya=ES
XY=Ed
w=0
return 1
endif
endif
endfunc
func vN()
if A[A7m][pB]
if A[D2][CZ]
return B()
else
T=D2
U=CZ
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ed][ES]
A[Ed][ES]=2|C
D=AL()
A[Ed][ES]=C
A[AX][Aa]=C
if D<=0
Re=2
Oa=w
Th=CZ
Uu=D2
R3=Aa
Sw=AX
Vh=-D
Ya=ES
XY=Ed
w=0
return 1
endif
endif
endif
endfunc
func AZ0()
if A[Ap][Ab]
return 1
endif
if B5[Ap][Ab]>=AH
return 1
endif
if Ap
else
return 1
endif
if r3
else
return 1
endif
if Ab<=1
return 1
endif
if qF<=1
return 1
endif
endfunc
func v9()
if A[AAW][s8]
T=B2
U=Al
C=A[Ap][Ab]
A[Ap][Ab]=2|C
C=A[Ez][Ef]
A[Ez][Ef]=2|C
D=AL()
A[Ez][Ef]=C
A[Ap][Ab]=C
if D<=0
Qh=2
P5=w
TP=Al
UC=B2
Sz=Ab
S5=Ap
WE=-D
XD=Ef
Y9=Ez
w=0
return 1
endif
elif A[Ct][Cy]
T=B2
U=Al
C=A[Ap][Ab]
A[Ap][Ab]=2|C
C=A[Ez][Ef]
A[Ez][Ef]=2|C
D=AL()
A[Ez][Ef]=C
A[Ap][Ab]=C
if D<=0
Qh=2
P5=w
TP=Al
UC=B2
Sz=Ab
S5=Ap
WE=-D
XD=Ef
Y9=Ez
w=0
return 1
endif
endif
endfunc
func w2()
if A[AAW][s8]
if A[Ct][Cy]
return B()
else
T=Ct
U=Cy
C=A[Ap][Ab]
A[Ap][Ab]=2|C
C=A[Ez][Ef]
A[Ez][Ef]=2|C
D=AL()
A[Ez][Ef]=C
A[Ap][Ab]=C
if D<=0
Qh=2
P5=w
TP=Cy
UC=Ct
Sz=Ab
S5=Ap
WE=-D
XD=Ef
Y9=Ez
w=0
return 1
endif
endif
endif
endfunc
func AKL()
if A[B2][Al]
return 1
endif
if B5[B2][Al]>=AH
return 1
endif
if B2
else
return 1
endif
if rF
else
return 1
endif
if Al<=1
return 1
endif
if pR<=1
return 1
endif
endfunc
func sK()
if A[t_][A22]
T=AV
U=Av
C=A[B2][Al]
A[B2][Al]=2|C
C=A[EP][FF]
A[EP][FF]=2|C
D=AL()
A[EP][FF]=C
A[B2][Al]=C
if D<=0
Sj=2
Ow=w
Tq=Av
VC=AV
Sy=Al
SJ=B2
Vd=-D
Yk=FF
Xm=EP
w=0
return 1
endif
elif A[Cl][DC]
T=AV
U=Av
C=A[B2][Al]
A[B2][Al]=2|C
C=A[EP][FF]
A[EP][FF]=2|C
D=AL()
A[EP][FF]=C
A[B2][Al]=C
if D<=0
Sj=2
Ow=w
Tq=Av
VC=AV
Sy=Al
SJ=B2
Vd=-D
Yk=FF
Xm=EP
w=0
return 1
endif
endif
endfunc
func wv()
if A[t_][A22]
if A[Cl][DC]
return B()
else
T=Cl
U=DC
C=A[B2][Al]
A[B2][Al]=2|C
C=A[EP][FF]
A[EP][FF]=2|C
D=AL()
A[EP][FF]=C
A[B2][Al]=C
if D<=0
Sj=2
Ow=w
Tq=DC
VC=Cl
Sy=Al
SJ=B2
Vd=-D
Yk=FF
Xm=EP
w=0
return 1
endif
endif
endif
endfunc
func AZp()
if A[AV][Av]
return 1
endif
if B5[AV][Av]>=AH
return 1
endif
if AV
else
return 1
endif
if qp
else
return 1
endif
if Av<=1
return 1
endif
if qO<=1
return 1
endif
endfunc
func s5()
if A[A93][A7d]
T=Ao
U=Ax
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Es][FM]
A[Es][FM]=2|C
D=AL()
A[Es][FM]=C
A[AV][Av]=C
if D<=0
Rs=2
Of=w
U7=Ax
V5=Ao
Rp=Av
Qk=AV
W7=-D
YL=FM
Xp=Es
w=0
return 1
endif
elif A[D1][D5]
T=Ao
U=Ax
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Es][FM]
A[Es][FM]=2|C
D=AL()
A[Es][FM]=C
A[AV][Av]=C
if D<=0
Rs=2
Of=w
U7=Ax
V5=Ao
Rp=Av
Qk=AV
W7=-D
YL=FM
Xp=Es
w=0
return 1
endif
endif
endfunc
func sc()
if A[A93][A7d]
if A[D1][D5]
return B()
else
T=D1
U=D5
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Es][FM]
A[Es][FM]=2|C
D=AL()
A[Es][FM]=C
A[AV][Av]=C
if D<=0
Rs=2
Of=w
U7=D5
V5=D1
Rp=Av
Qk=AV
W7=-D
YL=FM
Xp=Es
w=0
return 1
endif
endif
endif
endfunc
func AN1()
if A[Ao][Ax]
return 1
endif
if B5[Ao][Ax]>=AH
return 1
endif
if Ao
else
return 1
endif
if ps
else
return 1
endif
if Ax<=1
return 1
endif
if qe<=1
return 1
endif
endfunc
func tz()
if A[_b][xP]
T=A_
U=Ae
C=A[Ao][Ax]
A[Ao][Ax]=2|C
C=A[Eo][Ev]
A[Eo][Ev]=2|C
D=AL()
A[Eo][Ev]=C
A[Ao][Ax]=C
if D<=0
RH=2
P0=w
TR=Ae
Uq=A_
Rn=Ax
Rq=Ao
WZ=-D
Y1=Ev
Y4=Eo
w=0
return 1
endif
elif A[D0][D3]
T=A_
U=Ae
C=A[Ao][Ax]
A[Ao][Ax]=2|C
C=A[Eo][Ev]
A[Eo][Ev]=2|C
D=AL()
A[Eo][Ev]=C
A[Ao][Ax]=C
if D<=0
RH=2
P0=w
TR=Ae
Uq=A_
Rn=Ax
Rq=Ao
WZ=-D
Y1=Ev
Y4=Eo
w=0
return 1
endif
endif
endfunc
func xL()
if A[_b][xP]
if A[D0][D3]
return B()
else
T=D0
U=D3
C=A[Ao][Ax]
A[Ao][Ax]=2|C
C=A[Eo][Ev]
A[Eo][Ev]=2|C
D=AL()
A[Eo][Ev]=C
A[Ao][Ax]=C
if D<=0
RH=2
P0=w
TR=D3
Uq=D0
Rn=Ax
Rq=Ao
WZ=-D
Y1=Ev
Y4=Eo
w=0
return 1
endif
endif
endif
endfunc
func Anc()
if A[Ap][Ab]
return 1
endif
if B5[Ap][Ab]>=AH
return 1
endif
if Ap
else
return 1
endif
if r3
else
return 1
endif
if Ab<=1
return 1
endif
if qF<=1
return 1
endif
endfunc
func tX()
if A[wl][qo]
T=AX
U=Aa
C=A[Ap][Ab]
A[Ap][Ab]=2|C
C=A[E8][EB]
A[E8][EB]=2|C
D=AL()
A[E8][EB]=C
A[Ap][Ab]=C
if D<=0
R_=2
Oj=w
Tn=Aa
T_=AX
R6=Ab
Sd=Ap
WU=-D
YO=EB
YX=E8
w=0
return 1
endif
elif A[Ca][Cb]
T=AX
U=Aa
C=A[Ap][Ab]
A[Ap][Ab]=2|C
C=A[E8][EB]
A[E8][EB]=2|C
D=AL()
A[E8][EB]=C
A[Ap][Ab]=C
if D<=0
R_=2
Oj=w
Tn=Aa
T_=AX
R6=Ab
Sd=Ap
WU=-D
YO=EB
YX=E8
w=0
return 1
endif
endif
endfunc
func yJ()
if A[wl][qo]
if A[Ca][Cb]
return B()
else
T=Ca
U=Cb
C=A[Ap][Ab]
A[Ap][Ab]=2|C
C=A[E8][EB]
A[E8][EB]=2|C
D=AL()
A[E8][EB]=C
A[Ap][Ab]=C
if D<=0
R_=2
Oj=w
Tn=Cb
T_=Ca
R6=Ab
Sd=Ap
WU=-D
YO=EB
YX=E8
w=0
return 1
endif
endif
endif
endfunc
func AQn()
if A[B2][Al]
return 1
endif
if B5[B2][Al]>=AH
return 1
endif
if B2
else
return 1
endif
if rF
else
return 1
endif
if Al<=1
return 1
endif
if pR<=1
return 1
endif
endfunc
func rr()
if A[AD1][o3]
T=Ap
U=Ab
C=A[B2][Al]
A[B2][Al]=2|C
C=A[EY][EQ]
A[EY][EQ]=2|C
D=AL()
A[EY][EQ]=C
A[B2][Al]=C
if D<=0
SS=2
Om=w
Tr=Ab
U5=Ap
SX=Al
Sv=B2
Vk=-D
Xr=EQ
XN=EY
w=0
return 1
endif
elif A[D2][CZ]
T=Ap
U=Ab
C=A[B2][Al]
A[B2][Al]=2|C
C=A[EY][EQ]
A[EY][EQ]=2|C
D=AL()
A[EY][EQ]=C
A[B2][Al]=C
if D<=0
SS=2
Om=w
Tr=Ab
U5=Ap
SX=Al
Sv=B2
Vk=-D
Xr=EQ
XN=EY
w=0
return 1
endif
endif
endfunc
func uQ()
if A[AD1][o3]
if A[D2][CZ]
return B()
else
T=D2
U=CZ
C=A[B2][Al]
A[B2][Al]=2|C
C=A[EY][EQ]
A[EY][EQ]=2|C
D=AL()
A[EY][EQ]=C
A[B2][Al]=C
if D<=0
SS=2
Om=w
Tr=CZ
U5=D2
SX=Al
Sv=B2
Vk=-D
Xr=EQ
XN=EY
w=0
return 1
endif
endif
endif
endfunc
func AX3()
if A[AV][Av]
return 1
endif
if B5[AV][Av]>=AH
return 1
endif
if AV
else
return 1
endif
if qp
else
return 1
endif
if Av<=1
return 1
endif
if qO<=1
return 1
endif
endfunc
func xq()
if A[AB2][u4]
T=B2
U=Al
C=A[AV][Av]
A[AV][Av]=2|C
C=A[F2][Eh]
A[F2][Eh]=2|C
D=AL()
A[F2][Eh]=C
A[AV][Av]=C
if D<=0
Rt=2
Oq=w
TT=Al
TY=B2
S4=Av
RN=AV
Vz=-D
Wt=Eh
YK=F2
w=0
return 1
endif
elif A[Ct][Cy]
T=B2
U=Al
C=A[AV][Av]
A[AV][Av]=2|C
C=A[F2][Eh]
A[F2][Eh]=2|C
D=AL()
A[F2][Eh]=C
A[AV][Av]=C
if D<=0
Rt=2
Oq=w
TT=Al
TY=B2
S4=Av
RN=AV
Vz=-D
Wt=Eh
YK=F2
w=0
return 1
endif
endif
endfunc
func u8()
if A[AB2][u4]
if A[Ct][Cy]
return B()
else
T=Ct
U=Cy
C=A[AV][Av]
A[AV][Av]=2|C
C=A[F2][Eh]
A[F2][Eh]=2|C
D=AL()
A[F2][Eh]=C
A[AV][Av]=C
if D<=0
Rt=2
Oq=w
TT=Cy
TY=Ct
S4=Av
RN=AV
Vz=-D
Wt=Eh
YK=F2
w=0
return 1
endif
endif
endif
endfunc
func AYf()
if A[Ao][Ax]
return 1
endif
if B5[Ao][Ax]>=AH
return 1
endif
if Ao
else
return 1
endif
if ps
else
return 1
endif
if Ax<=1
return 1
endif
if qe<=1
return 1
endif
endfunc
func uH()
if A[vE][AAB]
T=AV
U=Av
C=A[Ao][Ax]
A[Ao][Ax]=2|C
C=A[EJ][FH]
A[EJ][FH]=2|C
D=AL()
A[EJ][FH]=C
A[Ao][Ax]=C
if D<=0
Qd=2
Oe=w
Ue=Av
TZ=AV
R5=Ax
RB=Ao
W4=-D
Y5=FH
Xd=EJ
w=0
return 1
endif
elif A[Cl][DC]
T=AV
U=Av
C=A[Ao][Ax]
A[Ao][Ax]=2|C
C=A[EJ][FH]
A[EJ][FH]=2|C
D=AL()
A[EJ][FH]=C
A[Ao][Ax]=C
if D<=0
Qd=2
Oe=w
Ue=Av
TZ=AV
R5=Ax
RB=Ao
W4=-D
Y5=FH
Xd=EJ
w=0
return 1
endif
endif
endfunc
func tW()
if A[vE][AAB]
if A[Cl][DC]
return B()
else
T=Cl
U=DC
C=A[Ao][Ax]
A[Ao][Ax]=2|C
C=A[EJ][FH]
A[EJ][FH]=2|C
D=AL()
A[EJ][FH]=C
A[Ao][Ax]=C
if D<=0
Qd=2
Oe=w
Ue=DC
TZ=Cl
R5=Ax
RB=Ao
W4=-D
Y5=FH
Xd=EJ
w=0
return 1
endif
endif
endif
endfunc
func AbZ()
if A[A_][Ae]
return 1
endif
if B5[A_][Ae]>=AH
return 1
endif
if A_
else
return 1
endif
if qJ
else
return 1
endif
if Ae<=1
return 1
endif
if oj<=1
return 1
endif
endfunc
func tt()
if A[A9U][A5o]
T=Ao
U=Ax
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[F3][FE]
A[F3][FE]=2|C
D=AL()
A[F3][FE]=C
A[A_][Ae]=C
if D<=0
RP=2
P1=w
Tw=Ax
U9=Ao
Rh=Ae
RJ=A_
Vl=-D
Yu=FE
YY=F3
w=0
return 1
endif
elif A[D1][D5]
T=Ao
U=Ax
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[F3][FE]
A[F3][FE]=2|C
D=AL()
A[F3][FE]=C
A[A_][Ae]=C
if D<=0
RP=2
P1=w
Tw=Ax
U9=Ao
Rh=Ae
RJ=A_
Vl=-D
Yu=FE
YY=F3
w=0
return 1
endif
endif
endfunc
func sQ()
if A[A9U][A5o]
if A[D1][D5]
return B()
else
T=D1
U=D5
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[F3][FE]
A[F3][FE]=2|C
D=AL()
A[F3][FE]=C
A[A_][Ae]=C
if D<=0
RP=2
P1=w
Tw=D5
U9=D1
Rh=Ae
RJ=A_
Vl=-D
Yu=FE
YY=F3
w=0
return 1
endif
endif
endif
endfunc
func Akc()
if A[AX][Aa]
return 1
endif
if B5[AX][Aa]>=AH
return 1
endif
if AX
else
return 1
endif
if pk
else
return 1
endif
if Aa<=1
return 1
endif
if rH<=1
return 1
endif
endfunc
func vV()
if A[A50][rs]
T=A_
U=Ae
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ex][F4]
A[Ex][F4]=2|C
D=AL()
A[Ex][F4]=C
A[AX][Aa]=C
if D<=0
T4=2
P3=w
TM=Ae
UH=A_
RW=Aa
T1=AX
WO=-D
Wv=F4
XK=Ex
w=0
return 1
endif
elif A[D0][D3]
T=A_
U=Ae
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ex][F4]
A[Ex][F4]=2|C
D=AL()
A[Ex][F4]=C
A[AX][Aa]=C
if D<=0
T4=2
P3=w
TM=Ae
UH=A_
RW=Aa
T1=AX
WO=-D
Wv=F4
XK=Ex
w=0
return 1
endif
endif
endfunc
func t7()
if A[A50][rs]
if A[D0][D3]
return B()
else
T=D0
U=D3
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ex][F4]
A[Ex][F4]=2|C
D=AL()
A[Ex][F4]=C
A[AX][Aa]=C
if D<=0
T4=2
P3=w
TM=D3
UH=D0
RW=Aa
T1=AX
WO=-D
Wv=F4
XK=Ex
w=0
return 1
endif
endif
endif
endfunc
func AmV()
if A[Az][Af]
return 1
endif
if B5[Az][Af]>=AH
return 1
endif
if Az
else
return 1
endif
if rK
else
return 1
endif
if Af<=1
return 1
endif
if on<=1
return 1
endif
endfunc
func tl()
if A[uT][oE]
T=AS
U=AZ
C=A[Az][Af]
A[Az][Af]=2|C
C=A[EE][EL]
A[EE][EL]=2|C
D=AM()
A[EE][EL]=C
A[Az][Af]=C
if D<=0
RY=2
PA=x
Up=AZ
UW=AS
SA=Af
Sl=Az
Vu=-D
XR=EL
Y7=EE
x=0
return 1
endif
elif A[Ce][Cf]
T=AS
U=AZ
C=A[Az][Af]
A[Az][Af]=2|C
C=A[EE][EL]
A[EE][EL]=2|C
D=AM()
A[EE][EL]=C
A[Az][Af]=C
if D<=0
RY=2
PA=x
Up=AZ
UW=AS
SA=Af
Sl=Az
Vu=-D
XR=EL
Y7=EE
x=0
return 1
endif
endif
endfunc
func tm()
if A[uT][oE]
if A[Ce][Cf]
return B()
else
T=Ce
U=Cf
C=A[Az][Af]
A[Az][Af]=2|C
C=A[EE][EL]
A[EE][EL]=2|C
D=AM()
A[EE][EL]=C
A[Az][Af]=C
if D<=0
RY=2
PA=x
Up=Cf
UW=Ce
SA=Af
Sl=Az
Vu=-D
XR=EL
Y7=EE
x=0
return 1
endif
endif
endif
endfunc
func AFt()
if A[AS][AZ]
return 1
endif
if B5[AS][AZ]>=AH
return 1
endif
if AS
else
return 1
endif
if pd
else
return 1
endif
if AZ<=1
return 1
endif
if pS<=1
return 1
endif
endfunc
func y9()
if A[AEL][qN]
T=Aq
U=Ac
C=A[AS][AZ]
A[AS][AZ]=2|C
C=A[Ek][EK]
A[Ek][EK]=2|C
D=AM()
A[Ek][EK]=C
A[AS][AZ]=C
if D<=0
Qe=2
Oy=x
U3=Ac
U1=Aq
SU=AZ
RX=AS
Vm=-D
Xw=EK
Z1=Ek
x=0
return 1
endif
elif A[D4][Cj]
T=Aq
U=Ac
C=A[AS][AZ]
A[AS][AZ]=2|C
C=A[Ek][EK]
A[Ek][EK]=2|C
D=AM()
A[Ek][EK]=C
A[AS][AZ]=C
if D<=0
Qe=2
Oy=x
U3=Ac
U1=Aq
SU=AZ
RX=AS
Vm=-D
Xw=EK
Z1=Ek
x=0
return 1
endif
endif
endfunc
func uV()
if A[AEL][qN]
if A[D4][Cj]
return B()
else
T=D4
U=Cj
C=A[AS][AZ]
A[AS][AZ]=2|C
C=A[Ek][EK]
A[Ek][EK]=2|C
D=AM()
A[Ek][EK]=C
A[AS][AZ]=C
if D<=0
Qe=2
Oy=x
U3=Cj
U1=D4
SU=AZ
RX=AS
Vm=-D
Xw=EK
Z1=Ek
x=0
return 1
endif
endif
endif
endfunc
func AXu()
if A[Aq][Ac]
return 1
endif
if B5[Aq][Ac]>=AH
return 1
endif
if Aq
else
return 1
endif
if qz
else
return 1
endif
if Ac<=1
return 1
endif
if py<=1
return 1
endif
endfunc
func v3()
if A[A1J][v8]
T=B1
U=Ah
C=A[Aq][Ac]
A[Aq][Ac]=2|C
C=A[E_][Em]
A[E_][Em]=2|C
D=AM()
A[E_][Em]=C
A[Aq][Ac]=C
if D<=0
RT=2
OU=x
Ul=Ah
UO=B1
Rj=Ac
Sa=Aq
W2=-D
Yf=Em
XO=E_
x=0
return 1
endif
elif A[Cw][Cu]
T=B1
U=Ah
C=A[Aq][Ac]
A[Aq][Ac]=2|C
C=A[E_][Em]
A[E_][Em]=2|C
D=AM()
A[E_][Em]=C
A[Aq][Ac]=C
if D<=0
RT=2
OU=x
Ul=Ah
UO=B1
Rj=Ac
Sa=Aq
W2=-D
Yf=Em
XO=E_
x=0
return 1
endif
endif
endfunc
func v0()
if A[A1J][v8]
if A[Cw][Cu]
return B()
else
T=Cw
U=Cu
C=A[Aq][Ac]
A[Aq][Ac]=2|C
C=A[E_][Em]
A[E_][Em]=2|C
D=AM()
A[E_][Em]=C
A[Aq][Ac]=C
if D<=0
RT=2
OU=x
Ul=Cu
UO=Cw
Rj=Ac
Sa=Aq
W2=-D
Yf=Em
XO=E_
x=0
return 1
endif
endif
endif
endfunc
func AZL()
if A[B1][Ah]
return 1
endif
if B5[B1][Ah]>=AH
return 1
endif
if B1
else
return 1
endif
if os
else
return 1
endif
if Ah<=1
return 1
endif
if pL<=1
return 1
endif
endfunc
func y5()
if A[w3][z1]
T=AT
U=Au
C=A[B1][Ah]
A[B1][Ah]=2|C
C=A[ED][F9]
A[ED][F9]=2|C
D=AM()
A[ED][F9]=C
A[B1][Ah]=C
if D<=0
SD=2
OY=x
VT=Au
Ty=AT
Qm=Ah
SZ=B1
Wq=-D
Y8=F9
Z2=ED
x=0
return 1
endif
elif A[Ck][D8]
T=AT
U=Au
C=A[B1][Ah]
A[B1][Ah]=2|C
C=A[ED][F9]
A[ED][F9]=2|C
D=AM()
A[ED][F9]=C
A[B1][Ah]=C
if D<=0
SD=2
OY=x
VT=Au
Ty=AT
Qm=Ah
SZ=B1
Wq=-D
Y8=F9
Z2=ED
x=0
return 1
endif
endif
endfunc
func xx()
if A[w3][z1]
if A[Ck][D8]
return B()
else
T=Ck
U=D8
C=A[B1][Ah]
A[B1][Ah]=2|C
C=A[ED][F9]
A[ED][F9]=2|C
D=AM()
A[ED][F9]=C
A[B1][Ah]=C
if D<=0
SD=2
OY=x
VT=D8
Ty=Ck
Qm=Ah
SZ=B1
Wq=-D
Y8=F9
Z2=ED
x=0
return 1
endif
endif
endif
endfunc
func AKj()
if A[AT][Au]
return 1
endif
if B5[AT][Au]>=AH
return 1
endif
if AT
else
return 1
endif
if oM
else
return 1
endif
if Au<=1
return 1
endif
if r2<=1
return 1
endif
endfunc
func uN()
if A[ACR][zw]
T=An
U=As
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ej][FK]
A[Ej][FK]=2|C
D=AM()
A[Ej][FK]=C
A[AT][Au]=C
if D<=0
T3=2
Oz=x
VM=As
UT=An
R9=Au
Rz=AT
WM=-D
Ye=FK
Y0=Ej
x=0
return 1
endif
elif A[Cx][D6]
T=An
U=As
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ej][FK]
A[Ej][FK]=2|C
D=AM()
A[Ej][FK]=C
A[AT][Au]=C
if D<=0
T3=2
Oz=x
VM=As
UT=An
R9=Au
Rz=AT
WM=-D
Ye=FK
Y0=Ej
x=0
return 1
endif
endif
endfunc
func te()
if A[ACR][zw]
if A[Cx][D6]
return B()
else
T=Cx
U=D6
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ej][FK]
A[Ej][FK]=2|C
D=AM()
A[Ej][FK]=C
A[AT][Au]=C
if D<=0
T3=2
Oz=x
VM=D6
UT=Cx
R9=Au
Rz=AT
WM=-D
Ye=FK
Y0=Ej
x=0
return 1
endif
endif
endif
endfunc
func AUN()
if A[An][As]
return 1
endif
if B5[An][As]>=AH
return 1
endif
if An
else
return 1
endif
if pY
else
return 1
endif
if As<=1
return 1
endif
if rZ<=1
return 1
endif
endfunc
func sR()
if A[ABt][xZ]
T=Az
U=Af
C=A[An][As]
A[An][As]=2|C
C=A[F7][Ep]
A[F7][Ep]=2|C
D=AM()
A[F7][Ep]=C
A[An][As]=C
if D<=0
SV=2
OV=x
Ur=Af
UM=Az
SH=As
RS=An
WF=-D
Yb=Ep
Xx=F7
x=0
return 1
endif
elif A[Cs][C_]
T=Az
U=Af
C=A[An][As]
A[An][As]=2|C
C=A[F7][Ep]
A[F7][Ep]=2|C
D=AM()
A[F7][Ep]=C
A[An][As]=C
if D<=0
SV=2
OV=x
Ur=Af
UM=Az
SH=As
RS=An
WF=-D
Yb=Ep
Xx=F7
x=0
return 1
endif
endif
endfunc
func sU()
if A[ABt][xZ]
if A[Cs][C_]
return B()
else
T=Cs
U=C_
C=A[An][As]
A[An][As]=2|C
C=A[F7][Ep]
A[F7][Ep]=2|C
D=AM()
A[F7][Ep]=C
A[An][As]=C
if D<=0
SV=2
OV=x
Ur=C_
UM=Cs
SH=As
RS=An
WF=-D
Yb=Ep
Xx=F7
x=0
return 1
endif
endif
endif
endfunc
func Ah3()
if A[Aq][Ac]
return 1
endif
if B5[Aq][Ac]>=AH
return 1
endif
if Aq
else
return 1
endif
if qz
else
return 1
endif
if Ac<=1
return 1
endif
if py<=1
return 1
endif
endfunc
func u1()
if A[uh][r8]
T=AS
U=AZ
C=A[Aq][Ac]
A[Aq][Ac]=2|C
C=A[EN][EH]
A[EN][EH]=2|C
D=AM()
A[EN][EH]=C
A[Aq][Ac]=C
if D<=0
Rb=2
Oh=x
TN=AZ
V8=AS
Rx=Ac
RU=Aq
Wn=-D
Xz=EH
X6=EN
x=0
return 1
endif
elif A[Ce][Cf]
T=AS
U=AZ
C=A[Aq][Ac]
A[Aq][Ac]=2|C
C=A[EN][EH]
A[EN][EH]=2|C
D=AM()
A[EN][EH]=C
A[Aq][Ac]=C
if D<=0
Rb=2
Oh=x
TN=AZ
V8=AS
Rx=Ac
RU=Aq
Wn=-D
Xz=EH
X6=EN
x=0
return 1
endif
endif
endfunc
func v2()
if A[uh][r8]
if A[Ce][Cf]
return B()
else
T=Ce
U=Cf
C=A[Aq][Ac]
A[Aq][Ac]=2|C
C=A[EN][EH]
A[EN][EH]=2|C
D=AM()
A[EN][EH]=C
A[Aq][Ac]=C
if D<=0
Rb=2
Oh=x
TN=Cf
V8=Ce
Rx=Ac
RU=Aq
Wn=-D
Xz=EH
X6=EN
x=0
return 1
endif
endif
endif
endfunc
func ASM()
if A[B1][Ah]
return 1
endif
if B5[B1][Ah]>=AH
return 1
endif
if B1
else
return 1
endif
if os
else
return 1
endif
if Ah<=1
return 1
endif
if pL<=1
return 1
endif
endfunc
func s6()
if A[A6K][q3]
T=Aq
U=Ac
C=A[B1][Ah]
A[B1][Ah]=2|C
C=A[EW][EA]
A[EW][EA]=2|C
D=AM()
A[EW][EA]=C
A[B1][Ah]=C
if D<=0
SB=2
Op=x
UZ=Ac
Tm=Aq
SE=Ah
Sx=B1
WX=-D
Yv=EA
XL=EW
x=0
return 1
endif
elif A[D4][Cj]
T=Aq
U=Ac
C=A[B1][Ah]
A[B1][Ah]=2|C
C=A[EW][EA]
A[EW][EA]=2|C
D=AM()
A[EW][EA]=C
A[B1][Ah]=C
if D<=0
SB=2
Op=x
UZ=Ac
Tm=Aq
SE=Ah
Sx=B1
WX=-D
Yv=EA
XL=EW
x=0
return 1
endif
endif
endfunc
func wK()
if A[A6K][q3]
if A[D4][Cj]
return B()
else
T=D4
U=Cj
C=A[B1][Ah]
A[B1][Ah]=2|C
C=A[EW][EA]
A[EW][EA]=2|C
D=AM()
A[EW][EA]=C
A[B1][Ah]=C
if D<=0
SB=2
Op=x
UZ=Cj
Tm=D4
SE=Ah
Sx=B1
WX=-D
Yv=EA
XL=EW
x=0
return 1
endif
endif
endif
endfunc
func AeD()
if A[AT][Au]
return 1
endif
if B5[AT][Au]>=AH
return 1
endif
if AT
else
return 1
endif
if oM
else
return 1
endif
if Au<=1
return 1
endif
if r2<=1
return 1
endif
endfunc
func ru()
if A[A08][tO]
T=B1
U=Ah
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Et][En]
A[Et][En]=2|C
D=AM()
A[Et][En]=C
A[AT][Au]=C
if D<=0
RL=2
OT=x
Tc=Ah
UL=B1
T0=Au
Qq=AT
W1=-D
Xk=En
Xn=Et
x=0
return 1
endif
elif A[Cw][Cu]
T=B1
U=Ah
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Et][En]
A[Et][En]=2|C
D=AM()
A[Et][En]=C
A[AT][Au]=C
if D<=0
RL=2
OT=x
Tc=Ah
UL=B1
T0=Au
Qq=AT
W1=-D
Xk=En
Xn=Et
x=0
return 1
endif
endif
endfunc
func uW()
if A[A08][tO]
if A[Cw][Cu]
return B()
else
T=Cw
U=Cu
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Et][En]
A[Et][En]=2|C
D=AM()
A[Et][En]=C
A[AT][Au]=C
if D<=0
RL=2
OT=x
Tc=Cu
UL=Cw
T0=Au
Qq=AT
W1=-D
Xk=En
Xn=Et
x=0
return 1
endif
endif
endif
endfunc
func AR2()
if A[An][As]
return 1
endif
if B5[An][As]>=AH
return 1
endif
if An
else
return 1
endif
if pY
else
return 1
endif
if As<=1
return 1
endif
if rZ<=1
return 1
endif
endfunc
func vS()
if A[x2][AD8]
T=AT
U=Au
C=A[An][As]
A[An][As]=2|C
C=A[E7][FD]
A[E7][FD]=2|C
D=AM()
A[E7][FD]=C
A[An][As]=C
if D<=0
Ss=2
P9=x
UF=Au
Uc=AT
Sk=As
T2=An
Vw=-D
Yh=FD
Xv=E7
x=0
return 1
endif
elif A[Ck][D8]
T=AT
U=Au
C=A[An][As]
A[An][As]=2|C
C=A[E7][FD]
A[E7][FD]=2|C
D=AM()
A[E7][FD]=C
A[An][As]=C
if D<=0
Ss=2
P9=x
UF=Au
Uc=AT
Sk=As
T2=An
Vw=-D
Yh=FD
Xv=E7
x=0
return 1
endif
endif
endfunc
func yD()
if A[x2][AD8]
if A[Ck][D8]
return B()
else
T=Ck
U=D8
C=A[An][As]
A[An][As]=2|C
C=A[E7][FD]
A[E7][FD]=2|C
D=AM()
A[E7][FD]=C
A[An][As]=C
if D<=0
Ss=2
P9=x
UF=D8
Uc=Ck
Sk=As
T2=An
Vw=-D
Yh=FD
Xv=E7
x=0
return 1
endif
endif
endif
endfunc
func Akx()
if A[Az][Af]
return 1
endif
if B5[Az][Af]>=AH
return 1
endif
if Az
else
return 1
endif
if rK
else
return 1
endif
if Af<=1
return 1
endif
if on<=1
return 1
endif
endfunc
func wS()
if A[AAS][A0s]
T=An
U=As
C=A[Az][Af]
A[Az][Af]=2|C
C=A[EX][FL]
A[EX][FL]=2|C
D=AM()
A[EX][FL]=C
A[Az][Af]=C
if D<=0
Sm=2
Ox=x
Ux=As
UR=An
Sb=Af
RE=Az
We=-D
YW=FL
XE=EX
x=0
return 1
endif
elif A[Cx][D6]
T=An
U=As
C=A[Az][Af]
A[Az][Af]=2|C
C=A[EX][FL]
A[EX][FL]=2|C
D=AM()
A[EX][FL]=C
A[Az][Af]=C
if D<=0
Sm=2
Ox=x
Ux=As
UR=An
Sb=Af
RE=Az
We=-D
YW=FL
XE=EX
x=0
return 1
endif
endif
endfunc
func vB()
if A[AAS][A0s]
if A[Cx][D6]
return B()
else
T=Cx
U=D6
C=A[Az][Af]
A[Az][Af]=2|C
C=A[EX][FL]
A[EX][FL]=2|C
D=AM()
A[EX][FL]=C
A[Az][Af]=C
if D<=0
Sm=2
Ox=x
Ux=D6
UR=Cx
Sb=Af
RE=Az
We=-D
YW=FL
XE=EX
x=0
return 1
endif
endif
endif
endfunc
func AS3()
if A[AS][AZ]
return 1
endif
if B5[AS][AZ]>=AH
return 1
endif
if AS
else
return 1
endif
if pd
else
return 1
endif
if AZ<=1
return 1
endif
if pS<=1
return 1
endif
endfunc
func s1()
if A[ADk][sF]
T=Az
U=Af
C=A[AS][AZ]
A[AS][AZ]=2|C
C=A[Ea][Er]
A[Ea][Er]=2|C
D=AM()
A[Ea][Er]=C
A[AS][AZ]=C
if D<=0
SN=2
OZ=x
TX=Af
TW=Az
Qz=AZ
Qf=AS
Vo=-D
Yt=Er
Xl=Ea
x=0
return 1
endif
elif A[Cs][C_]
T=Az
U=Af
C=A[AS][AZ]
A[AS][AZ]=2|C
C=A[Ea][Er]
A[Ea][Er]=2|C
D=AM()
A[Ea][Er]=C
A[AS][AZ]=C
if D<=0
SN=2
OZ=x
TX=Af
TW=Az
Qz=AZ
Qf=AS
Vo=-D
Yt=Er
Xl=Ea
x=0
return 1
endif
endif
endfunc
func wy()
if A[ADk][sF]
if A[Cs][C_]
return B()
else
T=Cs
U=C_
C=A[AS][AZ]
A[AS][AZ]=2|C
C=A[Ea][Er]
A[Ea][Er]=2|C
D=AM()
A[Ea][Er]=C
A[AS][AZ]=C
if D<=0
SN=2
OZ=x
TX=C_
TW=Cs
Qz=AZ
Qf=AS
Vo=-D
Yt=Er
Xl=Ea
x=0
return 1
endif
endif
endif
endfunc
func B77()
if A[AW][AY]
return B()
endif
CO=B5[AW][AY]
if CO>=AH
return B()
endif
if AW
else
return B()
endif
if px
else
return B()
endif
if AY<=1
return B()
endif
if pT<=1
return B()
endif
if A[Co][Cp]
if A[ER][EF]
else
A5=Ay
A6=Am
T=ER
U=EF
C=A[Ay][Am]
A[Ay][Am]=2|C
D=AN()
A[Ay][Am]=C
if D<=0
Hl=1
hN=v
eB=EF
kn=ER
v=0
endif
endif
endif
Hl=0
hN=0
eB=AY
kn=AW
if A[Jn][KB]
return B()
elif Hl
if Hl==1
A5=Jn
A6=KB
T=AW
U=AY
C=A[Jn][KB]
A[Jn][KB]=2|C
D=AN()
A[Jn][KB]=C
if D>0
Hl=0
else
hN=v
eB=AY
kn=AW
v=0
endif
else
Hl=0
endif
return B()
endif
if A[F5][Ec]
if Hl
else
Hl=1
endif
elif Hl
if Hl==1
A5=Jn
A6=KB
T=AW
U=AY
C=A[Jn][KB]
A[Jn][KB]=2|C
D=AN()
A[Jn][KB]=C
if D>0
Hl=0
else
hN=v
eB=AY
kn=AW
v=0
endif
else
Hl=0
endif
return B()
endif
if A[Cc][Cd]
if Hl
else
Hl=2
endif
elif Hl
if Hl==1
A5=Jn
A6=KB
T=AW
U=AY
C=A[Jn][KB]
A[Jn][KB]=2|C
D=AN()
A[Jn][KB]=C
if D>0
Hl=0
else
hN=v
eB=AY
kn=AW
v=0
endif
else
Hl=0
endif
return B()
endif
if A[Eq][EO]
if Hl
else
Hl=3
endif
elif Hl
if Hl==1
A5=Jn
A6=KB
T=AW
U=AY
C=A[Jn][KB]
A[Jn][KB]=2|C
D=AN()
A[Jn][KB]=C
if D>0
Hl=0
else
hN=v
eB=AY
kn=AW
v=0
endif
else
Hl=0
endif
return B()
endif
if A[JR][JC]
if Hl
else
Hl=4
endif
elif Hl
if Hl==1
A5=Jn
A6=KB
T=AW
U=AY
C=A[Jn][KB]
A[Jn][KB]=2|C
D=AN()
A[Jn][KB]=C
if D>0
Hl=0
else
hN=v
eB=AY
kn=AW
v=0
endif
else
Hl=0
endif
return B()
endif
if Hl
else
Hl=5
endif
endfunc
func Au2()
if A[Ar][Ad]
return B()
endif
CO=B5[Ar][Ad]
if CO>=AH
return B()
endif
if Ar
else
return B()
endif
if r4
else
return B()
endif
if Ad<=1
return B()
endif
if ox<=1
return B()
endif
if A[Cc][Cd]
if A[Eq][EO]
else
A5=AW
A6=AY
T=Eq
U=EO
C=A[AW][AY]
A[AW][AY]=2|C
D=AN()
A[AW][AY]=C
if D<=0
Hv=1
j0=v
h0=EO
fZ=Eq
v=0
endif
endif
endif
Hv=0
j0=0
h0=Ad
fZ=Ar
if A[Hd][Ho]
return B()
elif Hv
if Hv==1
A5=Hd
A6=Ho
T=Ar
U=Ad
C=A[Hd][Ho]
A[Hd][Ho]=2|C
D=AN()
A[Hd][Ho]=C
if D>0
Hv=0
else
j0=v
h0=Ad
fZ=Ar
v=0
endif
else
Hv=0
endif
return B()
endif
if A[EU][EC]
if Hv
else
Hv=1
endif
elif Hv
if Hv==1
A5=Hd
A6=Ho
T=Ar
U=Ad
C=A[Hd][Ho]
A[Hd][Ho]=2|C
D=AN()
A[Hd][Ho]=C
if D>0
Hv=0
else
j0=v
h0=Ad
fZ=Ar
v=0
endif
else
Hv=0
endif
return B()
endif
if A[Cr][Ch]
if Hv
else
Hv=2
endif
elif Hv
if Hv==1
A5=Hd
A6=Ho
T=Ar
U=Ad
C=A[Hd][Ho]
A[Hd][Ho]=2|C
D=AN()
A[Hd][Ho]=C
if D>0
Hv=0
else
j0=v
h0=Ad
fZ=Ar
v=0
endif
else
Hv=0
endif
return B()
endif
if A[Eb][Ew]
if Hv
else
Hv=3
endif
elif Hv
if Hv==1
A5=Hd
A6=Ho
T=Ar
U=Ad
C=A[Hd][Ho]
A[Hd][Ho]=2|C
D=AN()
A[Hd][Ho]=C
if D>0
Hv=0
else
j0=v
h0=Ad
fZ=Ar
v=0
endif
else
Hv=0
endif
return B()
endif
if A[Fx][KN]
if Hv
else
Hv=4
endif
elif Hv
if Hv==1
A5=Hd
A6=Ho
T=Ar
U=Ad
C=A[Hd][Ho]
A[Hd][Ho]=2|C
D=AN()
A[Hd][Ho]=C
if D>0
Hv=0
else
j0=v
h0=Ad
fZ=Ar
v=0
endif
else
Hv=0
endif
return B()
endif
if Hv
else
Hv=5
endif
endfunc
func ArX()
if A[B0][Ak]
return B()
endif
CO=B5[B0][Ak]
if CO>=AH
return B()
endif
if B0
else
return B()
endif
if pX
else
return B()
endif
if Ak<=1
return B()
endif
if oc<=1
return B()
endif
if A[Cr][Ch]
if A[Eb][Ew]
else
A5=Ar
A6=Ad
T=Eb
U=Ew
C=A[Ar][Ad]
A[Ar][Ad]=2|C
D=AN()
A[Ar][Ad]=C
if D<=0
He=1
hZ=v
h9=Ew
dz=Eb
v=0
endif
endif
endif
He=0
hZ=0
h9=Ak
dz=B0
if A[HH][Fq]
return B()
elif He
if He==1
A5=HH
A6=Fq
T=B0
U=Ak
C=A[HH][Fq]
A[HH][Fq]=2|C
D=AN()
A[HH][Fq]=C
if D>0
He=0
else
hZ=v
h9=Ak
dz=B0
v=0
endif
else
He=0
endif
return B()
endif
if A[F1][ET]
if He
else
He=1
endif
elif He
if He==1
A5=HH
A6=Fq
T=B0
U=Ak
C=A[HH][Fq]
A[HH][Fq]=2|C
D=AN()
A[HH][Fq]=C
if D>0
He=0
else
hZ=v
h9=Ak
dz=B0
v=0
endif
else
He=0
endif
return B()
endif
if A[Cv][Cq]
if He
else
He=2
endif
elif He
if He==1
A5=HH
A6=Fq
T=B0
U=Ak
C=A[HH][Fq]
A[HH][Fq]=2|C
D=AN()
A[HH][Fq]=C
if D>0
He=0
else
hZ=v
h9=Ak
dz=B0
v=0
endif
else
He=0
endif
return B()
endif
if A[E6][FA]
if He
else
He=3
endif
elif He
if He==1
A5=HH
A6=Fq
T=B0
U=Ak
C=A[HH][Fq]
A[HH][Fq]=2|C
D=AN()
A[HH][Fq]=C
if D>0
He=0
else
hZ=v
h9=Ak
dz=B0
v=0
endif
else
He=0
endif
return B()
endif
if A[J6][KH]
if He
else
He=4
endif
elif He
if He==1
A5=HH
A6=Fq
T=B0
U=Ak
C=A[HH][Fq]
A[HH][Fq]=2|C
D=AN()
A[HH][Fq]=C
if D>0
He=0
else
hZ=v
h9=Ak
dz=B0
v=0
endif
else
He=0
endif
return B()
endif
if He
else
He=5
endif
endfunc
func Ayp()
if A[AU][At]
return B()
endif
CO=B5[AU][At]
if CO>=AH
return B()
endif
if AU
else
return B()
endif
if o7
else
return B()
endif
if At<=1
return B()
endif
if q_<=1
return B()
endif
if A[Cv][Cq]
if A[E6][FA]
else
A5=B0
A6=Ak
T=E6
U=FA
C=A[B0][Ak]
A[B0][Ak]=2|C
D=AN()
A[B0][Ak]=C
if D<=0
J4=1
h4=v
fO=FA
kJ=E6
v=0
endif
endif
endif
J4=0
h4=0
fO=At
kJ=AU
if A[HZ][F_]
return B()
elif J4
if J4==1
A5=HZ
A6=F_
T=AU
U=At
C=A[HZ][F_]
A[HZ][F_]=2|C
D=AN()
A[HZ][F_]=C
if D>0
J4=0
else
h4=v
fO=At
kJ=AU
v=0
endif
else
J4=0
endif
return B()
endif
if A[EZ][Eu]
if J4
else
J4=1
endif
elif J4
if J4==1
A5=HZ
A6=F_
T=AU
U=At
C=A[HZ][F_]
A[HZ][F_]=2|C
D=AN()
A[HZ][F_]=C
if D>0
J4=0
else
h4=v
fO=At
kJ=AU
v=0
endif
else
J4=0
endif
return B()
endif
if A[Cm][D9]
if J4
else
J4=2
endif
elif J4
if J4==1
A5=HZ
A6=F_
T=AU
U=At
C=A[HZ][F_]
A[HZ][F_]=2|C
D=AN()
A[HZ][F_]=C
if D>0
J4=0
else
h4=v
fO=At
kJ=AU
v=0
endif
else
J4=0
endif
return B()
endif
if A[Ey][FJ]
if J4
else
J4=3
endif
elif J4
if J4==1
A5=HZ
A6=F_
T=AU
U=At
C=A[HZ][F_]
A[HZ][F_]=2|C
D=AN()
A[HZ][F_]=C
if D>0
J4=0
else
h4=v
fO=At
kJ=AU
v=0
endif
else
J4=0
endif
return B()
endif
if A[Jf][Hx]
if J4
else
J4=4
endif
elif J4
if J4==1
A5=HZ
A6=F_
T=AU
U=At
C=A[HZ][F_]
A[HZ][F_]=2|C
D=AN()
A[HZ][F_]=C
if D>0
J4=0
else
h4=v
fO=At
kJ=AU
v=0
endif
else
J4=0
endif
return B()
endif
if J4
else
J4=5
endif
endfunc
func Ayw()
if A[Aj][Aw]
return B()
endif
CO=B5[Aj][Aw]
if CO>=AH
return B()
endif
if Aj
else
return B()
endif
if p5
else
return B()
endif
if Aw<=1
return B()
endif
if oa<=1
return B()
endif
if A[Cm][D9]
if A[Ey][FJ]
else
A5=AU
A6=At
T=Ey
U=FJ
C=A[AU][At]
A[AU][At]=2|C
D=AN()
A[AU][At]=C
if D<=0
Je=1
dO=v
j2=FJ
kq=Ey
v=0
endif
endif
endif
Je=0
dO=0
j2=Aw
kq=Aj
if A[J8][JF]
return B()
elif Je
if Je==1
A5=J8
A6=JF
T=Aj
U=Aw
C=A[J8][JF]
A[J8][JF]=2|C
D=AN()
A[J8][JF]=C
if D>0
Je=0
else
dO=v
j2=Aw
kq=Aj
v=0
endif
else
Je=0
endif
return B()
endif
if A[EM][F8]
if Je
else
Je=1
endif
elif Je
if Je==1
A5=J8
A6=JF
T=Aj
U=Aw
C=A[J8][JF]
A[J8][JF]=2|C
D=AN()
A[J8][JF]=C
if D>0
Je=0
else
dO=v
j2=Aw
kq=Aj
v=0
endif
else
Je=0
endif
return B()
endif
if A[Cz][DA]
if Je
else
Je=2
endif
elif Je
if Je==1
A5=J8
A6=JF
T=Aj
U=Aw
C=A[J8][JF]
A[J8][JF]=2|C
D=AN()
A[J8][JF]=C
if D>0
Je=0
else
dO=v
j2=Aw
kq=Aj
v=0
endif
else
Je=0
endif
return B()
endif
if A[F0][El]
if Je
else
Je=3
endif
elif Je
if Je==1
A5=J8
A6=JF
T=Aj
U=Aw
C=A[J8][JF]
A[J8][JF]=2|C
D=AN()
A[J8][JF]=C
if D>0
Je=0
else
dO=v
j2=Aw
kq=Aj
v=0
endif
else
Je=0
endif
return B()
endif
if A[Ft][Fs]
if Je
else
Je=4
endif
elif Je
if Je==1
A5=J8
A6=JF
T=Aj
U=Aw
C=A[J8][JF]
A[J8][JF]=2|C
D=AN()
A[J8][JF]=C
if D>0
Je=0
else
dO=v
j2=Aw
kq=Aj
v=0
endif
else
Je=0
endif
return B()
endif
if Je
else
Je=5
endif
endfunc
func AyC()
if A[Ay][Am]
return B()
endif
CO=B5[Ay][Am]
if CO>=AH
return B()
endif
if Ay
else
return B()
endif
if qS
else
return B()
endif
if Am<=1
return B()
endif
if pO<=1
return B()
endif
if A[Cz][DA]
if A[F0][El]
else
A5=Aj
A6=Aw
T=F0
U=El
C=A[Aj][Aw]
A[Aj][Aw]=2|C
D=AN()
A[Aj][Aw]=C
if D<=0
Hz=1
ju=v
et=El
ke=F0
v=0
endif
endif
endif
Hz=0
ju=0
et=Am
ke=Ay
if A[Fy][KD]
return B()
elif Hz
if Hz==1
A5=Fy
A6=KD
T=Ay
U=Am
C=A[Fy][KD]
A[Fy][KD]=2|C
D=AN()
A[Fy][KD]=C
if D>0
Hz=0
else
ju=v
et=Am
ke=Ay
v=0
endif
else
Hz=0
endif
return B()
endif
if A[Ee][FR]
if Hz
else
Hz=1
endif
elif Hz
if Hz==1
A5=Fy
A6=KD
T=Ay
U=Am
C=A[Fy][KD]
A[Fy][KD]=2|C
D=AN()
A[Fy][KD]=C
if D>0
Hz=0
else
ju=v
et=Am
ke=Ay
v=0
endif
else
Hz=0
endif
return B()
endif
if A[Co][Cp]
if Hz
else
Hz=2
endif
elif Hz
if Hz==1
A5=Fy
A6=KD
T=Ay
U=Am
C=A[Fy][KD]
A[Fy][KD]=2|C
D=AN()
A[Fy][KD]=C
if D>0
Hz=0
else
ju=v
et=Am
ke=Ay
v=0
endif
else
Hz=0
endif
return B()
endif
if A[ER][EF]
if Hz
else
Hz=3
endif
elif Hz
if Hz==1
A5=Fy
A6=KD
T=Ay
U=Am
C=A[Fy][KD]
A[Fy][KD]=2|C
D=AN()
A[Fy][KD]=C
if D>0
Hz=0
else
ju=v
et=Am
ke=Ay
v=0
endif
else
Hz=0
endif
return B()
endif
if A[JN][H6]
if Hz
else
Hz=4
endif
elif Hz
if Hz==1
A5=Fy
A6=KD
T=Ay
U=Am
C=A[Fy][KD]
A[Fy][KD]=2|C
D=AN()
A[Fy][KD]=C
if D>0
Hz=0
else
ju=v
et=Am
ke=Ay
v=0
endif
else
Hz=0
endif
return B()
endif
if Hz
else
Hz=5
endif
endfunc
func B3P()
if A[AW][AY]
return B()
endif
CO=B5[AW][AY]
if CO>=AH
return B()
endif
if AW
else
return B()
endif
if px
else
return B()
endif
if AY<=1
return B()
endif
if pT<=1
return B()
endif
if A[Cr][Ch]
if A[EU][EC]
else
A5=Ar
A6=Ad
T=EU
U=EC
C=A[Ar][Ad]
A[Ar][Ad]=2|C
D=AN()
A[Ar][Ad]=C
if D<=0
HT=1
jV=v
es=EC
dW=EU
v=0
endif
endif
endif
HT=0
jV=0
es=AY
dW=AW
if A[JR][JC]
return B()
elif HT
if HT==1
A5=JR
A6=JC
T=AW
U=AY
C=A[JR][JC]
A[JR][JC]=2|C
D=AN()
A[JR][JC]=C
if D>0
HT=0
else
jV=v
es=AY
dW=AW
v=0
endif
else
HT=0
endif
return B()
endif
if A[Eq][EO]
if HT
else
HT=1
endif
elif HT
if HT==1
A5=JR
A6=JC
T=AW
U=AY
C=A[JR][JC]
A[JR][JC]=2|C
D=AN()
A[JR][JC]=C
if D>0
HT=0
else
jV=v
es=AY
dW=AW
v=0
endif
else
HT=0
endif
return B()
endif
if A[Cc][Cd]
if HT
else
HT=2
endif
elif HT
if HT==1
A5=JR
A6=JC
T=AW
U=AY
C=A[JR][JC]
A[JR][JC]=2|C
D=AN()
A[JR][JC]=C
if D>0
HT=0
else
jV=v
es=AY
dW=AW
v=0
endif
else
HT=0
endif
return B()
endif
if A[F5][Ec]
if HT
else
HT=3
endif
elif HT
if HT==1
A5=JR
A6=JC
T=AW
U=AY
C=A[JR][JC]
A[JR][JC]=2|C
D=AN()
A[JR][JC]=C
if D>0
HT=0
else
jV=v
es=AY
dW=AW
v=0
endif
else
HT=0
endif
return B()
endif
if A[Jn][KB]
if HT
else
HT=4
endif
elif HT
if HT==1
A5=JR
A6=JC
T=AW
U=AY
C=A[JR][JC]
A[JR][JC]=2|C
D=AN()
A[JR][JC]=C
if D>0
HT=0
else
jV=v
es=AY
dW=AW
v=0
endif
else
HT=0
endif
return B()
endif
if HT
else
HT=5
endif
endfunc
func B4j()
if A[Ar][Ad]
return B()
endif
CO=B5[Ar][Ad]
if CO>=AH
return B()
endif
if Ar
else
return B()
endif
if r4
else
return B()
endif
if Ad<=1
return B()
endif
if ox<=1
return B()
endif
if A[Cv][Cq]
if A[F1][ET]
else
A5=B0
A6=Ak
T=F1
U=ET
C=A[B0][Ak]
A[B0][Ak]=2|C
D=AN()
A[B0][Ak]=C
if D<=0
HS=1
ff=v
hf=ET
hD=F1
v=0
endif
endif
endif
HS=0
ff=0
hf=Ad
hD=Ar
if A[Fx][KN]
return B()
elif HS
if HS==1
A5=Fx
A6=KN
T=Ar
U=Ad
C=A[Fx][KN]
A[Fx][KN]=2|C
D=AN()
A[Fx][KN]=C
if D>0
HS=0
else
ff=v
hf=Ad
hD=Ar
v=0
endif
else
HS=0
endif
return B()
endif
if A[Eb][Ew]
if HS
else
HS=1
endif
elif HS
if HS==1
A5=Fx
A6=KN
T=Ar
U=Ad
C=A[Fx][KN]
A[Fx][KN]=2|C
D=AN()
A[Fx][KN]=C
if D>0
HS=0
else
ff=v
hf=Ad
hD=Ar
v=0
endif
else
HS=0
endif
return B()
endif
if A[Cr][Ch]
if HS
else
HS=2
endif
elif HS
if HS==1
A5=Fx
A6=KN
T=Ar
U=Ad
C=A[Fx][KN]
A[Fx][KN]=2|C
D=AN()
A[Fx][KN]=C
if D>0
HS=0
else
ff=v
hf=Ad
hD=Ar
v=0
endif
else
HS=0
endif
return B()
endif
if A[EU][EC]
if HS
else
HS=3
endif
elif HS
if HS==1
A5=Fx
A6=KN
T=Ar
U=Ad
C=A[Fx][KN]
A[Fx][KN]=2|C
D=AN()
A[Fx][KN]=C
if D>0
HS=0
else
ff=v
hf=Ad
hD=Ar
v=0
endif
else
HS=0
endif
return B()
endif
if A[Hd][Ho]
if HS
else
HS=4
endif
elif HS
if HS==1
A5=Fx
A6=KN
T=Ar
U=Ad
C=A[Fx][KN]
A[Fx][KN]=2|C
D=AN()
A[Fx][KN]=C
if D>0
HS=0
else
ff=v
hf=Ad
hD=Ar
v=0
endif
else
HS=0
endif
return B()
endif
if HS
else
HS=5
endif
endfunc
func B7e()
if A[B0][Ak]
return B()
endif
CO=B5[B0][Ak]
if CO>=AH
return B()
endif
if B0
else
return B()
endif
if pX
else
return B()
endif
if Ak<=1
return B()
endif
if oc<=1
return B()
endif
if A[Cm][D9]
if A[EZ][Eu]
else
A5=AU
A6=At
T=EZ
U=Eu
C=A[AU][At]
A[AU][At]=2|C
D=AN()
A[AU][At]=C
if D<=0
Hc=1
eA=v
jK=Eu
kv=EZ
v=0
endif
endif
endif
Hc=0
eA=0
jK=Ak
kv=B0
if A[J6][KH]
return B()
elif Hc
if Hc==1
A5=J6
A6=KH
T=B0
U=Ak
C=A[J6][KH]
A[J6][KH]=2|C
D=AN()
A[J6][KH]=C
if D>0
Hc=0
else
eA=v
jK=Ak
kv=B0
v=0
endif
else
Hc=0
endif
return B()
endif
if A[E6][FA]
if Hc
else
Hc=1
endif
elif Hc
if Hc==1
A5=J6
A6=KH
T=B0
U=Ak
C=A[J6][KH]
A[J6][KH]=2|C
D=AN()
A[J6][KH]=C
if D>0
Hc=0
else
eA=v
jK=Ak
kv=B0
v=0
endif
else
Hc=0
endif
return B()
endif
if A[Cv][Cq]
if Hc
else
Hc=2
endif
elif Hc
if Hc==1
A5=J6
A6=KH
T=B0
U=Ak
C=A[J6][KH]
A[J6][KH]=2|C
D=AN()
A[J6][KH]=C
if D>0
Hc=0
else
eA=v
jK=Ak
kv=B0
v=0
endif
else
Hc=0
endif
return B()
endif
if A[F1][ET]
if Hc
else
Hc=3
endif
elif Hc
if Hc==1
A5=J6
A6=KH
T=B0
U=Ak
C=A[J6][KH]
A[J6][KH]=2|C
D=AN()
A[J6][KH]=C
if D>0
Hc=0
else
eA=v
jK=Ak
kv=B0
v=0
endif
else
Hc=0
endif
return B()
endif
if A[HH][Fq]
if Hc
else
Hc=4
endif
elif Hc
if Hc==1
A5=J6
A6=KH
T=B0
U=Ak
C=A[J6][KH]
A[J6][KH]=2|C
D=AN()
A[J6][KH]=C
if D>0
Hc=0
else
eA=v
jK=Ak
kv=B0
v=0
endif
else
Hc=0
endif
return B()
endif
if Hc
else
Hc=5
endif
endfunc
func B36()
if A[AU][At]
return B()
endif
CO=B5[AU][At]
if CO>=AH
return B()
endif
if AU
else
return B()
endif
if o7
else
return B()
endif
if At<=1
return B()
endif
if q_<=1
return B()
endif
if A[Cz][DA]
if A[EM][F8]
else
A5=Aj
A6=Aw
T=EM
U=F8
C=A[Aj][Aw]
A[Aj][Aw]=2|C
D=AN()
A[Aj][Aw]=C
if D<=0
HM=1
hP=v
j3=F8
dc=EM
v=0
endif
endif
endif
HM=0
hP=0
j3=At
dc=AU
if A[Jf][Hx]
return B()
elif HM
if HM==1
A5=Jf
A6=Hx
T=AU
U=At
C=A[Jf][Hx]
A[Jf][Hx]=2|C
D=AN()
A[Jf][Hx]=C
if D>0
HM=0
else
hP=v
j3=At
dc=AU
v=0
endif
else
HM=0
endif
return B()
endif
if A[Ey][FJ]
if HM
else
HM=1
endif
elif HM
if HM==1
A5=Jf
A6=Hx
T=AU
U=At
C=A[Jf][Hx]
A[Jf][Hx]=2|C
D=AN()
A[Jf][Hx]=C
if D>0
HM=0
else
hP=v
j3=At
dc=AU
v=0
endif
else
HM=0
endif
return B()
endif
if A[Cm][D9]
if HM
else
HM=2
endif
elif HM
if HM==1
A5=Jf
A6=Hx
T=AU
U=At
C=A[Jf][Hx]
A[Jf][Hx]=2|C
D=AN()
A[Jf][Hx]=C
if D>0
HM=0
else
hP=v
j3=At
dc=AU
v=0
endif
else
HM=0
endif
return B()
endif
if A[EZ][Eu]
if HM
else
HM=3
endif
elif HM
if HM==1
A5=Jf
A6=Hx
T=AU
U=At
C=A[Jf][Hx]
A[Jf][Hx]=2|C
D=AN()
A[Jf][Hx]=C
if D>0
HM=0
else
hP=v
j3=At
dc=AU
v=0
endif
else
HM=0
endif
return B()
endif
if A[HZ][F_]
if HM
else
HM=4
endif
elif HM
if HM==1
A5=Jf
A6=Hx
T=AU
U=At
C=A[Jf][Hx]
A[Jf][Hx]=2|C
D=AN()
A[Jf][Hx]=C
if D>0
HM=0
else
hP=v
j3=At
dc=AU
v=0
endif
else
HM=0
endif
return B()
endif
if HM
else
HM=5
endif
endfunc
func B58()
if A[Aj][Aw]
return B()
endif
CO=B5[Aj][Aw]
if CO>=AH
return B()
endif
if Aj
else
return B()
endif
if p5
else
return B()
endif
if Aw<=1
return B()
endif
if oa<=1
return B()
endif
if A[Co][Cp]
if A[Ee][FR]
else
A5=Ay
A6=Am
T=Ee
U=FR
C=A[Ay][Am]
A[Ay][Am]=2|C
D=AN()
A[Ay][Am]=C
if D<=0
HW=1
kw=v
kb=FR
dv=Ee
v=0
endif
endif
endif
HW=0
kw=0
kb=Aw
dv=Aj
if A[Ft][Fs]
return B()
elif HW
if HW==1
A5=Ft
A6=Fs
T=Aj
U=Aw
C=A[Ft][Fs]
A[Ft][Fs]=2|C
D=AN()
A[Ft][Fs]=C
if D>0
HW=0
else
kw=v
kb=Aw
dv=Aj
v=0
endif
else
HW=0
endif
return B()
endif
if A[F0][El]
if HW
else
HW=1
endif
elif HW
if HW==1
A5=Ft
A6=Fs
T=Aj
U=Aw
C=A[Ft][Fs]
A[Ft][Fs]=2|C
D=AN()
A[Ft][Fs]=C
if D>0
HW=0
else
kw=v
kb=Aw
dv=Aj
v=0
endif
else
HW=0
endif
return B()
endif
if A[Cz][DA]
if HW
else
HW=2
endif
elif HW
if HW==1
A5=Ft
A6=Fs
T=Aj
U=Aw
C=A[Ft][Fs]
A[Ft][Fs]=2|C
D=AN()
A[Ft][Fs]=C
if D>0
HW=0
else
kw=v
kb=Aw
dv=Aj
v=0
endif
else
HW=0
endif
return B()
endif
if A[EM][F8]
if HW
else
HW=3
endif
elif HW
if HW==1
A5=Ft
A6=Fs
T=Aj
U=Aw
C=A[Ft][Fs]
A[Ft][Fs]=2|C
D=AN()
A[Ft][Fs]=C
if D>0
HW=0
else
kw=v
kb=Aw
dv=Aj
v=0
endif
else
HW=0
endif
return B()
endif
if A[J8][JF]
if HW
else
HW=4
endif
elif HW
if HW==1
A5=Ft
A6=Fs
T=Aj
U=Aw
C=A[Ft][Fs]
A[Ft][Fs]=2|C
D=AN()
A[Ft][Fs]=C
if D>0
HW=0
else
kw=v
kb=Aw
dv=Aj
v=0
endif
else
HW=0
endif
return B()
endif
if HW
else
HW=5
endif
endfunc
func B8p()
if A[Ay][Am]
return B()
endif
CO=B5[Ay][Am]
if CO>=AH
return B()
endif
if Ay
else
return B()
endif
if qS
else
return B()
endif
if Am<=1
return B()
endif
if pO<=1
return B()
endif
if A[Cc][Cd]
if A[F5][Ec]
else
A5=AW
A6=AY
T=F5
U=Ec
C=A[AW][AY]
A[AW][AY]=2|C
D=AN()
A[AW][AY]=C
if D<=0
K0=1
kY=v
fH=Ec
fP=F5
v=0
endif
endif
endif
K0=0
kY=0
fH=Am
fP=Ay
if A[JN][H6]
return B()
elif K0
if K0==1
A5=JN
A6=H6
T=Ay
U=Am
C=A[JN][H6]
A[JN][H6]=2|C
D=AN()
A[JN][H6]=C
if D>0
K0=0
else
kY=v
fH=Am
fP=Ay
v=0
endif
else
K0=0
endif
return B()
endif
if A[ER][EF]
if K0
else
K0=1
endif
elif K0
if K0==1
A5=JN
A6=H6
T=Ay
U=Am
C=A[JN][H6]
A[JN][H6]=2|C
D=AN()
A[JN][H6]=C
if D>0
K0=0
else
kY=v
fH=Am
fP=Ay
v=0
endif
else
K0=0
endif
return B()
endif
if A[Co][Cp]
if K0
else
K0=2
endif
elif K0
if K0==1
A5=JN
A6=H6
T=Ay
U=Am
C=A[JN][H6]
A[JN][H6]=2|C
D=AN()
A[JN][H6]=C
if D>0
K0=0
else
kY=v
fH=Am
fP=Ay
v=0
endif
else
K0=0
endif
return B()
endif
if A[Ee][FR]
if K0
else
K0=3
endif
elif K0
if K0==1
A5=JN
A6=H6
T=Ay
U=Am
C=A[JN][H6]
A[JN][H6]=2|C
D=AN()
A[JN][H6]=C
if D>0
K0=0
else
kY=v
fH=Am
fP=Ay
v=0
endif
else
K0=0
endif
return B()
endif
if A[Fy][KD]
if K0
else
K0=4
endif
elif K0
if K0==1
A5=JN
A6=H6
T=Ay
U=Am
C=A[JN][H6]
A[JN][H6]=2|C
D=AN()
A[JN][H6]=C
if D>0
K0=0
else
kY=v
fH=Am
fP=Ay
v=0
endif
else
K0=0
endif
return B()
endif
if K0
else
K0=5
endif
endfunc
func Awb()
if A[AX][Aa]
return B()
endif
CO=B5[AX][Aa]
if CO>=AH
return B()
endif
if AX
else
return B()
endif
if pk
else
return B()
endif
if Aa<=1
return B()
endif
if rH<=1
return B()
endif
if A[D0][D3]
if A[E9][EV]
else
A5=A_
A6=Ae
T=E9
U=EV
C=A[A_][Ae]
A[A_][Ae]=2|C
D=AL()
A[A_][Ae]=C
if D<=0
HN=1
hj=w
eu=EV
jO=E9
w=0
endif
endif
endif
HN=0
hj=0
eu=Aa
jO=AX
if A[JU][KM]
return B()
elif HN
if HN==1
A5=JU
A6=KM
T=AX
U=Aa
C=A[JU][KM]
A[JU][KM]=2|C
D=AL()
A[JU][KM]=C
if D>0
HN=0
else
hj=w
eu=Aa
jO=AX
w=0
endif
else
HN=0
endif
return B()
endif
if A[Ex][F4]
if HN
else
HN=1
endif
elif HN
if HN==1
A5=JU
A6=KM
T=AX
U=Aa
C=A[JU][KM]
A[JU][KM]=2|C
D=AL()
A[JU][KM]=C
if D>0
HN=0
else
hj=w
eu=Aa
jO=AX
w=0
endif
else
HN=0
endif
return B()
endif
if A[Ca][Cb]
if HN
else
HN=2
endif
elif HN
if HN==1
A5=JU
A6=KM
T=AX
U=Aa
C=A[JU][KM]
A[JU][KM]=2|C
D=AL()
A[JU][KM]=C
if D>0
HN=0
else
hj=w
eu=Aa
jO=AX
w=0
endif
else
HN=0
endif
return B()
endif
if A[Ed][ES]
if HN
else
HN=3
endif
elif HN
if HN==1
A5=JU
A6=KM
T=AX
U=Aa
C=A[JU][KM]
A[JU][KM]=2|C
D=AL()
A[JU][KM]=C
if D>0
HN=0
else
hj=w
eu=Aa
jO=AX
w=0
endif
else
HN=0
endif
return B()
endif
if A[Jm][JO]
if HN
else
HN=4
endif
elif HN
if HN==1
A5=JU
A6=KM
T=AX
U=Aa
C=A[JU][KM]
A[JU][KM]=2|C
D=AL()
A[JU][KM]=C
if D>0
HN=0
else
hj=w
eu=Aa
jO=AX
w=0
endif
else
HN=0
endif
return B()
endif
if HN
else
HN=5
endif
endfunc
func B1R()
if A[Ap][Ab]
return B()
endif
CO=B5[Ap][Ab]
if CO>=AH
return B()
endif
if Ap
else
return B()
endif
if r3
else
return B()
endif
if Ab<=1
return B()
endif
if qF<=1
return B()
endif
if A[Ca][Cb]
if A[Ed][ES]
else
A5=AX
A6=Aa
T=Ed
U=ES
C=A[AX][Aa]
A[AX][Aa]=2|C
D=AL()
A[AX][Aa]=C
if D<=0
JE=1
eT=w
ev=ES
k0=Ed
w=0
endif
endif
endif
JE=0
eT=0
ev=Ab
k0=Ap
if A[HP][Ja]
return B()
elif JE
if JE==1
A5=HP
A6=Ja
T=Ap
U=Ab
C=A[HP][Ja]
A[HP][Ja]=2|C
D=AL()
A[HP][Ja]=C
if D>0
JE=0
else
eT=w
ev=Ab
k0=Ap
w=0
endif
else
JE=0
endif
return B()
endif
if A[E8][EB]
if JE
else
JE=1
endif
elif JE
if JE==1
A5=HP
A6=Ja
T=Ap
U=Ab
C=A[HP][Ja]
A[HP][Ja]=2|C
D=AL()
A[HP][Ja]=C
if D>0
JE=0
else
eT=w
ev=Ab
k0=Ap
w=0
endif
else
JE=0
endif
return B()
endif
if A[D2][CZ]
if JE
else
JE=2
endif
elif JE
if JE==1
A5=HP
A6=Ja
T=Ap
U=Ab
C=A[HP][Ja]
A[HP][Ja]=2|C
D=AL()
A[HP][Ja]=C
if D>0
JE=0
else
eT=w
ev=Ab
k0=Ap
w=0
endif
else
JE=0
endif
return B()
endif
if A[Ez][Ef]
if JE
else
JE=3
endif
elif JE
if JE==1
A5=HP
A6=Ja
T=Ap
U=Ab
C=A[HP][Ja]
A[HP][Ja]=2|C
D=AL()
A[HP][Ja]=C
if D>0
JE=0
else
eT=w
ev=Ab
k0=Ap
w=0
endif
else
JE=0
endif
return B()
endif
if A[H9][KQ]
if JE
else
JE=4
endif
elif JE
if JE==1
A5=HP
A6=Ja
T=Ap
U=Ab
C=A[HP][Ja]
A[HP][Ja]=2|C
D=AL()
A[HP][Ja]=C
if D>0
JE=0
else
eT=w
ev=Ab
k0=Ap
w=0
endif
else
JE=0
endif
return B()
endif
if JE
else
JE=5
endif
endfunc
func BAv()
if A[B2][Al]
return B()
endif
CO=B5[B2][Al]
if CO>=AH
return B()
endif
if B2
else
return B()
endif
if rF
else
return B()
endif
if Al<=1
return B()
endif
if pR<=1
return B()
endif
if A[D2][CZ]
if A[Ez][Ef]
else
A5=Ap
A6=Ab
T=Ez
U=Ef
C=A[Ap][Ab]
A[Ap][Ab]=2|C
D=AL()
A[Ap][Ab]=C
if D<=0
K3=1
fh=w
eM=Ef
jp=Ez
w=0
endif
endif
endif
K3=0
fh=0
eM=Al
jp=B2
if A[H1][HF]
return B()
elif K3
if K3==1
A5=H1
A6=HF
T=B2
U=Al
C=A[H1][HF]
A[H1][HF]=2|C
D=AL()
A[H1][HF]=C
if D>0
K3=0
else
fh=w
eM=Al
jp=B2
w=0
endif
else
K3=0
endif
return B()
endif
if A[EY][EQ]
if K3
else
K3=1
endif
elif K3
if K3==1
A5=H1
A6=HF
T=B2
U=Al
C=A[H1][HF]
A[H1][HF]=2|C
D=AL()
A[H1][HF]=C
if D>0
K3=0
else
fh=w
eM=Al
jp=B2
w=0
endif
else
K3=0
endif
return B()
endif
if A[Ct][Cy]
if K3
else
K3=2
endif
elif K3
if K3==1
A5=H1
A6=HF
T=B2
U=Al
C=A[H1][HF]
A[H1][HF]=2|C
D=AL()
A[H1][HF]=C
if D>0
K3=0
else
fh=w
eM=Al
jp=B2
w=0
endif
else
K3=0
endif
return B()
endif
if A[EP][FF]
if K3
else
K3=3
endif
elif K3
if K3==1
A5=H1
A6=HF
T=B2
U=Al
C=A[H1][HF]
A[H1][HF]=2|C
D=AL()
A[H1][HF]=C
if D>0
K3=0
else
fh=w
eM=Al
jp=B2
w=0
endif
else
K3=0
endif
return B()
endif
if A[Jv][KF]
if K3
else
K3=4
endif
elif K3
if K3==1
A5=H1
A6=HF
T=B2
U=Al
C=A[H1][HF]
A[H1][HF]=2|C
D=AL()
A[H1][HF]=C
if D>0
K3=0
else
fh=w
eM=Al
jp=B2
w=0
endif
else
K3=0
endif
return B()
endif
if K3
else
K3=5
endif
endfunc
func B7Z()
if A[AV][Av]
return B()
endif
CO=B5[AV][Av]
if CO>=AH
return B()
endif
if AV
else
return B()
endif
if qp
else
return B()
endif
if Av<=1
return B()
endif
if qO<=1
return B()
endif
if A[Ct][Cy]
if A[EP][FF]
else
A5=B2
A6=Al
T=EP
U=FF
C=A[B2][Al]
A[B2][Al]=2|C
D=AL()
A[B2][Al]=C
if D<=0
J0=1
dm=w
hw=FF
kZ=EP
w=0
endif
endif
endif
J0=0
dm=0
hw=Av
kZ=AV
if A[HX][H8]
return B()
elif J0
if J0==1
A5=HX
A6=H8
T=AV
U=Av
C=A[HX][H8]
A[HX][H8]=2|C
D=AL()
A[HX][H8]=C
if D>0
J0=0
else
dm=w
hw=Av
kZ=AV
w=0
endif
else
J0=0
endif
return B()
endif
if A[F2][Eh]
if J0
else
J0=1
endif
elif J0
if J0==1
A5=HX
A6=H8
T=AV
U=Av
C=A[HX][H8]
A[HX][H8]=2|C
D=AL()
A[HX][H8]=C
if D>0
J0=0
else
dm=w
hw=Av
kZ=AV
w=0
endif
else
J0=0
endif
return B()
endif
if A[Cl][DC]
if J0
else
J0=2
endif
elif J0
if J0==1
A5=HX
A6=H8
T=AV
U=Av
C=A[HX][H8]
A[HX][H8]=2|C
D=AL()
A[HX][H8]=C
if D>0
J0=0
else
dm=w
hw=Av
kZ=AV
w=0
endif
else
J0=0
endif
return B()
endif
if A[Es][FM]
if J0
else
J0=3
endif
elif J0
if J0==1
A5=HX
A6=H8
T=AV
U=Av
C=A[HX][H8]
A[HX][H8]=2|C
D=AL()
A[HX][H8]=C
if D>0
J0=0
else
dm=w
hw=Av
kZ=AV
w=0
endif
else
J0=0
endif
return B()
endif
if A[J2][Hb]
if J0
else
J0=4
endif
elif J0
if J0==1
A5=HX
A6=H8
T=AV
U=Av
C=A[HX][H8]
A[HX][H8]=2|C
D=AL()
A[HX][H8]=C
if D>0
J0=0
else
dm=w
hw=Av
kZ=AV
w=0
endif
else
J0=0
endif
return B()
endif
if J0
else
J0=5
endif
endfunc
func Aut()
if A[Ao][Ax]
return B()
endif
CO=B5[Ao][Ax]
if CO>=AH
return B()
endif
if Ao
else
return B()
endif
if ps
else
return B()
endif
if Ax<=1
return B()
endif
if qe<=1
return B()
endif
if A[Cl][DC]
if A[Es][FM]
else
A5=AV
A6=Av
T=Es
U=FM
C=A[AV][Av]
A[AV][Av]=2|C
D=AL()
A[AV][Av]=C
if D<=0
JY=1
fz=w
fT=FM
fv=Es
w=0
endif
endif
endif
JY=0
fz=0
fT=Ax
fv=Ao
if A[Jq][Jr]
return B()
elif JY
if JY==1
A5=Jq
A6=Jr
T=Ao
U=Ax
C=A[Jq][Jr]
A[Jq][Jr]=2|C
D=AL()
A[Jq][Jr]=C
if D>0
JY=0
else
fz=w
fT=Ax
fv=Ao
w=0
endif
else
JY=0
endif
return B()
endif
if A[EJ][FH]
if JY
else
JY=1
endif
elif JY
if JY==1
A5=Jq
A6=Jr
T=Ao
U=Ax
C=A[Jq][Jr]
A[Jq][Jr]=2|C
D=AL()
A[Jq][Jr]=C
if D>0
JY=0
else
fz=w
fT=Ax
fv=Ao
w=0
endif
else
JY=0
endif
return B()
endif
if A[D1][D5]
if JY
else
JY=2
endif
elif JY
if JY==1
A5=Jq
A6=Jr
T=Ao
U=Ax
C=A[Jq][Jr]
A[Jq][Jr]=2|C
D=AL()
A[Jq][Jr]=C
if D>0
JY=0
else
fz=w
fT=Ax
fv=Ao
w=0
endif
else
JY=0
endif
return B()
endif
if A[Eo][Ev]
if JY
else
JY=3
endif
elif JY
if JY==1
A5=Jq
A6=Jr
T=Ao
U=Ax
C=A[Jq][Jr]
A[Jq][Jr]=2|C
D=AL()
A[Jq][Jr]=C
if D>0
JY=0
else
fz=w
fT=Ax
fv=Ao
w=0
endif
else
JY=0
endif
return B()
endif
if A[Fr][H7]
if JY
else
JY=4
endif
elif JY
if JY==1
A5=Jq
A6=Jr
T=Ao
U=Ax
C=A[Jq][Jr]
A[Jq][Jr]=2|C
D=AL()
A[Jq][Jr]=C
if D>0
JY=0
else
fz=w
fT=Ax
fv=Ao
w=0
endif
else
JY=0
endif
return B()
endif
if JY
else
JY=5
endif
endfunc
func B0L()
if A[A_][Ae]
return B()
endif
CO=B5[A_][Ae]
if CO>=AH
return B()
endif
if A_
else
return B()
endif
if qJ
else
return B()
endif
if Ae<=1
return B()
endif
if oj<=1
return B()
endif
if A[D1][D5]
if A[Eo][Ev]
else
A5=Ao
A6=Ax
T=Eo
U=Ev
C=A[Ao][Ax]
A[Ao][Ax]=2|C
D=AL()
A[Ao][Ax]=C
if D<=0
Jd=1
dt=w
hQ=Ev
h5=Eo
w=0
endif
endif
endif
Jd=0
dt=0
hQ=Ae
h5=A_
if A[HD][KC]
return B()
elif Jd
if Jd==1
A5=HD
A6=KC
T=A_
U=Ae
C=A[HD][KC]
A[HD][KC]=2|C
D=AL()
A[HD][KC]=C
if D>0
Jd=0
else
dt=w
hQ=Ae
h5=A_
w=0
endif
else
Jd=0
endif
return B()
endif
if A[F3][FE]
if Jd
else
Jd=1
endif
elif Jd
if Jd==1
A5=HD
A6=KC
T=A_
U=Ae
C=A[HD][KC]
A[HD][KC]=2|C
D=AL()
A[HD][KC]=C
if D>0
Jd=0
else
dt=w
hQ=Ae
h5=A_
w=0
endif
else
Jd=0
endif
return B()
endif
if A[D0][D3]
if Jd
else
Jd=2
endif
elif Jd
if Jd==1
A5=HD
A6=KC
T=A_
U=Ae
C=A[HD][KC]
A[HD][KC]=2|C
D=AL()
A[HD][KC]=C
if D>0
Jd=0
else
dt=w
hQ=Ae
h5=A_
w=0
endif
else
Jd=0
endif
return B()
endif
if A[E9][EV]
if Jd
else
Jd=3
endif
elif Jd
if Jd==1
A5=HD
A6=KC
T=A_
U=Ae
C=A[HD][KC]
A[HD][KC]=2|C
D=AL()
A[HD][KC]=C
if D>0
Jd=0
else
dt=w
hQ=Ae
h5=A_
w=0
endif
else
Jd=0
endif
return B()
endif
if A[Jz][H4]
if Jd
else
Jd=4
endif
elif Jd
if Jd==1
A5=HD
A6=KC
T=A_
U=Ae
C=A[HD][KC]
A[HD][KC]=2|C
D=AL()
A[HD][KC]=C
if D>0
Jd=0
else
dt=w
hQ=Ae
h5=A_
w=0
endif
else
Jd=0
endif
return B()
endif
if Jd
else
Jd=5
endif
endfunc
func B2n()
if A[AX][Aa]
return B()
endif
CO=B5[AX][Aa]
if CO>=AH
return B()
endif
if AX
else
return B()
endif
if pk
else
return B()
endif
if Aa<=1
return B()
endif
if rH<=1
return B()
endif
if A[D2][CZ]
if A[E8][EB]
else
A5=Ap
A6=Ab
T=E8
U=EB
C=A[Ap][Ab]
A[Ap][Ab]=2|C
D=AL()
A[Ap][Ab]=C
if D<=0
Jk=1
d_=w
dl=EB
l0=E8
w=0
endif
endif
endif
Jk=0
d_=0
dl=Aa
l0=AX
if A[Jm][JO]
return B()
elif Jk
if Jk==1
A5=Jm
A6=JO
T=AX
U=Aa
C=A[Jm][JO]
A[Jm][JO]=2|C
D=AL()
A[Jm][JO]=C
if D>0
Jk=0
else
d_=w
dl=Aa
l0=AX
w=0
endif
else
Jk=0
endif
return B()
endif
if A[Ed][ES]
if Jk
else
Jk=1
endif
elif Jk
if Jk==1
A5=Jm
A6=JO
T=AX
U=Aa
C=A[Jm][JO]
A[Jm][JO]=2|C
D=AL()
A[Jm][JO]=C
if D>0
Jk=0
else
d_=w
dl=Aa
l0=AX
w=0
endif
else
Jk=0
endif
return B()
endif
if A[Ca][Cb]
if Jk
else
Jk=2
endif
elif Jk
if Jk==1
A5=Jm
A6=JO
T=AX
U=Aa
C=A[Jm][JO]
A[Jm][JO]=2|C
D=AL()
A[Jm][JO]=C
if D>0
Jk=0
else
d_=w
dl=Aa
l0=AX
w=0
endif
else
Jk=0
endif
return B()
endif
if A[Ex][F4]
if Jk
else
Jk=3
endif
elif Jk
if Jk==1
A5=Jm
A6=JO
T=AX
U=Aa
C=A[Jm][JO]
A[Jm][JO]=2|C
D=AL()
A[Jm][JO]=C
if D>0
Jk=0
else
d_=w
dl=Aa
l0=AX
w=0
endif
else
Jk=0
endif
return B()
endif
if A[JU][KM]
if Jk
else
Jk=4
endif
elif Jk
if Jk==1
A5=Jm
A6=JO
T=AX
U=Aa
C=A[Jm][JO]
A[Jm][JO]=2|C
D=AL()
A[Jm][JO]=C
if D>0
Jk=0
else
d_=w
dl=Aa
l0=AX
w=0
endif
else
Jk=0
endif
return B()
endif
if Jk
else
Jk=5
endif
endfunc
func B07()
if A[Ap][Ab]
return B()
endif
CO=B5[Ap][Ab]
if CO>=AH
return B()
endif
if Ap
else
return B()
endif
if r3
else
return B()
endif
if Ab<=1
return B()
endif
if qF<=1
return B()
endif
if A[Ct][Cy]
if A[EY][EQ]
else
A5=B2
A6=Al
T=EY
U=EQ
C=A[B2][Al]
A[B2][Al]=2|C
D=AL()
A[B2][Al]=C
if D<=0
HO=1
eQ=w
ky=EQ
da=EY
w=0
endif
endif
endif
HO=0
eQ=0
ky=Ab
da=Ap
if A[H9][KQ]
return B()
elif HO
if HO==1
A5=H9
A6=KQ
T=Ap
U=Ab
C=A[H9][KQ]
A[H9][KQ]=2|C
D=AL()
A[H9][KQ]=C
if D>0
HO=0
else
eQ=w
ky=Ab
da=Ap
w=0
endif
else
HO=0
endif
return B()
endif
if A[Ez][Ef]
if HO
else
HO=1
endif
elif HO
if HO==1
A5=H9
A6=KQ
T=Ap
U=Ab
C=A[H9][KQ]
A[H9][KQ]=2|C
D=AL()
A[H9][KQ]=C
if D>0
HO=0
else
eQ=w
ky=Ab
da=Ap
w=0
endif
else
HO=0
endif
return B()
endif
if A[D2][CZ]
if HO
else
HO=2
endif
elif HO
if HO==1
A5=H9
A6=KQ
T=Ap
U=Ab
C=A[H9][KQ]
A[H9][KQ]=2|C
D=AL()
A[H9][KQ]=C
if D>0
HO=0
else
eQ=w
ky=Ab
da=Ap
w=0
endif
else
HO=0
endif
return B()
endif
if A[E8][EB]
if HO
else
HO=3
endif
elif HO
if HO==1
A5=H9
A6=KQ
T=Ap
U=Ab
C=A[H9][KQ]
A[H9][KQ]=2|C
D=AL()
A[H9][KQ]=C
if D>0
HO=0
else
eQ=w
ky=Ab
da=Ap
w=0
endif
else
HO=0
endif
return B()
endif
if A[HP][Ja]
if HO
else
HO=4
endif
elif HO
if HO==1
A5=H9
A6=KQ
T=Ap
U=Ab
C=A[H9][KQ]
A[H9][KQ]=2|C
D=AL()
A[H9][KQ]=C
if D>0
HO=0
else
eQ=w
ky=Ab
da=Ap
w=0
endif
else
HO=0
endif
return B()
endif
if HO
else
HO=5
endif
endfunc
func AyL()
if A[B2][Al]
return B()
endif
CO=B5[B2][Al]
if CO>=AH
return B()
endif
if B2
else
return B()
endif
if rF
else
return B()
endif
if Al<=1
return B()
endif
if pR<=1
return B()
endif
if A[Cl][DC]
if A[F2][Eh]
else
A5=AV
A6=Av
T=F2
U=Eh
C=A[AV][Av]
A[AV][Av]=2|C
D=AL()
A[AV][Av]=C
if D<=0
Hy=1
kV=w
k_=Eh
hJ=F2
w=0
endif
endif
endif
Hy=0
kV=0
k_=Al
hJ=B2
if A[Jv][KF]
return B()
elif Hy
if Hy==1
A5=Jv
A6=KF
T=B2
U=Al
C=A[Jv][KF]
A[Jv][KF]=2|C
D=AL()
A[Jv][KF]=C
if D>0
Hy=0
else
kV=w
k_=Al
hJ=B2
w=0
endif
else
Hy=0
endif
return B()
endif
if A[EP][FF]
if Hy
else
Hy=1
endif
elif Hy
if Hy==1
A5=Jv
A6=KF
T=B2
U=Al
C=A[Jv][KF]
A[Jv][KF]=2|C
D=AL()
A[Jv][KF]=C
if D>0
Hy=0
else
kV=w
k_=Al
hJ=B2
w=0
endif
else
Hy=0
endif
return B()
endif
if A[Ct][Cy]
if Hy
else
Hy=2
endif
elif Hy
if Hy==1
A5=Jv
A6=KF
T=B2
U=Al
C=A[Jv][KF]
A[Jv][KF]=2|C
D=AL()
A[Jv][KF]=C
if D>0
Hy=0
else
kV=w
k_=Al
hJ=B2
w=0
endif
else
Hy=0
endif
return B()
endif
if A[EY][EQ]
if Hy
else
Hy=3
endif
elif Hy
if Hy==1
A5=Jv
A6=KF
T=B2
U=Al
C=A[Jv][KF]
A[Jv][KF]=2|C
D=AL()
A[Jv][KF]=C
if D>0
Hy=0
else
kV=w
k_=Al
hJ=B2
w=0
endif
else
Hy=0
endif
return B()
endif
if A[H1][HF]
if Hy
else
Hy=4
endif
elif Hy
if Hy==1
A5=Jv
A6=KF
T=B2
U=Al
C=A[Jv][KF]
A[Jv][KF]=2|C
D=AL()
A[Jv][KF]=C
if D>0
Hy=0
else
kV=w
k_=Al
hJ=B2
w=0
endif
else
Hy=0
endif
return B()
endif
if Hy
else
Hy=5
endif
endfunc
func AtL()
if A[AV][Av]
return B()
endif
CO=B5[AV][Av]
if CO>=AH
return B()
endif
if AV
else
return B()
endif
if qp
else
return B()
endif
if Av<=1
return B()
endif
if qO<=1
return B()
endif
if A[D1][D5]
if A[EJ][FH]
else
A5=Ao
A6=Ax
T=EJ
U=FH
C=A[Ao][Ax]
A[Ao][Ax]=2|C
D=AL()
A[Ao][Ax]=C
if D<=0
K4=1
ht=w
eo=FH
kd=EJ
w=0
endif
endif
endif
K4=0
ht=0
eo=Av
kd=AV
if A[J2][Hb]
return B()
elif K4
if K4==1
A5=J2
A6=Hb
T=AV
U=Av
C=A[J2][Hb]
A[J2][Hb]=2|C
D=AL()
A[J2][Hb]=C
if D>0
K4=0
else
ht=w
eo=Av
kd=AV
w=0
endif
else
K4=0
endif
return B()
endif
if A[Es][FM]
if K4
else
K4=1
endif
elif K4
if K4==1
A5=J2
A6=Hb
T=AV
U=Av
C=A[J2][Hb]
A[J2][Hb]=2|C
D=AL()
A[J2][Hb]=C
if D>0
K4=0
else
ht=w
eo=Av
kd=AV
w=0
endif
else
K4=0
endif
return B()
endif
if A[Cl][DC]
if K4
else
K4=2
endif
elif K4
if K4==1
A5=J2
A6=Hb
T=AV
U=Av
C=A[J2][Hb]
A[J2][Hb]=2|C
D=AL()
A[J2][Hb]=C
if D>0
K4=0
else
ht=w
eo=Av
kd=AV
w=0
endif
else
K4=0
endif
return B()
endif
if A[F2][Eh]
if K4
else
K4=3
endif
elif K4
if K4==1
A5=J2
A6=Hb
T=AV
U=Av
C=A[J2][Hb]
A[J2][Hb]=2|C
D=AL()
A[J2][Hb]=C
if D>0
K4=0
else
ht=w
eo=Av
kd=AV
w=0
endif
else
K4=0
endif
return B()
endif
if A[HX][H8]
if K4
else
K4=4
endif
elif K4
if K4==1
A5=J2
A6=Hb
T=AV
U=Av
C=A[J2][Hb]
A[J2][Hb]=2|C
D=AL()
A[J2][Hb]=C
if D>0
K4=0
else
ht=w
eo=Av
kd=AV
w=0
endif
else
K4=0
endif
return B()
endif
if K4
else
K4=5
endif
endfunc
func Aqr()
if A[Ao][Ax]
return B()
endif
CO=B5[Ao][Ax]
if CO>=AH
return B()
endif
if Ao
else
return B()
endif
if ps
else
return B()
endif
if Ax<=1
return B()
endif
if qe<=1
return B()
endif
if A[D0][D3]
if A[F3][FE]
else
A5=A_
A6=Ae
T=F3
U=FE
C=A[A_][Ae]
A[A_][Ae]=2|C
D=AL()
A[A_][Ae]=C
if D<=0
JX=1
dP=w
kx=FE
h2=F3
w=0
endif
endif
endif
JX=0
dP=0
kx=Ax
h2=Ao
if A[Fr][H7]
return B()
elif JX
if JX==1
A5=Fr
A6=H7
T=Ao
U=Ax
C=A[Fr][H7]
A[Fr][H7]=2|C
D=AL()
A[Fr][H7]=C
if D>0
JX=0
else
dP=w
kx=Ax
h2=Ao
w=0
endif
else
JX=0
endif
return B()
endif
if A[Eo][Ev]
if JX
else
JX=1
endif
elif JX
if JX==1
A5=Fr
A6=H7
T=Ao
U=Ax
C=A[Fr][H7]
A[Fr][H7]=2|C
D=AL()
A[Fr][H7]=C
if D>0
JX=0
else
dP=w
kx=Ax
h2=Ao
w=0
endif
else
JX=0
endif
return B()
endif
if A[D1][D5]
if JX
else
JX=2
endif
elif JX
if JX==1
A5=Fr
A6=H7
T=Ao
U=Ax
C=A[Fr][H7]
A[Fr][H7]=2|C
D=AL()
A[Fr][H7]=C
if D>0
JX=0
else
dP=w
kx=Ax
h2=Ao
w=0
endif
else
JX=0
endif
return B()
endif
if A[EJ][FH]
if JX
else
JX=3
endif
elif JX
if JX==1
A5=Fr
A6=H7
T=Ao
U=Ax
C=A[Fr][H7]
A[Fr][H7]=2|C
D=AL()
A[Fr][H7]=C
if D>0
JX=0
else
dP=w
kx=Ax
h2=Ao
w=0
endif
else
JX=0
endif
return B()
endif
if A[Jq][Jr]
if JX
else
JX=4
endif
elif JX
if JX==1
A5=Fr
A6=H7
T=Ao
U=Ax
C=A[Fr][H7]
A[Fr][H7]=2|C
D=AL()
A[Fr][H7]=C
if D>0
JX=0
else
dP=w
kx=Ax
h2=Ao
w=0
endif
else
JX=0
endif
return B()
endif
if JX
else
JX=5
endif
endfunc
func B9t()
if A[A_][Ae]
return B()
endif
CO=B5[A_][Ae]
if CO>=AH
return B()
endif
if A_
else
return B()
endif
if qJ
else
return B()
endif
if Ae<=1
return B()
endif
if oj<=1
return B()
endif
if A[Ca][Cb]
if A[Ex][F4]
else
A5=AX
A6=Aa
T=Ex
U=F4
C=A[AX][Aa]
A[AX][Aa]=2|C
D=AL()
A[AX][Aa]=C
if D<=0
HK=1
kH=w
kp=F4
dX=Ex
w=0
endif
endif
endif
HK=0
kH=0
kp=Ae
dX=A_
if A[Jz][H4]
return B()
elif HK
if HK==1
A5=Jz
A6=H4
T=A_
U=Ae
C=A[Jz][H4]
A[Jz][H4]=2|C
D=AL()
A[Jz][H4]=C
if D>0
HK=0
else
kH=w
kp=Ae
dX=A_
w=0
endif
else
HK=0
endif
return B()
endif
if A[E9][EV]
if HK
else
HK=1
endif
elif HK
if HK==1
A5=Jz
A6=H4
T=A_
U=Ae
C=A[Jz][H4]
A[Jz][H4]=2|C
D=AL()
A[Jz][H4]=C
if D>0
HK=0
else
kH=w
kp=Ae
dX=A_
w=0
endif
else
HK=0
endif
return B()
endif
if A[D0][D3]
if HK
else
HK=2
endif
elif HK
if HK==1
A5=Jz
A6=H4
T=A_
U=Ae
C=A[Jz][H4]
A[Jz][H4]=2|C
D=AL()
A[Jz][H4]=C
if D>0
HK=0
else
kH=w
kp=Ae
dX=A_
w=0
endif
else
HK=0
endif
return B()
endif
if A[F3][FE]
if HK
else
HK=3
endif
elif HK
if HK==1
A5=Jz
A6=H4
T=A_
U=Ae
C=A[Jz][H4]
A[Jz][H4]=2|C
D=AL()
A[Jz][H4]=C
if D>0
HK=0
else
kH=w
kp=Ae
dX=A_
w=0
endif
else
HK=0
endif
return B()
endif
if A[HD][KC]
if HK
else
HK=4
endif
elif HK
if HK==1
A5=Jz
A6=H4
T=A_
U=Ae
C=A[Jz][H4]
A[Jz][H4]=2|C
D=AL()
A[Jz][H4]=C
if D>0
HK=0
else
kH=w
kp=Ae
dX=A_
w=0
endif
else
HK=0
endif
return B()
endif
if HK
else
HK=5
endif
endfunc
func Ay_()
if A[AS][AZ]
return B()
endif
CO=B5[AS][AZ]
if CO>=AH
return B()
endif
if AS
else
return B()
endif
if pd
else
return B()
endif
if AZ<=1
return B()
endif
if pS<=1
return B()
endif
if A[Cs][C_]
if A[EE][EL]
else
A5=Az
A6=Af
T=EE
U=EL
C=A[Az][Af]
A[Az][Af]=2|C
D=AM()
A[Az][Af]=C
if D<=0
HQ=1
jS=x
jm=EL
ka=EE
x=0
endif
endif
endif
HQ=0
jS=0
jm=AZ
ka=AS
if A[K5][KT]
return B()
elif HQ
if HQ==1
A5=K5
A6=KT
T=AS
U=AZ
C=A[K5][KT]
A[K5][KT]=2|C
D=AM()
A[K5][KT]=C
if D>0
HQ=0
else
jS=x
jm=AZ
ka=AS
x=0
endif
else
HQ=0
endif
return B()
endif
if A[Ea][Er]
if HQ
else
HQ=1
endif
elif HQ
if HQ==1
A5=K5
A6=KT
T=AS
U=AZ
C=A[K5][KT]
A[K5][KT]=2|C
D=AM()
A[K5][KT]=C
if D>0
HQ=0
else
jS=x
jm=AZ
ka=AS
x=0
endif
else
HQ=0
endif
return B()
endif
if A[Ce][Cf]
if HQ
else
HQ=2
endif
elif HQ
if HQ==1
A5=K5
A6=KT
T=AS
U=AZ
C=A[K5][KT]
A[K5][KT]=2|C
D=AM()
A[K5][KT]=C
if D>0
HQ=0
else
jS=x
jm=AZ
ka=AS
x=0
endif
else
HQ=0
endif
return B()
endif
if A[Ek][EK]
if HQ
else
HQ=3
endif
elif HQ
if HQ==1
A5=K5
A6=KT
T=AS
U=AZ
C=A[K5][KT]
A[K5][KT]=2|C
D=AM()
A[K5][KT]=C
if D>0
HQ=0
else
jS=x
jm=AZ
ka=AS
x=0
endif
else
HQ=0
endif
return B()
endif
if A[HR][Jp]
if HQ
else
HQ=4
endif
elif HQ
if HQ==1
A5=K5
A6=KT
T=AS
U=AZ
C=A[K5][KT]
A[K5][KT]=2|C
D=AM()
A[K5][KT]=C
if D>0
HQ=0
else
jS=x
jm=AZ
ka=AS
x=0
endif
else
HQ=0
endif
return B()
endif
if HQ
else
HQ=5
endif
endfunc
func Asv()
if A[Aq][Ac]
return B()
endif
CO=B5[Aq][Ac]
if CO>=AH
return B()
endif
if Aq
else
return B()
endif
if qz
else
return B()
endif
if Ac<=1
return B()
endif
if py<=1
return B()
endif
if A[Ce][Cf]
if A[Ek][EK]
else
A5=AS
A6=AZ
T=Ek
U=EK
C=A[AS][AZ]
A[AS][AZ]=2|C
D=AM()
A[AS][AZ]=C
if D<=0
J_=1
hA=x
du=EK
k1=Ek
x=0
endif
endif
endif
J_=0
hA=0
du=Ac
k1=Aq
if A[J5][JM]
return B()
elif J_
if J_==1
A5=J5
A6=JM
T=Aq
U=Ac
C=A[J5][JM]
A[J5][JM]=2|C
D=AM()
A[J5][JM]=C
if D>0
J_=0
else
hA=x
du=Ac
k1=Aq
x=0
endif
else
J_=0
endif
return B()
endif
if A[EN][EH]
if J_
else
J_=1
endif
elif J_
if J_==1
A5=J5
A6=JM
T=Aq
U=Ac
C=A[J5][JM]
A[J5][JM]=2|C
D=AM()
A[J5][JM]=C
if D>0
J_=0
else
hA=x
du=Ac
k1=Aq
x=0
endif
else
J_=0
endif
return B()
endif
if A[D4][Cj]
if J_
else
J_=2
endif
elif J_
if J_==1
A5=J5
A6=JM
T=Aq
U=Ac
C=A[J5][JM]
A[J5][JM]=2|C
D=AM()
A[J5][JM]=C
if D>0
J_=0
else
hA=x
du=Ac
k1=Aq
x=0
endif
else
J_=0
endif
return B()
endif
if A[E_][Em]
if J_
else
J_=3
endif
elif J_
if J_==1
A5=J5
A6=JM
T=Aq
U=Ac
C=A[J5][JM]
A[J5][JM]=2|C
D=AM()
A[J5][JM]=C
if D>0
J_=0
else
hA=x
du=Ac
k1=Aq
x=0
endif
else
J_=0
endif
return B()
endif
if A[HE][KK]
if J_
else
J_=4
endif
elif J_
if J_==1
A5=J5
A6=JM
T=Aq
U=Ac
C=A[J5][JM]
A[J5][JM]=2|C
D=AM()
A[J5][JM]=C
if D>0
J_=0
else
hA=x
du=Ac
k1=Aq
x=0
endif
else
J_=0
endif
return B()
endif
if J_
else
J_=5
endif
endfunc
func B1S()
if A[B1][Ah]
return B()
endif
CO=B5[B1][Ah]
if CO>=AH
return B()
endif
if B1
else
return B()
endif
if os
else
return B()
endif
if Ah<=1
return B()
endif
if pL<=1
return B()
endif
if A[D4][Cj]
if A[E_][Em]
else
A5=Aq
A6=Ac
T=E_
U=Em
C=A[Aq][Ac]
A[Aq][Ac]=2|C
D=AM()
A[Aq][Ac]=C
if D<=0
JK=1
f5=x
f_=Em
hr=E_
x=0
endif
endif
endif
JK=0
f5=0
f_=Ah
hr=B1
if A[Fw][H3]
return B()
elif JK
if JK==1
A5=Fw
A6=H3
T=B1
U=Ah
C=A[Fw][H3]
A[Fw][H3]=2|C
D=AM()
A[Fw][H3]=C
if D>0
JK=0
else
f5=x
f_=Ah
hr=B1
x=0
endif
else
JK=0
endif
return B()
endif
if A[EW][EA]
if JK
else
JK=1
endif
elif JK
if JK==1
A5=Fw
A6=H3
T=B1
U=Ah
C=A[Fw][H3]
A[Fw][H3]=2|C
D=AM()
A[Fw][H3]=C
if D>0
JK=0
else
f5=x
f_=Ah
hr=B1
x=0
endif
else
JK=0
endif
return B()
endif
if A[Cw][Cu]
if JK
else
JK=2
endif
elif JK
if JK==1
A5=Fw
A6=H3
T=B1
U=Ah
C=A[Fw][H3]
A[Fw][H3]=2|C
D=AM()
A[Fw][H3]=C
if D>0
JK=0
else
f5=x
f_=Ah
hr=B1
x=0
endif
else
JK=0
endif
return B()
endif
if A[ED][F9]
if JK
else
JK=3
endif
elif JK
if JK==1
A5=Fw
A6=H3
T=B1
U=Ah
C=A[Fw][H3]
A[Fw][H3]=2|C
D=AM()
A[Fw][H3]=C
if D>0
JK=0
else
f5=x
f_=Ah
hr=B1
x=0
endif
else
JK=0
endif
return B()
endif
if A[Hm][KU]
if JK
else
JK=4
endif
elif JK
if JK==1
A5=Fw
A6=H3
T=B1
U=Ah
C=A[Fw][H3]
A[Fw][H3]=2|C
D=AM()
A[Fw][H3]=C
if D>0
JK=0
else
f5=x
f_=Ah
hr=B1
x=0
endif
else
JK=0
endif
return B()
endif
if JK
else
JK=5
endif
endfunc
func BAo()
if A[AT][Au]
return B()
endif
CO=B5[AT][Au]
if CO>=AH
return B()
endif
if AT
else
return B()
endif
if oM
else
return B()
endif
if Au<=1
return B()
endif
if r2<=1
return B()
endif
if A[Cw][Cu]
if A[ED][F9]
else
A5=B1
A6=Ah
T=ED
U=F9
C=A[B1][Ah]
A[B1][Ah]=2|C
D=AM()
A[B1][Ah]=C
if D<=0
K2=1
kM=x
ep=F9
kT=ED
x=0
endif
endif
endif
K2=0
kM=0
ep=Au
kT=AT
if A[J7][Fv]
return B()
elif K2
if K2==1
A5=J7
A6=Fv
T=AT
U=Au
C=A[J7][Fv]
A[J7][Fv]=2|C
D=AM()
A[J7][Fv]=C
if D>0
K2=0
else
kM=x
ep=Au
kT=AT
x=0
endif
else
K2=0
endif
return B()
endif
if A[Et][En]
if K2
else
K2=1
endif
elif K2
if K2==1
A5=J7
A6=Fv
T=AT
U=Au
C=A[J7][Fv]
A[J7][Fv]=2|C
D=AM()
A[J7][Fv]=C
if D>0
K2=0
else
kM=x
ep=Au
kT=AT
x=0
endif
else
K2=0
endif
return B()
endif
if A[Ck][D8]
if K2
else
K2=2
endif
elif K2
if K2==1
A5=J7
A6=Fv
T=AT
U=Au
C=A[J7][Fv]
A[J7][Fv]=2|C
D=AM()
A[J7][Fv]=C
if D>0
K2=0
else
kM=x
ep=Au
kT=AT
x=0
endif
else
K2=0
endif
return B()
endif
if A[Ej][FK]
if K2
else
K2=3
endif
elif K2
if K2==1
A5=J7
A6=Fv
T=AT
U=Au
C=A[J7][Fv]
A[J7][Fv]=2|C
D=AM()
A[J7][Fv]=C
if D>0
K2=0
else
kM=x
ep=Au
kT=AT
x=0
endif
else
K2=0
endif
return B()
endif
if A[J9][HV]
if K2
else
K2=4
endif
elif K2
if K2==1
A5=J7
A6=Fv
T=AT
U=Au
C=A[J7][Fv]
A[J7][Fv]=2|C
D=AM()
A[J7][Fv]=C
if D>0
K2=0
else
kM=x
ep=Au
kT=AT
x=0
endif
else
K2=0
endif
return B()
endif
if K2
else
K2=5
endif
endfunc
func AwU()
if A[An][As]
return B()
endif
CO=B5[An][As]
if CO>=AH
return B()
endif
if An
else
return B()
endif
if pY
else
return B()
endif
if As<=1
return B()
endif
if rZ<=1
return B()
endif
if A[Ck][D8]
if A[Ej][FK]
else
A5=AT
A6=Au
T=Ej
U=FK
C=A[AT][Au]
A[AT][Au]=2|C
D=AM()
A[AT][Au]=C
if D<=0
Hp=1
dx=x
fQ=FK
eE=Ej
x=0
endif
endif
endif
Hp=0
dx=0
fQ=As
eE=An
if A[HY][J3]
return B()
elif Hp
if Hp==1
A5=HY
A6=J3
T=An
U=As
C=A[HY][J3]
A[HY][J3]=2|C
D=AM()
A[HY][J3]=C
if D>0
Hp=0
else
dx=x
fQ=As
eE=An
x=0
endif
else
Hp=0
endif
return B()
endif
if A[E7][FD]
if Hp
else
Hp=1
endif
elif Hp
if Hp==1
A5=HY
A6=J3
T=An
U=As
C=A[HY][J3]
A[HY][J3]=2|C
D=AM()
A[HY][J3]=C
if D>0
Hp=0
else
dx=x
fQ=As
eE=An
x=0
endif
else
Hp=0
endif
return B()
endif
if A[Cx][D6]
if Hp
else
Hp=2
endif
elif Hp
if Hp==1
A5=HY
A6=J3
T=An
U=As
C=A[HY][J3]
A[HY][J3]=2|C
D=AM()
A[HY][J3]=C
if D>0
Hp=0
else
dx=x
fQ=As
eE=An
x=0
endif
else
Hp=0
endif
return B()
endif
if A[F7][Ep]
if Hp
else
Hp=3
endif
elif Hp
if Hp==1
A5=HY
A6=J3
T=An
U=As
C=A[HY][J3]
A[HY][J3]=2|C
D=AM()
A[HY][J3]=C
if D>0
Hp=0
else
dx=x
fQ=As
eE=An
x=0
endif
else
Hp=0
endif
return B()
endif
if A[H0][HC]
if Hp
else
Hp=4
endif
elif Hp
if Hp==1
A5=HY
A6=J3
T=An
U=As
C=A[HY][J3]
A[HY][J3]=2|C
D=AM()
A[HY][J3]=C
if D>0
Hp=0
else
dx=x
fQ=As
eE=An
x=0
endif
else
Hp=0
endif
return B()
endif
if Hp
else
Hp=5
endif
endfunc
func AxP()
if A[Az][Af]
return B()
endif
CO=B5[Az][Af]
if CO>=AH
return B()
endif
if Az
else
return B()
endif
if rK
else
return B()
endif
if Af<=1
return B()
endif
if on<=1
return B()
endif
if A[Cx][D6]
if A[F7][Ep]
else
A5=An
A6=As
T=F7
U=Ep
C=A[An][As]
A[An][As]=2|C
D=AM()
A[An][As]=C
if D<=0
J1=1
fD=x
hq=Ep
fj=F7
x=0
endif
endif
endif
J1=0
fD=0
hq=Af
fj=Az
if A[H2][KY]
return B()
elif J1
if J1==1
A5=H2
A6=KY
T=Az
U=Af
C=A[H2][KY]
A[H2][KY]=2|C
D=AM()
A[H2][KY]=C
if D>0
J1=0
else
fD=x
hq=Af
fj=Az
x=0
endif
else
J1=0
endif
return B()
endif
if A[EX][FL]
if J1
else
J1=1
endif
elif J1
if J1==1
A5=H2
A6=KY
T=Az
U=Af
C=A[H2][KY]
A[H2][KY]=2|C
D=AM()
A[H2][KY]=C
if D>0
J1=0
else
fD=x
hq=Af
fj=Az
x=0
endif
else
J1=0
endif
return B()
endif
if A[Cs][C_]
if J1
else
J1=2
endif
elif J1
if J1==1
A5=H2
A6=KY
T=Az
U=Af
C=A[H2][KY]
A[H2][KY]=2|C
D=AM()
A[H2][KY]=C
if D>0
J1=0
else
fD=x
hq=Af
fj=Az
x=0
endif
else
J1=0
endif
return B()
endif
if A[EE][EL]
if J1
else
J1=3
endif
elif J1
if J1==1
A5=H2
A6=KY
T=Az
U=Af
C=A[H2][KY]
A[H2][KY]=2|C
D=AM()
A[H2][KY]=C
if D>0
J1=0
else
fD=x
hq=Af
fj=Az
x=0
endif
else
J1=0
endif
return B()
endif
if A[JP][HA]
if J1
else
J1=4
endif
elif J1
if J1==1
A5=H2
A6=KY
T=Az
U=Af
C=A[H2][KY]
A[H2][KY]=2|C
D=AM()
A[H2][KY]=C
if D>0
J1=0
else
fD=x
hq=Af
fj=Az
x=0
endif
else
J1=0
endif
return B()
endif
if J1
else
J1=5
endif
endfunc
func B51()
if A[AS][AZ]
return B()
endif
CO=B5[AS][AZ]
if CO>=AH
return B()
endif
if AS
else
return B()
endif
if pd
else
return B()
endif
if AZ<=1
return B()
endif
if pS<=1
return B()
endif
if A[D4][Cj]
if A[EN][EH]
else
A5=Aq
A6=Ac
T=EN
U=EH
C=A[Aq][Ac]
A[Aq][Ac]=2|C
D=AM()
A[Aq][Ac]=C
if D<=0
HJ=1
fW=x
jl=EH
hF=EN
x=0
endif
endif
endif
HJ=0
fW=0
jl=AZ
hF=AS
if A[HR][Jp]
return B()
elif HJ
if HJ==1
A5=HR
A6=Jp
T=AS
U=AZ
C=A[HR][Jp]
A[HR][Jp]=2|C
D=AM()
A[HR][Jp]=C
if D>0
HJ=0
else
fW=x
jl=AZ
hF=AS
x=0
endif
else
HJ=0
endif
return B()
endif
if A[Ek][EK]
if HJ
else
HJ=1
endif
elif HJ
if HJ==1
A5=HR
A6=Jp
T=AS
U=AZ
C=A[HR][Jp]
A[HR][Jp]=2|C
D=AM()
A[HR][Jp]=C
if D>0
HJ=0
else
fW=x
jl=AZ
hF=AS
x=0
endif
else
HJ=0
endif
return B()
endif
if A[Ce][Cf]
if HJ
else
HJ=2
endif
elif HJ
if HJ==1
A5=HR
A6=Jp
T=AS
U=AZ
C=A[HR][Jp]
A[HR][Jp]=2|C
D=AM()
A[HR][Jp]=C
if D>0
HJ=0
else
fW=x
jl=AZ
hF=AS
x=0
endif
else
HJ=0
endif
return B()
endif
if A[Ea][Er]
if HJ
else
HJ=3
endif
elif HJ
if HJ==1
A5=HR
A6=Jp
T=AS
U=AZ
C=A[HR][Jp]
A[HR][Jp]=2|C
D=AM()
A[HR][Jp]=C
if D>0
HJ=0
else
fW=x
jl=AZ
hF=AS
x=0
endif
else
HJ=0
endif
return B()
endif
if A[K5][KT]
if HJ
else
HJ=4
endif
elif HJ
if HJ==1
A5=HR
A6=Jp
T=AS
U=AZ
C=A[HR][Jp]
A[HR][Jp]=2|C
D=AM()
A[HR][Jp]=C
if D>0
HJ=0
else
fW=x
jl=AZ
hF=AS
x=0
endif
else
HJ=0
endif
return B()
endif
if HJ
else
HJ=5
endif
endfunc
func AyB()
if A[Aq][Ac]
return B()
endif
CO=B5[Aq][Ac]
if CO>=AH
return B()
endif
if Aq
else
return B()
endif
if qz
else
return B()
endif
if Ac<=1
return B()
endif
if py<=1
return B()
endif
if A[Cw][Cu]
if A[EW][EA]
else
A5=B1
A6=Ah
T=EW
U=EA
C=A[B1][Ah]
A[B1][Ah]=2|C
D=AM()
A[B1][Ah]=C
if D<=0
Hj=1
eR=x
dN=EA
k2=EW
x=0
endif
endif
endif
Hj=0
eR=0
dN=Ac
k2=Aq
if A[HE][KK]
return B()
elif Hj
if Hj==1
A5=HE
A6=KK
T=Aq
U=Ac
C=A[HE][KK]
A[HE][KK]=2|C
D=AM()
A[HE][KK]=C
if D>0
Hj=0
else
eR=x
dN=Ac
k2=Aq
x=0
endif
else
Hj=0
endif
return B()
endif
if A[E_][Em]
if Hj
else
Hj=1
endif
elif Hj
if Hj==1
A5=HE
A6=KK
T=Aq
U=Ac
C=A[HE][KK]
A[HE][KK]=2|C
D=AM()
A[HE][KK]=C
if D>0
Hj=0
else
eR=x
dN=Ac
k2=Aq
x=0
endif
else
Hj=0
endif
return B()
endif
if A[D4][Cj]
if Hj
else
Hj=2
endif
elif Hj
if Hj==1
A5=HE
A6=KK
T=Aq
U=Ac
C=A[HE][KK]
A[HE][KK]=2|C
D=AM()
A[HE][KK]=C
if D>0
Hj=0
else
eR=x
dN=Ac
k2=Aq
x=0
endif
else
Hj=0
endif
return B()
endif
if A[EN][EH]
if Hj
else
Hj=3
endif
elif Hj
if Hj==1
A5=HE
A6=KK
T=Aq
U=Ac
C=A[HE][KK]
A[HE][KK]=2|C
D=AM()
A[HE][KK]=C
if D>0
Hj=0
else
eR=x
dN=Ac
k2=Aq
x=0
endif
else
Hj=0
endif
return B()
endif
if A[J5][JM]
if Hj
else
Hj=4
endif
elif Hj
if Hj==1
A5=HE
A6=KK
T=Aq
U=Ac
C=A[HE][KK]
A[HE][KK]=2|C
D=AM()
A[HE][KK]=C
if D>0
Hj=0
else
eR=x
dN=Ac
k2=Aq
x=0
endif
else
Hj=0
endif
return B()
endif
if Hj
else
Hj=5
endif
endfunc
func Aw_()
if A[B1][Ah]
return B()
endif
CO=B5[B1][Ah]
if CO>=AH
return B()
endif
if B1
else
return B()
endif
if os
else
return B()
endif
if Ah<=1
return B()
endif
if pL<=1
return B()
endif
if A[Ck][D8]
if A[Et][En]
else
A5=AT
A6=Au
T=Et
U=En
C=A[AT][Au]
A[AT][Au]=2|C
D=AM()
A[AT][Au]=C
if D<=0
Hw=1
kK=x
j6=En
jX=Et
x=0
endif
endif
endif
Hw=0
kK=0
j6=Ah
jX=B1
if A[Hm][KU]
return B()
elif Hw
if Hw==1
A5=Hm
A6=KU
T=B1
U=Ah
C=A[Hm][KU]
A[Hm][KU]=2|C
D=AM()
A[Hm][KU]=C
if D>0
Hw=0
else
kK=x
j6=Ah
jX=B1
x=0
endif
else
Hw=0
endif
return B()
endif
if A[ED][F9]
if Hw
else
Hw=1
endif
elif Hw
if Hw==1
A5=Hm
A6=KU
T=B1
U=Ah
C=A[Hm][KU]
A[Hm][KU]=2|C
D=AM()
A[Hm][KU]=C
if D>0
Hw=0
else
kK=x
j6=Ah
jX=B1
x=0
endif
else
Hw=0
endif
return B()
endif
if A[Cw][Cu]
if Hw
else
Hw=2
endif
elif Hw
if Hw==1
A5=Hm
A6=KU
T=B1
U=Ah
C=A[Hm][KU]
A[Hm][KU]=2|C
D=AM()
A[Hm][KU]=C
if D>0
Hw=0
else
kK=x
j6=Ah
jX=B1
x=0
endif
else
Hw=0
endif
return B()
endif
if A[EW][EA]
if Hw
else
Hw=3
endif
elif Hw
if Hw==1
A5=Hm
A6=KU
T=B1
U=Ah
C=A[Hm][KU]
A[Hm][KU]=2|C
D=AM()
A[Hm][KU]=C
if D>0
Hw=0
else
kK=x
j6=Ah
jX=B1
x=0
endif
else
Hw=0
endif
return B()
endif
if A[Fw][H3]
if Hw
else
Hw=4
endif
elif Hw
if Hw==1
A5=Hm
A6=KU
T=B1
U=Ah
C=A[Hm][KU]
A[Hm][KU]=2|C
D=AM()
A[Hm][KU]=C
if D>0
Hw=0
else
kK=x
j6=Ah
jX=B1
x=0
endif
else
Hw=0
endif
return B()
endif
if Hw
else
Hw=5
endif
endfunc
func As4()
if A[AT][Au]
return B()
endif
CO=B5[AT][Au]
if CO>=AH
return B()
endif
if AT
else
return B()
endif
if oM
else
return B()
endif
if Au<=1
return B()
endif
if r2<=1
return B()
endif
if A[Cx][D6]
if A[E7][FD]
else
A5=An
A6=As
T=E7
U=FD
C=A[An][As]
A[An][As]=2|C
D=AM()
A[An][As]=C
if D<=0
Jx=1
kX=x
fu=FD
hu=E7
x=0
endif
endif
endif
Jx=0
kX=0
fu=Au
hu=AT
if A[J9][HV]
return B()
elif Jx
if Jx==1
A5=J9
A6=HV
T=AT
U=Au
C=A[J9][HV]
A[J9][HV]=2|C
D=AM()
A[J9][HV]=C
if D>0
Jx=0
else
kX=x
fu=Au
hu=AT
x=0
endif
else
Jx=0
endif
return B()
endif
if A[Ej][FK]
if Jx
else
Jx=1
endif
elif Jx
if Jx==1
A5=J9
A6=HV
T=AT
U=Au
C=A[J9][HV]
A[J9][HV]=2|C
D=AM()
A[J9][HV]=C
if D>0
Jx=0
else
kX=x
fu=Au
hu=AT
x=0
endif
else
Jx=0
endif
return B()
endif
if A[Ck][D8]
if Jx
else
Jx=2
endif
elif Jx
if Jx==1
A5=J9
A6=HV
T=AT
U=Au
C=A[J9][HV]
A[J9][HV]=2|C
D=AM()
A[J9][HV]=C
if D>0
Jx=0
else
kX=x
fu=Au
hu=AT
x=0
endif
else
Jx=0
endif
return B()
endif
if A[Et][En]
if Jx
else
Jx=3
endif
elif Jx
if Jx==1
A5=J9
A6=HV
T=AT
U=Au
C=A[J9][HV]
A[J9][HV]=2|C
D=AM()
A[J9][HV]=C
if D>0
Jx=0
else
kX=x
fu=Au
hu=AT
x=0
endif
else
Jx=0
endif
return B()
endif
if A[J7][Fv]
if Jx
else
Jx=4
endif
elif Jx
if Jx==1
A5=J9
A6=HV
T=AT
U=Au
C=A[J9][HV]
A[J9][HV]=2|C
D=AM()
A[J9][HV]=C
if D>0
Jx=0
else
kX=x
fu=Au
hu=AT
x=0
endif
else
Jx=0
endif
return B()
endif
if Jx
else
Jx=5
endif
endfunc
func AtY()
if A[An][As]
return B()
endif
CO=B5[An][As]
if CO>=AH
return B()
endif
if An
else
return B()
endif
if pY
else
return B()
endif
if As<=1
return B()
endif
if rZ<=1
return B()
endif
if A[Cs][C_]
if A[EX][FL]
else
A5=Az
A6=Af
T=EX
U=FL
C=A[Az][Af]
A[Az][Af]=2|C
D=AM()
A[Az][Af]=C
if D<=0
K1=1
kN=x
jt=FL
kl=EX
x=0
endif
endif
endif
K1=0
kN=0
jt=As
kl=An
if A[H0][HC]
return B()
elif K1
if K1==1
A5=H0
A6=HC
T=An
U=As
C=A[H0][HC]
A[H0][HC]=2|C
D=AM()
A[H0][HC]=C
if D>0
K1=0
else
kN=x
jt=As
kl=An
x=0
endif
else
K1=0
endif
return B()
endif
if A[F7][Ep]
if K1
else
K1=1
endif
elif K1
if K1==1
A5=H0
A6=HC
T=An
U=As
C=A[H0][HC]
A[H0][HC]=2|C
D=AM()
A[H0][HC]=C
if D>0
K1=0
else
kN=x
jt=As
kl=An
x=0
endif
else
K1=0
endif
return B()
endif
if A[Cx][D6]
if K1
else
K1=2
endif
elif K1
if K1==1
A5=H0
A6=HC
T=An
U=As
C=A[H0][HC]
A[H0][HC]=2|C
D=AM()
A[H0][HC]=C
if D>0
K1=0
else
kN=x
jt=As
kl=An
x=0
endif
else
K1=0
endif
return B()
endif
if A[E7][FD]
if K1
else
K1=3
endif
elif K1
if K1==1
A5=H0
A6=HC
T=An
U=As
C=A[H0][HC]
A[H0][HC]=2|C
D=AM()
A[H0][HC]=C
if D>0
K1=0
else
kN=x
jt=As
kl=An
x=0
endif
else
K1=0
endif
return B()
endif
if A[HY][J3]
if K1
else
K1=4
endif
elif K1
if K1==1
A5=H0
A6=HC
T=An
U=As
C=A[H0][HC]
A[H0][HC]=2|C
D=AM()
A[H0][HC]=C
if D>0
K1=0
else
kN=x
jt=As
kl=An
x=0
endif
else
K1=0
endif
return B()
endif
if K1
else
K1=5
endif
endfunc
func B6z()
if A[Az][Af]
return B()
endif
CO=B5[Az][Af]
if CO>=AH
return B()
endif
if Az
else
return B()
endif
if rK
else
return B()
endif
if Af<=1
return B()
endif
if on<=1
return B()
endif
if A[Ce][Cf]
if A[Ea][Er]
else
A5=AS
A6=AZ
T=Ea
U=Er
C=A[AS][AZ]
A[AS][AZ]=2|C
D=AM()
A[AS][AZ]=C
if D<=0
Jb=1
f2=x
kR=Er
jj=Ea
x=0
endif
endif
endif
Jb=0
f2=0
kR=Af
jj=Az
if A[JP][HA]
return B()
elif Jb
if Jb==1
A5=JP
A6=HA
T=Az
U=Af
C=A[JP][HA]
A[JP][HA]=2|C
D=AM()
A[JP][HA]=C
if D>0
Jb=0
else
f2=x
kR=Af
jj=Az
x=0
endif
else
Jb=0
endif
return B()
endif
if A[EE][EL]
if Jb
else
Jb=1
endif
elif Jb
if Jb==1
A5=JP
A6=HA
T=Az
U=Af
C=A[JP][HA]
A[JP][HA]=2|C
D=AM()
A[JP][HA]=C
if D>0
Jb=0
else
f2=x
kR=Af
jj=Az
x=0
endif
else
Jb=0
endif
return B()
endif
if A[Cs][C_]
if Jb
else
Jb=2
endif
elif Jb
if Jb==1
A5=JP
A6=HA
T=Az
U=Af
C=A[JP][HA]
A[JP][HA]=2|C
D=AM()
A[JP][HA]=C
if D>0
Jb=0
else
f2=x
kR=Af
jj=Az
x=0
endif
else
Jb=0
endif
return B()
endif
if A[EX][FL]
if Jb
else
Jb=3
endif
elif Jb
if Jb==1
A5=JP
A6=HA
T=Az
U=Af
C=A[JP][HA]
A[JP][HA]=2|C
D=AM()
A[JP][HA]=C
if D>0
Jb=0
else
f2=x
kR=Af
jj=Az
x=0
endif
else
Jb=0
endif
return B()
endif
if A[H2][KY]
if Jb
else
Jb=4
endif
elif Jb
if Jb==1
A5=JP
A6=HA
T=Az
U=Af
C=A[JP][HA]
A[JP][HA]=2|C
D=AM()
A[JP][HA]=C
if D>0
Jb=0
else
f2=x
kR=Af
jj=Az
x=0
endif
else
Jb=0
endif
return B()
endif
if Jb
else
Jb=5
endif
endfunc
func AlZ()
if AEp()
return B()
endif
if A[ER][EF]
if A[AW][AY]
if A[js][co]
if A[dU][bB]
else
T=dU
U=bB
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Co][Cp]
A[Co][Cp]=2|C
D=AN()
A[Co][Cp]=C
A[Ay][Am]=C
if D<=0
SY=2
P8=v
Tj=bB
VB=dU
Rv=Am
Rc=Ay
WK=-D
Yn=Cp
Yq=Co
v=0
return 1
endif
endif
endif
else
A5=Ay
A6=Am
T=AW
U=AY
C=A[Ay][Am]
A[Ay][Am]=2|C
D=AN()
A[Ay][Am]=C
if D<=0
SY=1
P8=v
Tj=AY
VB=AW
Rv=Am
Rc=Ay
WK=-D
v=0
return 1
endif
if A[js][co]
if A[dU][bB]
else
T=AW
U=AY
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Co][Cp]
A[Co][Cp]=2|C
D=AN()
A[Co][Cp]=C
A[Ay][Am]=C
if D<=0
SY=2
P8=v
Tj=AY
VB=AW
Rv=Am
Rc=Ay
WK=-D
Yn=Cp
Yq=Co
v=0
return 1
endif
endif
endif
endif
elif A[Co][Cp]
if A[AW][AY]
if A[ER][EF]
return B()
endif
A5=Ay
A6=Am
T=ER
U=EF
C=A[Ay][Am]
A[Ay][Am]=2|C
D=AN()
A[Ay][Am]=C
if D<=0
SY=1
P8=v
Tj=EF
VB=ER
Rv=Am
Rc=Ay
WK=-D
v=0
return 1
endif
xn()
else
A5=Ay
A6=Am
T=AW
U=AY
C=A[Ay][Am]
A[Ay][Am]=2|C
D=AN()
A[Ay][Am]=C
if D<=0
SY=1
P8=v
Tj=AY
VB=AW
Rv=Am
Rc=Ay
WK=-D
v=0
return 1
endif
sx()
endif
elif A[js][co]
T=ER
U=EF
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Co][Cp]
A[Co][Cp]=2|C
D=AN()
A[Co][Cp]=C
A[Ay][Am]=C
if D<=0
SY=2
P8=v
Tj=EF
VB=ER
Rv=Am
Rc=Ay
WK=-D
Yn=Cp
Yq=Co
v=0
return 1
endif
if A[AW][AY]
xn()
else
sx()
endif
elif A[dU][bB]
T=ER
U=EF
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Co][Cp]
A[Co][Cp]=2|C
D=AN()
A[Co][Cp]=C
A[Ay][Am]=C
if D<=0
SY=2
P8=v
Tj=EF
VB=ER
Rv=Am
Rc=Ay
WK=-D
Yn=Cp
Yq=Co
v=0
return 1
endif
if A[AW][AY]
elif A[Cc][Cd] 
T=Cc
U=Cd
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[ER][EF]
A[ER][EF]=2|C
D=AN()
A[ER][EF]=C
A[Ay][Am]=C
if D<=0
SY=2
P8=v
Tj=Cd
VB=Cc
Rv=Am
Rc=Ay
WK=-D
Yn=EF
Yq=ER
v=0
return 1
endif
endif
elif A[AW][AY]
xn()
else
sx()
endif
endfunc
func AWq()
if ATF()
return B()
endif
if A[Eq][EO]
if A[Ar][Ad]
if A[aM][Zm]
if A[nA][c7]
else
T=nA
U=c7
C=A[AW][AY]
A[AW][AY]=2|C
C=A[Cc][Cd]
A[Cc][Cd]=2|C
D=AN()
A[Cc][Cd]=C
A[AW][AY]=C
if D<=0
Qy=2
Os=v
V3=c7
TO=nA
Rw=AY
SR=AW
WR=-D
XQ=Cd
Ys=Cc
v=0
return 1
endif
endif
endif
else
A5=AW
A6=AY
T=Ar
U=Ad
C=A[AW][AY]
A[AW][AY]=2|C
D=AN()
A[AW][AY]=C
if D<=0
Qy=1
Os=v
V3=Ad
TO=Ar
Rw=AY
SR=AW
WR=-D
v=0
return 1
endif
if A[aM][Zm]
if A[nA][c7]
else
T=Ar
U=Ad
C=A[AW][AY]
A[AW][AY]=2|C
C=A[Cc][Cd]
A[Cc][Cd]=2|C
D=AN()
A[Cc][Cd]=C
A[AW][AY]=C
if D<=0
Qy=2
Os=v
V3=Ad
TO=Ar
Rw=AY
SR=AW
WR=-D
XQ=Cd
Ys=Cc
v=0
return 1
endif
endif
endif
endif
elif A[Cc][Cd]
if A[Ar][Ad]
if A[Eq][EO]
return B()
endif
A5=AW
A6=AY
T=Eq
U=EO
C=A[AW][AY]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ch]=2|C
D=AN()
A[Cr][Ch]=C
A[Ar][Ad]=C
if D<=0
SM=2
P6=v
Tf=Ew
VJ=Eb
S2=Ad
Sq=Ar
WV=-D
YR=Ch
Yp=Cr
v=0
return 1
endif
if A[B0][Ak]
elif A[Cv][Cq] 
T=Cv
U=Cq
C=A[Ar][Ad]
A[Ar][Ad]=2|C
C=A[Eb][Ew]
A[Eb][Ew]=2|C
D=AN()
A[Eb][Ew]=C
A[Ar][Ad]=C
if D<=0
SM=2
P6=v
Tf=Cq
VJ=Cv
S2=Ad
Sq=Ar
WV=-D
YR=Ew
Yp=Eb
v=0
return 1
endif
endif
elif A[B0][Ak]
xl()
else
vn()
endif
endfunc
func AeN()
if AM2()
return B()
endif
if A[E6][FA]
if A[AU][At]
if A[dw][dE]
if A[kU][mZ]
else
T=kU
U=mZ
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[Cv][Cq]
A[Cv][Cq]=2|C
D=AN()
A[Cv][Cq]=C
A[B0][Ak]=C
if D<=0
Qx=2
Oc=v
UA=mZ
U8=kU
S1=Ak
Su=B0
Vb=-D
X3=Cq
XU=Cv
v=0
return 1
endif
endif
endif
else
A5=B0
A6=Ak
T=AU
U=At
C=A[B0][Ak]
A[B0][Ak]=2|C
D=AN()
A[B0][Ak]=C
if D<=0
Qx=1
Oc=v
UA=At
U8=AU
S1=Ak
Su=B0
Vb=-D
v=0
return 1
endif
if A[dw][dE]
if A[kU][mZ]
else
T=AU
U=At
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[Cv][Cq]
A[Cv][Cq]=2|C
D=AN()
A[Cv][Cq]=C
A[B0][Ak]=C
if D<=0
Qx=2
Oc=v
UA=At
U8=AU
S1=Ak
Su=B0
Vb=-D
X3=Cq
XU=Cv
v=0
return 1
endif
endif
endif
endif
elif A[Cv][Cq]
if A[AU][At]
if A[E6][FA]
return B()
endif
A5=B0
A6=Ak
T=E6
U=FA
C=A[B0][Ak]
A[B0][Ak]=2|C
D=AN()
A[B0][Ak]=C
if D<=0
Qx=1
Oc=v
UA=FA
U8=E6
S1=Ak
Su=B0
Vb=-D
v=0
return 1
endif
uX()
else
A5=B0
A6=Ak
T=AU
U=At
C=A[B0][Ak]
A[B0][Ak]=2|C
D=AN()
A[B0][Ak]=C
if D<=0
Qx=1
Oc=v
UA=At
U8=AU
S1=Ak
Su=B0
Vb=-D
v=0
return 1
endif
wq()
endif
elif A[dw][dE]
T=E6
U=FA
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[Cv][Cq]
A[Cv][Cq]=2|C
D=AN()
A[Cv][Cq]=C
A[B0][Ak]=C
if D<=0
Qx=2
Oc=v
UA=FA
U8=E6
S1=Ak
Su=B0
Vb=-D
X3=Cq
XU=Cv
v=0
return 1
endif
if A[AU][At]
uX()
else
wq()
endif
elif A[kU][mZ]
T=E6
U=FA
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[Cv][Cq]
A[Cv][Cq]=2|C
D=AN()
A[Cv][Cq]=C
A[B0][Ak]=C
if D<=0
Qx=2
Oc=v
UA=FA
U8=E6
S1=Ak
Su=B0
Vb=-D
X3=Cq
XU=Cv
v=0
return 1
endif
if A[AU][At]
elif A[Cm][D9] 
T=Cm
U=D9
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[E6][FA]
A[E6][FA]=2|C
D=AN()
A[E6][FA]=C
A[B0][Ak]=C
if D<=0
Qx=2
Oc=v
UA=D9
U8=Cm
S1=Ak
Su=B0
Vb=-D
X3=FA
XU=E6
v=0
return 1
endif
endif
elif A[AU][At]
uX()
else
wq()
endif
endfunc
func AZq()
if Aok()
return B()
endif
if A[Ey][FJ]
if A[Aj][Aw]
if A[bH][jw]
if A[m5][lh]
else
T=m5
U=lh
C=A[AU][At]
A[AU][At]=2|C
C=A[Cm][D9]
A[Cm][D9]=2|C
D=AN()
A[Cm][D9]=C
A[AU][At]=C
if D<=0
Rm=2
O_=v
VK=lh
U_=m5
S0=At
Qv=AU
VX=-D
Yd=D9
Wy=Cm
v=0
return 1
endif
endif
endif
else
A5=AU
A6=At
T=Aj
U=Aw
C=A[AU][At]
A[AU][At]=2|C
D=AN()
A[AU][At]=C
if D<=0
Rm=1
O_=v
VK=Aw
U_=Aj
S0=At
Qv=AU
VX=-D
v=0
return 1
endif
if A[bH][jw]
if A[m5][lh]
else
T=Aj
U=Aw
C=A[AU][At]
A[AU][At]=2|C
C=A[Cm][D9]
A[Cm][D9]=2|C
D=AN()
A[Cm][D9]=C
A[AU][At]=C
if D<=0
Rm=2
O_=v
VK=Aw
U_=Aj
S0=At
Qv=AU
VX=-D
Yd=D9
Wy=Cm
v=0
return 1
endif
endif
endif
endif
elif A[Cm][D9]
if A[Aj][Aw]
if A[Ey][FJ]
return B()
endif
A5=AU
A6=At
T=Ey
U=FJ
C=A[AU][At]
A[AU][At]=2|C
D=AN()
A[AU][At]=C
if D<=0
Rm=1
O_=v
VK=FJ
U_=Ey
S0=At
Qv=AU
VX=-D
v=0
return 1
endif
u_()
else
A5=AU
A6=At
T=Aj
U=Aw
C=A[AU][At]
A[AU][At]=2|C
D=AN()
A[AU][At]=C
if D<=0
Rm=1
O_=v
VK=Aw
U_=Aj
S0=At
Qv=AU
VX=-D
v=0
return 1
endif
sv()
endif
elif A[bH][jw]
T=Ey
U=FJ
C=A[AU][At]
A[AU][At]=2|C
C=A[Cm][D9]
A[Cm][D9]=2|C
D=AN()
A[Cm][D9]=C
A[AU][At]=C
if D<=0
Rm=2
O_=v
VK=FJ
U_=Ey
S0=At
Qv=AU
VX=-D
Yd=D9
Wy=Cm
v=0
return 1
endif
if A[Aj][Aw]
u_()
else
sv()
endif
elif A[m5][lh]
T=Ey
U=FJ
C=A[AU][At]
A[AU][At]=2|C
C=A[Cm][D9]
A[Cm][D9]=2|C
D=AN()
A[Cm][D9]=C
A[AU][At]=C
if D<=0
Rm=2
O_=v
VK=FJ
U_=Ey
S0=At
Qv=AU
VX=-D
Yd=D9
Wy=Cm
v=0
return 1
endif
if A[Aj][Aw]
elif A[Cz][DA] 
T=Cz
U=DA
C=A[AU][At]
A[AU][At]=2|C
C=A[Ey][FJ]
A[Ey][FJ]=2|C
D=AN()
A[Ey][FJ]=C
A[AU][At]=C
if D<=0
Rm=2
O_=v
VK=DA
U_=Cz
S0=At
Qv=AU
VX=-D
Yd=FJ
Wy=Ey
v=0
return 1
endif
endif
elif A[Aj][Aw]
u_()
else
sv()
endif
endfunc
func Aq1()
if Adt()
return B()
endif
if A[F0][El]
if A[Ay][Am]
if A[k7][ew]
if A[lo][fo]
else
T=lo
U=fo
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[Cz][DA]
A[Cz][DA]=2|C
D=AN()
A[Cz][DA]=C
A[Aj][Aw]=C
if D<=0
R1=2
OW=v
VU=fo
UJ=lo
R8=Aw
RD=Aj
WD=-D
Yr=DA
Xe=Cz
v=0
return 1
endif
endif
endif
else
A5=Aj
A6=Aw
T=Ay
U=Am
C=A[Aj][Aw]
A[Aj][Aw]=2|C
D=AN()
A[Aj][Aw]=C
if D<=0
R1=1
OW=v
VU=Am
UJ=Ay
R8=Aw
RD=Aj
WD=-D
v=0
return 1
endif
if A[k7][ew]
if A[lo][fo]
else
T=Ay
U=Am
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[Cz][DA]
A[Cz][DA]=2|C
D=AN()
A[Cz][DA]=C
A[Aj][Aw]=C
if D<=0
R1=2
OW=v
VU=Am
UJ=Ay
R8=Aw
RD=Aj
WD=-D
Yr=DA
Xe=Cz
v=0
return 1
endif
endif
endif
endif
elif A[Cz][DA]
if A[Ay][Am]
if A[F0][El]
return B()
endif
A5=Aj
A6=Aw
T=F0
U=El
C=A[Aj][Aw]
A[Aj][Aw]=2|C
D=AN()
A[Aj][Aw]=C
if D<=0
R1=1
OW=v
VU=El
UJ=F0
R8=Aw
RD=Aj
WD=-D
v=0
return 1
endif
xV()
else
A5=Aj
A6=Aw
T=Ay
U=Am
C=A[Aj][Aw]
A[Aj][Aw]=2|C
D=AN()
A[Aj][Aw]=C
if D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][EC]
A[EU][EC]=2|C
D=AN()
A[EU][EC]=C
A[Ar][Ad]=C
if D<=0
RZ=2
Or=v
V7=Cd
Ut=Cc
Qn=Ad
RK=Ar
Wk=-D
YJ=EC
XW=EU
v=0
return 1
endif
endif
elif A[AW][AY]
s0()
else
t9()
endif
endfunc
func AYH()
if Af8()
return B()
endif
if A[F1][ET]
if A[Ar][Ad]
if A[dw][dE]
if A[le][cr]
else
T=le
U=cr
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[Cv][Cq]
A[Cv][Cq]=2|C
D=AN()
A[Cv][Cq]=C
A[B0][Ak]=C
if D<=0
Ry=2
Ok=v
UV=cr
UP=le
RC=Ak
SP=B0
W5=-D
Xh=Cq
Yy=Cv
v=0
return 1
endif
endif
endif
else
A5=B0
A6=Ak
T=Ar
U=Ad
C=A[B0][Ak]
A[B0][Ak]=2|C
D=AN()
A[B0][Ak]=C
if D<=0
Ry=1
Ok=v
UV=Ad
UP=Ar
RC=Ak
SP=B0
W5=-D
v=0
return 1
endif
if A[dw][dE]
if A[le][cr]
else
T=Ar
U=Ad
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[Cv][Cq]
A[Cv][Cq]=2|C
D=AN()
A[Cv][Cq]=C
A[B0][Ak]=C
if D<=0
Ry=2
Ok=v
UV=Ad
UP=Ar
RC=Ak
SP=B0
W5=-D
Xh=Cq
Yy=Cv
v=0
return 1
endif
endif
endif
endif
elif A[Cv][Cq]
if A[Ar][Ad]
if A[F1][ET]
return B()
endif
A5=B0
A6=Ak
T=F1
U=ET
C=A[B0][Ak]
A[B0][Ak]=2|C
D=AN()
A[B0][Ak]=C
if D<=0
Ry=1
Ok=v
UV=ET
UP=F1
RC=Ak
SP=B0
W5=-D
v=0
return 1
endif
uJ()
else
A5=B0
A6=Ak
T=Ar
U=Ad
C=A[B0][Ak]
A[B0][Ak]=2|C
D=AN()
A[B0][Ak]=C
if D<=0
Ry=1
Ok=v
UV=Ad
UP=Ar
RC=Ak
SP=B0
W5=-D
v=0
return 1
endif
tK()
endif
elif A[dw][dE]
T=F1
U=ET
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[Cv][Cq]
A[Cv][Cq]=2|C
D=AN()
A[Cv][Cq]=C
A[B0][Ak]=C
if D<=0
Ry=2
Ok=v
UV=ET
UP=F1
RC=Ak
SP=B0
W5=-D
Xh=Cq
Yy=Cv
v=0
return 1
endif
if A[Ar][Ad]
uJ()
else
tK()
endif
elif A[le][cr]
T=F1
U=ET
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[Cv][Cq]
A[Cv][Cq]=2|C
D=AN()
A[Cv][Cq]=C
A[B0][Ak]=C
if D<=0
Ry=2
Ok=v
UV=ET
UP=F1
RC=Ak
SP=B0
W5=-D
Xh=Cq
Yy=Cv
v=0
return 1
endif
if A[Ar][Ad]
elif A[Cr][Ch] 
T=Cr
U=Ch
C=A[B0][Ak]
A[B0][Ak]=2|C
C=A[F1][ET]
A[F1][ET]=2|C
D=AN()
A[F1][ET]=C
A[B0][Ak]=C
if D<=0
Ry=2
Ok=v
UV=Ch
UP=Cr
RC=Ak
SP=B0
W5=-D
Xh=ET
Yy=F1
v=0
return 1
endif
endif
elif A[Ar][Ad]
uJ()
else
tK()
endif
endfunc
func Anu()
if AOj()
return B()
endif
if A[EZ][Eu]
if A[B0][Ak]
if A[bH][jw]
if A[mm][fl]
else
T=mm
U=fl
C=A[AU][At]
A[AU][At]=2|C
C=A[Cm][D9]
A[Cm][D9]=2|C
D=AN()
A[Cm][D9]=C
A[AU][At]=C
if D<=0
Sp=2
Oo=v
Uz=fl
TU=mm
Qr=At
Rk=AU
Vx=-D
X8=D9
Yz=Cm
v=0
return 1
endif
endif
endif
else
A5=AU
A6=At
T=B0
U=Ak
C=A[AU][At]
A[AU][At]=2|C
D=AN()
A[AU][At]=C
if D<=0
Sp=1
Oo=v
Uz=Ak
TU=B0
Qr=At
Rk=AU
Vx=-D
v=0
return 1
endif
if A[bH][jw]
if A[mm][fl]
else
T=B0
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
Yz=EZ
v=0
return 1
endif
endif
elif A[B0][Ak]
wz()
else
xj()
endif
endfunc
func Aj1()
if AmL()
return B()
endif
if A[EM][F8]
if A[AU][At]
if A[k7][ew]
if A[dR][m_]
else
T=dR
U=m_
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[Cz][DA]
A[Cz][DA]=2|C
D=AN()
A[Cz][DA]=C
A[Aj][Aw]=C
if D<=0
Qp=2
OX=v
VR=m_
VD=dR
RV=Aw
Sc=Aj
WQ=-D
YN=DA
Yc=Cz
v=0
return 1
endif
endif
endif
else
A5=Aj
A6=Aw
T=AU
U=At
C=A[Aj][Aw]
A[Aj][Aw]=2|C
D=AN()
A[Aj][Aw]=C
if D<=0
Qp=1
OX=v
VR=At
VD=AU
RV=Aw
Sc=Aj
WQ=-D
v=0
return 1
endif
if A[k7][ew]
if A[dR][m_]
else
T=AU
U=At
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[Cz][DA]
A[Cz][DA]=2|C
D=AN()
A[Cz][DA]=C
A[Aj][Aw]=C
if D<=0
Qp=2
OX=v
VR=At
VD=AU
RV=Aw
Sc=Aj
WQ=-D
YN=DA
Yc=Cz
v=0
return 1
endif
endif
endif
endif
elif A[Cz][DA]
if A[AU][At]
if A[EM][F8]
return B()
endif
A5=Aj
A6=Aw
T=EM
U=F8
C=A[Aj][Aw]
A[Aj][Aw]=2|C
D=AN()
A[Aj][Aw]=C
if D<=0
Qp=1
OX=v
VR=F8
VD=EM
RV=Aw
Sc=Aj
WQ=-D
v=0
return 1
endif
u5()
else
A5=Aj
A6=Aw
T=AU
U=At
C=A[Aj][Aw]
A[Aj][Aw]=2|C
D=AN()
A[Aj][Aw]=C
if D<=0
Qp=1
OX=v
VR=At
VD=AU
RV=Aw
Sc=Aj
WQ=-D
v=0
return 1
endif
wH()
endif
elif A[k7][ew]
T=EM
U=F8
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[Cz][DA]
A[Cz][DA]=2|C
D=AN()
A[Cz][DA]=C
A[Aj][Aw]=C
if D<=0
Qp=2
OX=v
VR=F8
VD=EM
RV=Aw
Sc=Aj
WQ=-D
YN=DA
Yc=Cz
v=0
return 1
endif
if A[AU][At]
u5()
else
wH()
endif
elif A[dR][m_]
T=EM
U=F8
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[Cz][DA]
A[Cz][DA]=2|C
D=AN()
A[Cz][DA]=C
A[Aj][Aw]=C
if D<=0
Qp=2
OX=v
VR=F8
VD=EM
RV=Aw
Sc=Aj
WQ=-D
YN=DA
Yc=Cz
v=0
return 1
endif
if A[AU][At]
elif A[Cm][D9] 
T=Cm
U=D9
C=A[Aj][Aw]
A[Aj][Aw]=2|C
C=A[EM][F8]
A[EM][F8]=2|C
D=AN()
A[EM][F8]=C
A[Aj][Aw]=C
if D<=0
Qp=2
OX=v
VR=D9
VD=Cm
RV=Aw
Sc=Aj
WQ=-D
YN=F8
Yc=EM
v=0
return 1
endif
endif
elif A[AU][At]
u5()
else
wH()
endif
endfunc
func ANP()
if AWK()
return B()
endif
if A[Ee][FR]
if A[Aj][Aw]
if A[js][co]
if A[nu][nb]
else
T=nu
U=nb
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Co][Cp]
A[Co][Cp]=2|C
D=AN()
A[Co][Cp]=C
A[Ay][Am]=C
if D<=0
SW=2
Ob=v
VL=nb
TS=nu
Sr=Am
RA=Ay
Wo=-D
X5=Cp
X1=Co
v=0
return 1
endif
endif
endif
else
A5=Ay
A6=Am
T=Aj
U=Aw
C=A[Ay][Am]
A[Ay][Am]=2|C
D=AN()
A[Ay][Am]=C
if D<=0
SW=1
Ob=v
VL=Aw
TS=Aj
Sr=Am
RA=Ay
Wo=-D
v=0
return 1
endif
if A[js][co]
if A[nu][nb]
else
T=Aj
U=Aw
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Co][Cp]
A[Co][Cp]=2|C
D=AN()
A[Co][Cp]=C
A[Ay][Am]=C
if D<=0
SW=2
Ob=v
VL=Aw
TS=Aj
Sr=Am
RA=Ay
Wo=-D
X5=Cp
X1=Co
v=0
return 1
endif
endif
endif
endif
elif A[Co][Cp]
if A[Aj][Aw]
if A[Ee][FR]
return B()
endif
A5=Ay
A6=Am
T=Ee
U=FR
C=A[Ay][Am]
A[Ay][Am]=2|C
D=AN()
A[Ay][Am]=C
if D<=0
SW=1
Ob=v
VL=FR
TS=Ee
Sr=Am
RA=Ay
Wo=-D
v=0
return 1
endif
wU()
else
A5=Ay
A6=Am
T=Aj
U=Aw
C=A[Ay][Am]
A[Ay][Am]=2|C
D=AN()
A[Ay][Am]=C
if D<=0
SW=1
Ob=v
VL=Aw
TS=Aj
Sr=Am
RA=Ay
Wo=-D
v=0
return 1
endif
y1()
endif
elif A[js][co]
T=Ee
U=FR
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Co][Cp]
A[Co][Cp]=2|C
D=AN()
A[Co][Cp]=C
A[Ay][Am]=C
if D<=0
SW=2
Ob=v
VL=FR
TS=Ee
Sr=Am
RA=Ay
Wo=-D
X5=Cp
X1=Co
v=0
return 1
endif
if A[Aj][Aw]
wU()
else
y1()
endif
elif A[nu][nb]
T=Ee
U=FR
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Co][Cp]
A[Co][Cp]=2|C
D=AN()
A[Co][Cp]=C
A[Ay][Am]=C
if D<=0
SW=2
Ob=v
VL=FR
TS=Ee
Sr=Am
RA=Ay
Wo=-D
X5=Cp
X1=Co
v=0
return 1
endif
if A[Aj][Aw]
elif A[Cz][DA] 
T=Cz
U=DA
C=A[Ay][Am]
A[Ay][Am]=2|C
C=A[Ee][FR]
A[Ee][FR]=2|C
D=AN()
A[Ee][FR]=C
A[Ay][Am]=C
if D<=0
SW=2
Ob=v
VL=DA
TS=Cz
Sr=Am
RA=Ay
Wo=-D
X5=FR
X1=Ee
v=0
return 1
endif
endif
elif A[Aj][Aw]
wU()
else
y1()
endif
endfunc
func AOd()
if AFH()
return B()
endif
if A[F5][Ec]
if A[Ay][Am]
if A[aM][Zm]
if A[lH][ko]
else
T=lH
U=ko
C=A[AW][AY]
A[AW][AY]=2|C
C=A[Cc][Cd]
A[Cc][Cd]=2|C
D=AN()
A[Cc][Cd]=C
A[AW][AY]=C
if D<=0
Se=2
P4=v
UB=ko
UX=lH
Qj=AY
RQ=AW
WJ=-D
YF=Cd
XF=Cc
v=0
return 1
endif
endif
endif
else
A5=AW
A6=AY
T=Ay
U=Am
C=A[AW][AY]
A[AW][AY]=2|C
D=AN()
A[AW][AY]=C
if D<=0
Se=1
P4=v
UB=Am
UX=Ay
Qj=AY
RQ=AW
WJ=-D
v=0
return 1
endif
if A[aM][Zm]
if A[lH][ko]
else
T=Ay
U=Am
C=A[AW][AY]
A[AW][AY]=2|C
C=A[Cc][Cd]
A[Cc][Cd]=2|C
D=AN()
A[Cc][Cd]=C
A[AW][AY]=C
if D<=0
Se=2
P4=v
UB=Am
UX=Ay
Qj=AY
RQ=AW
WJ=-D
YF=Cd
XF=Cc
v=0
return 1
endif
endif
endif
endif
elif A[Cc][Cd]
if A[Ay][Am]
if A[F5][Ec]
return B()
endif
A5=AW
A6=AY
T=F5
U=Ec
C=A[AW][AY]
A[AW][AY]=2|C
D=AN()
A[AW][AY]=C
if D<=0
Se=1
P4=v
UB=Ec
UX=F5
Qj=AY
RQ=AW
WJ=-D
v=0
return 1
endif
rz()
else
A5=AW
A6=AY
T=Ay
U=Am
C=A[AW][AY]
A[AW][AY]=2|C
D=AN()
A[AW][AY]=C
if D<=0
Se=1
P4=v
UB=Am
UX=Ay
Qj=AY
RQ=AW
WJ=-D
v=0
return 1
endif
vL()
endif
elif A[aM][Zm]
T=F5
U=Ec
C=A[AW][AY]
A[AW][AY]=2|C
C=A[Cc][Cd]
A[Cc][Cd]=2|C
D=AN()
A[Cc][Cd]=C
A[AW][AY]=C
if D<=0
Se=2
P4=v
UB=Ec
UX=F5
Qj=AY
RQ=AW
WJ=-D
YF=Cd
XF=Cc
v=0
return 1
endif
if A[Ay][Am]
rz()
else
vL()
endif
elif A[lH][ko]
T=F5
U=Ec
C=A[AW][AY]
A[AW][AY]=2|C
C=A[Cc][Cd]
A[Cc][Cd]=2|C
D=AN()
A[Cc][Cd]=C
A[AW][AY]=C
if D<=0
Se=2
P4=v
UB=Ec
UX=F5
Qj=AY
RQ=AW
WJ=-D
YF=Cd
XF=Cc
v=0
return 1
endif
if A[Ay][Am]
elif A[Co][Cp] 
T=Co
U=Cp
C=A[AW][AY]
A[AW][AY]=2|C
C=A[F5][Ec]
A[F5][Ec]=2|C
D=AN()
A[F5][Ec]=C
A[AW][AY]=C
if D<=0
Se=2
P4=v
UB=Cp
UX=Co
Qj=AY
RQ=AW
WJ=-D
YF=Ec
XF=F5
v=0
return 1
endif
endif
elif A[Ay][Am]
rz()
else
vL()
endif
endfunc
func AfS()
if ART()
return B()
endif
if A[E9][EV]
if A[AX][Aa]
if A[kf][bl]
if A[fJ][bA]
else
T=fJ
U=bA
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[D0][D3]
A[D0][D3]=2|C
D=AL()
A[D0][D3]=C
A[A_][Ae]=C
if D<=0
SQ=2
On=w
VP=bA
U4=fJ
SF=Ae
SC=A_
Wj=-D
Y6=D3
YS=D0
w=0
return 1
endif
endif
endif
else
A5=A_
A6=Ae
T=AX
U=Aa
C=A[A_][Ae]
A[A_][Ae]=2|C
D=AL()
A[A_][Ae]=C
if D<=0
SQ=1
On=w
VP=Aa
U4=AX
SF=Ae
SC=A_
Wj=-D
w=0
return 1
endif
if A[kf][bl]
if A[fJ][bA]
else
T=AX
U=Aa
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[D0][D3]
A[D0][D3]=2|C
D=AL()
A[D0][D3]=C
A[A_][Ae]=C
if D<=0
SQ=2
On=w
VP=Aa
U4=AX
SF=Ae
SC=A_
Wj=-D
Y6=D3
YS=D0
w=0
return 1
endif
endif
endif
endif
elif A[D0][D3]
if A[AX][Aa]
if A[E9][EV]
return B()
endif
A5=A_
A6=Ae
T=E9
U=EV
C=A[A_][Ae]
A[A_][Ae]=2|C
D=AL()
A[A_][Ae]=C
if D<=0
SQ=1
On=w
VP=EV
U4=E9
SF=Ae
SC=A_
Wj=-D
w=0
return 1
endif
sy()
else
A5=A_
A6=Ae
T=AX
U=Aa
C=A[A_][Ae]
A[A_][Ae]=2|C
D=AL()
A[A_][Ae]=C
if D<=0
SQ=1
On=w
VP=Aa
U4=AX
SF=Ae
SC=A_
Wj=-D
w=0
return 1
endif
vw()
endif
elif A[kf][bl]
T=E9
U=EV
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[D0][D3]
A[D0][D3]=2|C
D=AL()
A[D0][D3]=C
A[A_][Ae]=C
if D<=0
SQ=2
On=w
VP=EV
U4=E9
SF=Ae
SC=A_
Wj=-D
Y6=D3
YS=D0
w=0
return 1
endif
if A[AX][Aa]
sy()
else
vw()
endif
elif A[fJ][bA]
T=E9
U=EV
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[D0][D3]
A[D0][D3]=2|C
D=AL()
A[D0][D3]=C
A[A_][Ae]=C
if D<=0
SQ=2
On=w
VP=EV
U4=E9
SF=Ae
SC=A_
Wj=-D
Y6=D3
YS=D0
w=0
return 1
endif
if A[AX][Aa]
elif A[Ca][Cb] 
T=Ca
U=Cb
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[E9][EV]
A[E9][EV]=2|C
D=AL()
A[E9][EV]=C
A[A_][Ae]=C
if D<=0
SQ=2
On=w
VP=Cb
U4=Ca
SF=Ae
SC=A_
Wj=-D
Y6=EV
YS=E9
w=0
return 1
endif
endif
elif A[AX][Aa]
sy()
else
vw()
endif
endfunc
func ARL()
if AH1()
return B()
endif
if A[Ed][ES]
if A[Ap][Ab]
if A[c3][ZN]
if A[nt][bq]
else
T=nt
U=bq
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ca][Cb]
A[Ca][Cb]=2|C
D=AL()
A[Ca][Cb]=C
A[AX][Aa]=C
if D<=0
Re=2
Oa=w
Th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Sy=Al
SJ=B2
Vd=-D
Yk=Cy
Xm=Ct
w=0
return 1
endif
if A[AV][Av]
elif A[Cl][DC] 
T=Cl
U=DC
C=A[B2][Al]
A[B2][Al]=2|C
C=A[EP][FF]
A[EP][FF]=2|C
D=AL()
A[EP][FF]=C
A[B2][Al]=C
if D<=0
Sj=2
Ow=w
Tq=DC
VC=Cl
Sy=Al
SJ=B2
Vd=-D
Yk=FF
Xm=EP
w=0
return 1
endif
endif
elif A[AV][Av]
wv()
else
sK()
endif
endfunc
func Ak1()
if AZp()
return B()
endif
if A[Es][FM]
if A[Ao][Ax]
if A[cJ][dV]
if A[mP][lK]
else
T=mP
U=lK
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Cl][DC]
A[Cl][DC]=2|C
D=AL()
A[Cl][DC]=C
A[AV][Av]=C
if D<=0
Rs=2
Of=w
U7=lK
V5=mP
Rp=Av
Qk=AV
W7=-D
YL=DC
Xp=Cl
w=0
return 1
endif
endif
endif
else
A5=AV
A6=Av
T=Ao
U=Ax
C=A[AV][Av]
A[AV][Av]=2|C
D=AL()
A[AV][Av]=C
if D<=0
Rs=1
Of=w
U7=Ax
V5=Ao
Rp=Av
Qk=AV
W7=-D
w=0
return 1
endif
if A[cJ][dV]
if A[mP][lK]
else
T=Ao
U=Ax
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Cl][DC]
A[Cl][DC]=2|C
D=AL()
A[Cl][DC]=C
A[AV][Av]=C
if D<=0
Rs=2
Of=w
U7=Ax
V5=Ao
Rp=Av
Qk=AV
W7=-D
YL=DC
Xp=Cl
w=0
return 1
endif
endif
endif
endif
elif A[Cl][DC]
if A[Ao][Ax]
if A[Es][FM]
return B()
endif
A5=AV
A6=Av
T=Es
U=FM
C=A[AV][Av]
A[AV][Av]=2|C
D=AL()
A[AV][Av]=C
if D<=0
Rs=1
Of=w
U7=FM
V5=Es
Rp=Av
Qk=AV
W7=-D
w=0
return 1
endif
sc()
else
A5=AV
A6=Av
T=Ao
U=Ax
C=A[AV][Av]
A[AV][Av]=2|C
D=AL()
A[AV][Av]=C
if D<=0
Rs=1
Of=w
U7=Ax
V5=Ao
Rp=Av
Qk=AV
W7=-D
w=0
return 1
endif
s5()
endif
elif A[cJ][dV]
T=Es
U=FM
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Cl][DC]
A[Cl][DC]=2|C
D=AL()
A[Cl][DC]=C
A[AV][Av]=C
if D<=0
Rs=2
Of=w
U7=FM
V5=Es
Rp=Av
Qk=AV
W7=-D
YL=DC
Xp=Cl
w=0
return 1
endif
if A[Ao][Ax]
sc()
else
s5()
endif
elif A[mP][lK]
T=Es
U=FM
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Cl][DC]
A[Cl][DC]=2|C
D=AL()
A[Cl][DC]=C
A[AV][Av]=C
if D<=0
Rs=2
Of=w
U7=FM
V5=Es
Rp=Av
Qk=AV
W7=-D
YL=DC
Xp=Cl
w=0
return 1
endif
if A[Ao][Ax]
elif A[D1][D5] 
T=D1
U=D5
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Es][FM]
A[Es][FM]=2|C
D=AL()
A[Es][FM]=C
A[AV][Av]=C
if D<=0
Rs=2
Of=w
U7=D5
V5=D1
Rp=Av
Qk=AV
W7=-D
YL=FM
Xp=Es
w=0
return 1
endif
endif
elif A[Ao][Ax]
sc()
else
s5()
endif
endfunc
func Abm()
if AN1()
return B()
endif
if A[Eo][Ev]
if A[A_][Ae]
if A[hU][df]
if A[mu][eV]
else
T=mu
U=eV
C=A[Ao][Ax]
A[Ao][Ax]=2|C
C=A[D1][D5]
A[D1][D5]=2|C
D=AL()
A[D1][D5]=C
A[Ao][Ax]=C
if D<=0
RH=2
P0=w
TR=eV
Uq=mu
Rn=Ax
Rq=Ao
WZ=-D
Y1=D5
Y4=D1
w=0
return 1
endif
endif
endif
else
A5=Ao
A6=Ax
T=A_
U=Ae
C=A[Ao][Ax]
A[Ao][Ax]=2|C
D=AL()
A[Ao][Ax]=C
if D<=0
RH=1
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][Al]=C
if D<=0
SS=2
Om=w
Tr=CZ
U5=D2
SX=Al
Sv=B2
Vk=-D
Xr=EQ
XN=EY
w=0
return 1
endif
endif
elif A[Ap][Ab]
uQ()
else
rr()
endif
endfunc
func AUZ()
if AX3()
return B()
endif
if A[F2][Eh]
if A[B2][Al]
if A[cJ][dV]
if A[n8][jC]
else
T=n8
U=jC
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Cl][DC]
A[Cl][DC]=2|C
D=AL()
A[Cl][DC]=C
A[AV][Av]=C
if D<=0
Rt=2
Oq=w
TT=jC
TY=n8
S4=Av
RN=AV
Vz=-D
Wt=DC
YK=Cl
w=0
return 1
endif
endif
endif
else
A5=AV
A6=Av
T=B2
U=Al
C=A[AV][Av]
A[AV][Av]=2|C
D=AL()
A[AV][Av]=C
if D<=0
Rt=1
Oq=w
TT=Al
TY=B2
S4=Av
RN=AV
Vz=-D
w=0
return 1
endif
if A[cJ][dV]
if A[n8][jC]
else
T=B2
U=Al
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Cl][DC]
A[Cl][DC]=2|C
D=AL()
A[Cl][DC]=C
A[AV][Av]=C
if D<=0
Rt=2
Oq=w
TT=Al
TY=B2
S4=Av
RN=AV
Vz=-D
Wt=DC
YK=Cl
w=0
return 1
endif
endif
endif
endif
elif A[Cl][DC]
if A[B2][Al]
if A[F2][Eh]
return B()
endif
A5=AV
A6=Av
T=F2
U=Eh
C=A[AV][Av]
A[AV][Av]=2|C
D=AL()
A[AV][Av]=C
if D<=0
Rt=1
Oq=w
TT=Eh
TY=F2
S4=Av
RN=AV
Vz=-D
w=0
return 1
endif
u8()
else
A5=AV
A6=Av
T=B2
U=Al
C=A[AV][Av]
A[AV][Av]=2|C
D=AL()
A[AV][Av]=C
if D<=0
Rt=1
Oq=w
TT=Al
TY=B2
S4=Av
RN=AV
Vz=-D
w=0
return 1
endif
xq()
endif
elif A[cJ][dV]
T=F2
U=Eh
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Cl][DC]
A[Cl][DC]=2|C
D=AL()
A[Cl][DC]=C
A[AV][Av]=C
if D<=0
Rt=2
Oq=w
TT=Eh
TY=F2
S4=Av
RN=AV
Vz=-D
Wt=DC
YK=Cl
w=0
return 1
endif
if A[B2][Al]
u8()
else
xq()
endif
elif A[n8][jC]
T=F2
U=Eh
C=A[AV][Av]
A[AV][Av]=2|C
C=A[Cl][DC]
A[Cl][DC]=2|C
D=AL()
A[Cl][DC]=C
A[AV][Av]=C
if D<=0
Rt=2
Oq=w
TT=Eh
TY=F2
S4=Av
RN=AV
Vz=-D
Wt=DC
YK=Cl
w=0
return 1
endif
if A[B2][Al]
elif A[Ct][Cy] 
T=Ct
U=Cy
C=A[AV][Av]
A[AV][Av]=2|C
C=A[F2][Eh]
A[F2][Eh]=2|C
D=AL()
A[F2][Eh]=C
A[AV][Av]=C
if D<=0
Rt=2
Oq=w
TT=Cy
TY=Ct
S4=Av
RN=AV
Vz=-D
Wt=Eh
YK=F2
w=0
return 1
endif
endif
elif A[B2][Al]
u8()
else
xq()
endif
endfunc
func APW()
if AYf()
return B()
endif
if A[EJ][FH]
if A[AV][Av]
if A[hU][df]
if A[f8][nx]
else
T=f8
U=nx
C=A[Ao][Ax]
A[Ao][Ax]=2|C
C=A[D1][D5]
A[D1][D5]=2|C
D=AL()
A[D1][D5]=C
A[Ao][Ax]=C
if D<=0
Qd=2
Oe=w
Ue=nx
TZ=f8
R5=Ax
RB=Ao
W4=-D
Y5=D5
Xd=D1
w=0
return 1
endif
endif
endif
else
A5=Ao
A6=Ax
T=AV
U=Av
C=A[Ao][Ax]
A[Ao][Ax]=2|C
D=AL()
A[Ao][Ax]=C
if D<=0
Qd=1
Oe=w
Ue=Av
TZ=AV
R5=Ax
RB=Ao
W4=-D
w=0
return 1
endif
if A[hU][df]
if A[f8][nx]
else
T=AV
U=Av
C=A[Ao][Ax]
A[Ao][Ax]=2|C
C=A[D1][D5]
A[D1][D5]=2|C
D=AL()
A[D1][D5]=C
A[Ao][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
endfunc
func Ab2()
if AbZ()
return B()
endif
if A[F3][FE]
if A[Ao][Ax]
if A[kf][bl]
if A[ms][n9]
else
T=ms
U=n9
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[D0][D3]
A[D0][D3]=2|C
D=AL()
A[D0][D3]=C
A[A_][Ae]=C
if D<=0
RP=2
P1=w
Tw=n9
U9=ms
Rh=Ae
RJ=A_
Vl=-D
Yu=D3
YY=D0
w=0
return 1
endif
endif
endif
else
A5=A_
A6=Ae
T=Ao
U=Ax
C=A[A_][Ae]
A[A_][Ae]=2|C
D=AL()
A[A_][Ae]=C
if D<=0
RP=1
P1=w
Tw=Ax
U9=Ao
Rh=Ae
RJ=A_
Vl=-D
w=0
return 1
endif
if A[kf][bl]
if A[ms][n9]
else
T=Ao
U=Ax
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[D0][D3]
A[D0][D3]=2|C
D=AL()
A[D0][D3]=C
A[A_][Ae]=C
if D<=0
RP=2
P1=w
Tw=Ax
U9=Ao
Rh=Ae
RJ=A_
Vl=-D
Yu=D3
YY=D0
w=0
return 1
endif
endif
endif
endif
elif A[D0][D3]
if A[Ao][Ax]
if A[F3][FE]
return B()
endif
A5=A_
A6=Ae
T=F3
U=FE
C=A[A_][Ae]
A[A_][Ae]=2|C
D=AL()
A[A_][Ae]=C
if D<=0
RP=1
P1=w
Tw=FE
U9=F3
Rh=Ae
RJ=A_
Vl=-D
w=0
return 1
endif
sQ()
else
A5=A_
A6=Ae
T=Ao
U=Ax
C=A[A_][Ae]
A[A_][Ae]=2|C
D=AL()
A[A_][Ae]=C
if D<=0
RP=1
P1=w
Tw=Ax
U9=Ao
Rh=Ae
RJ=A_
Vl=-D
w=0
return 1
endif
tt()
endif
elif A[kf][bl]
T=F3
U=FE
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[D0][D3]
A[D0][D3]=2|C
D=AL()
A[D0][D3]=C
A[A_][Ae]=C
if D<=0
RP=2
P1=w
Tw=FE
U9=F3
Rh=Ae
RJ=A_
Vl=-D
Yu=D3
YY=D0
w=0
return 1
endif
if A[Ao][Ax]
sQ()
else
tt()
endif
elif A[ms][n9]
T=F3
U=FE
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[D0][D3]
A[D0][D3]=2|C
D=AL()
A[D0][D3]=C
A[A_][Ae]=C
if D<=0
RP=2
P1=w
Tw=FE
U9=F3
Rh=Ae
RJ=A_
Vl=-D
Yu=D3
YY=D0
w=0
return 1
endif
if A[Ao][Ax]
elif A[D1][D5] 
T=D1
U=D5
C=A[A_][Ae]
A[A_][Ae]=2|C
C=A[F3][FE]
A[F3][FE]=2|C
D=AL()
A[F3][FE]=C
A[A_][Ae]=C
if D<=0
RP=2
P1=w
Tw=D5
U9=D1
Rh=Ae
RJ=A_
Vl=-D
Yu=FE
YY=F3
w=0
return 1
endif
endif
elif A[Ao][Ax]
sQ()
else
tt()
endif
endfunc
func AY5()
if Akc()
return B()
endif
if A[Ex][F4]
if A[A_][Ae]
if A[c3][ZN]
if A[m2][jh]
else
T=m2
U=jh
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ca][Cb]
A[Ca][Cb]=2|C
D=AL()
A[Ca][Cb]=C
A[AX][Aa]=C
if D<=0
T4=2
P3=w
TM=jh
UH=m2
RW=Aa
T1=AX
WO=-D
Wv=Cb
XK=Ca
w=0
return 1
endif
endif
endif
else
A5=AX
A6=Aa
T=A_
U=Ae
C=A[AX][Aa]
A[AX][Aa]=2|C
D=AL()
A[AX][Aa]=C
if D<=0
T4=1
P3=w
TM=Ae
UH=A_
RW=Aa
T1=AX
WO=-D
w=0
return 1
endif
if A[c3][ZN]
if A[m2][jh]
else
T=A_
U=Ae
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ca][Cb]
A[Ca][Cb]=2|C
D=AL()
A[Ca][Cb]=C
A[AX][Aa]=C
if D<=0
T4=2
P3=w
TM=Ae
UH=A_
RW=Aa
T1=AX
WO=-D
Wv=Cb
XK=Ca
w=0
return 1
endif
endif
endif
endif
elif A[Ca][Cb]
if A[A_][Ae]
if A[Ex][F4]
return B()
endif
A5=AX
A6=Aa
T=Ex
U=F4
C=A[AX][Aa]
A[AX][Aa]=2|C
D=AL()
A[AX][Aa]=C
if D<=0
T4=1
P3=w
TM=F4
UH=Ex
RW=Aa
T1=AX
WO=-D
w=0
return 1
endif
t7()
else
A5=AX
A6=Aa
T=A_
U=Ae
C=A[AX][Aa]
A[AX][Aa]=2|C
D=AL()
A[AX][Aa]=C
if D<=0
T4=1
P3=w
TM=Ae
UH=A_
RW=Aa
T1=AX
WO=-D
w=0
return 1
endif
vV()
endif
elif A[c3][ZN]
T=Ex
U=F4
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ca][Cb]
A[Ca][Cb]=2|C
D=AL()
A[Ca][Cb]=C
A[AX][Aa]=C
if D<=0
T4=2
P3=w
TM=F4
UH=Ex
RW=Aa
T1=AX
WO=-D
Wv=Cb
XK=Ca
w=0
return 1
endif
if A[A_][Ae]
t7()
else
vV()
endif
elif A[m2][jh]
T=Ex
U=F4
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ca][Cb]
A[Ca][Cb]=2|C
D=AL()
A[Ca][Cb]=C
A[AX][Aa]=C
if D<=0
T4=2
P3=w
TM=F4
UH=Ex
RW=Aa
T1=AX
WO=-D
Wv=Cb
XK=Ca
w=0
return 1
endif
if A[A_][Ae]
elif A[D0][D3] 
T=D0
U=D3
C=A[AX][Aa]
A[AX][Aa]=2|C
C=A[Ex][F4]
A[Ex][F4]=2|C
D=AL()
A[Ex][F4]=C
A[AX][Aa]=C
if D<=0
T4=2
P3=w
TM=D3
UH=D0
RW=Aa
T1=AX
WO=-D
Wv=F4
XK=Ex
w=0
return 1
endif
endif
elif A[A_][Ae]
t7()
else
vV()
endif
endfunc
func AHk()
if AmV()
return B()
endif
if A[EE][EL]
if A[AS][AZ]
if A[ha][d8]
if A[ek][cA]
else
T=ek
U=cA
C=A[Az][Af]
A[Az][Af]=2|C
C=A[Cs][C_]
A[Cs][C_]=2|C
D=AM()
A[Cs][C_]=C
A[Az][Af]=C
if D<=0
RY=2
PA=x
Up=cA
UW=ek
SA=Af
Sl=Az
Vu=-D
XR=C_
Y7=Cs
x=0
return 1
endif
endif
endif
else
A5=Az
A6=Af
T=AS
U=AZ
C=A[Az][Af]
A[Az][Af]=2|C
D=AM()
A[Az][Af]=C
if D<=0
RY=1
PA=x
Up=AZ
UW=AS
SA=Af
Sl=Az
Vu=-D
x=0
return 1
endif
if A[ha][d8]
if A[ek][cA]
else
T=AS
U=AZ
C=A[Az][Af]
A[Az][Af]=2|C
C=A[Cs][C_]
A[Cs][C_]=2|C
D=AM()
A[Cs][C_]=C
A[Az][Af]=C
if D<=0
RY=2
PA=x
Up=AZ
UW=AS
SA=Af
Sl=Az
Vu=-D
XR=C_
Y7=Cs
x=0
return 1
endif
endif
endif
endif
elif A[Cs][C_]
if A[AS][AZ]
if A[EE][EL]
return B()
endif
A5=Az
A6=Af
T=EE
U=EL
C=A[Az][Af]
A[Az][Af]=2|C
D=AM()
A[Az][Af]=C
if D<=0
RY=1
PA=x
Up=EL
UW=EE
SA=Af
Sl=Az
Vu=-D
x=0
return 1
endif
tm()
else
A5=Az
A6=Af
T=AS
U=AZ
C=A[Az][Af]
A[Az][Af]=2|C
D=AM()
A[Az][Af]=C
if D<=0
RY=1
PA=x
Up=AZ
UW=AS
SA=Af
Sl=Az
Vu=-D
x=0
return 1
endif
tl()
endif
elif A[ha][d8]
T=EE
U=EL
C=A[Az][Af]
A[Az][Af]=2|C
C=A[Cs][C_]
A[Cs][C_]=2|C
D=AM()
A[Cs][C_]=C
A[Az][Af]=C
if D<=0
RY=2
PA=x
Up=EL
UW=EE
SA=Af
Sl=Az
Vu=-D
XR=C_
Y7=Cs
x=0
return 1
endif
if A[AS][AZ]
tm()
else
tl()
endif
elif A[ek][cA]
T=EE
U=EL
C=A[Az][Af]
A[Az][Af]=2|C
C=A[Cs][C_]
A[Cs][C_]=2|C
D=AM()
A[Cs][C_]=C
A[Az][Af]=C
if D<=0
RY=2
PA=x
Up=EL
UW=EE
SA=Af
Sl=Az
Vu=-D
XR=C_
Y7=Cs
x=0
return 1
endif
if A[AS][AZ]
elif A[Ce][Cf] 
T=Ce
U=Cf
C=A[Az][Af]
A[Az][Af]=2|C
C=A[EE][EL]
A[EE][EL]=2|C
D=AM()
A[EE][EL]=C
A[Az][Af]=C
if D<=0
RY=2
PA=x
Up=Cf
UW=Ce
SA=Af
Sl=Az
Vu=-D
XR=EL
Y7=EE
x=0
return 1
endif
endif
elif A[AS][AZ]
tm()
else
tl()
endif
endfunc
func AUX()
if AFt()
return B()
endif
if A[Ek][EK]
if A[Aq][Ac]
if A[bx][Zf]
if A[m3][cs]
else
T=m3
U=cs
C=A[AS][AZ]
A[AS][AZ]=2|C
C=A[Ce][Cf]
A[Ce][Cf]=2|C
D=AM()
A[Ce][Cf]=C
A[AS][AZ]=C
if D<=0
Qe=2
Oy=x
U3=cs
U1=m3
SU=AZ
RX=AS
Vm=-D
Xw=Cf
Z1=Ce
x=0
return 1
endif
endif
endif
else
A5=AS
A6=AZ
T=Aq
U=Ac
C=A[AS][AZ]
A[AS][AZ]=2|C
D=AM()
A[AS][AZ]=C
if D<=0
Qe=1
Oy=x
U3=Ac
U1=Aq
SU=AZ
RX=AS
Vm=-D
x=0
return 1
endif
if A[bx][Zf]
if A[m3][cs]
else
T=Aq
U=Ac
C=A[AS][AZ]
A[AS][AZ]=2|C
C=A[Ce][Cf]
A[Ce][Cf]=2|C
D=AM()
A[Ce][Cf]=C
A[AS][AZ]=C
if D<=0
Qe=2
Oy=x
U3=Ac
U1=Aq
SU=AZ
RX=AS
Vm=-D
Xw=Cf
Z1=Ce
x=0
return 1
endif
endif
endif
endif
elif A[Ce][Cf]
if A[Aq][Ac]
if A[Ek][EK]
return B()
endif
A5=AS
A6=AZ
T=Ek
U=EK
C=A[AS][AZ]
A[AS][AZ]=2|C
D=AM()
A[AS][AZ]=C
if D<=0
Qe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q=-D
x=0
return 1
endif
xx()
else
A5=B1
A6=Ah
T=AT
U=Au
C=A[B1][Ah]
A[B1][Ah]=2|C
D=AM()
A[B1][Ah]=C
if D<=0
SD=1
OY=x
VT=Au
Ty=AT
Qm=Ah
SZ=B1
Wq=-D
x=0
return 1
endif
y5()
endif
elif A[hx][aa]
T=ED
U=F9
C=A[B1][Ah]
A[B1][Ah]=2|C
C=A[Cw][Cu]
A[Cw][Cu]=2|C
D=AM()
A[Cw][Cu]=C
A[B1][Ah]=C
if D<=0
SD=2
OY=x
VT=F9
Ty=ED
Qm=Ah
SZ=B1
Wq=-D
Y8=Cu
Z2=Cw
x=0
return 1
endif
if A[AT][Au]
xx()
else
y5()
endif
elif A[dj][ld]
T=ED
U=F9
C=A[B1][Ah]
A[B1][Ah]=2|C
C=A[Cw][Cu]
A[Cw][Cu]=2|C
D=AM()
A[Cw][Cu]=C
A[B1][Ah]=C
if D<=0
SD=2
OY=x
VT=F9
Ty=ED
Qm=Ah
SZ=B1
Wq=-D
Y8=Cu
Z2=Cw
x=0
return 1
endif
if A[AT][Au]
elif A[Ck][D8] 
T=Ck
U=D8
C=A[B1][Ah]
A[B1][Ah]=2|C
C=A[ED][F9]
A[ED][F9]=2|C
D=AM()
A[ED][F9]=C
A[B1][Ah]=C
if D<=0
SD=2
OY=x
VT=D8
Ty=Ck
Qm=Ah
SZ=B1
Wq=-D
Y8=F9
Z2=ED
x=0
return 1
endif
endif
elif A[AT][Au]
xx()
else
y5()
endif
endfunc
func Aja()
if AKj()
return B()
endif
if A[Ej][FK]
if A[An][As]
if A[d4][hM]
if A[lO][n_]
else
T=lO
U=n_
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ck][D8]
A[Ck][D8]=2|C
D=AM()
A[Ck][D8]=C
A[AT][Au]=C
if D<=0
T3=2
Oz=x
VM=n_
UT=lO
R9=Au
Rz=AT
WM=-D
Ye=D8
Y0=Ck
x=0
return 1
endif
endif
endif
else
A5=AT
A6=Au
T=An
U=As
C=A[AT][Au]
A[AT][Au]=2|C
D=AM()
A[AT][Au]=C
if D<=0
T3=1
Oz=x
VM=As
UT=An
R9=Au
Rz=AT
WM=-D
x=0
return 1
endif
if A[d4][hM]
if A[lO][n_]
else
T=An
U=As
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ck][D8]
A[Ck][D8]=2|C
D=AM()
A[Ck][D8]=C
A[AT][Au]=C
if D<=0
T3=2
Oz=x
VM=As
UT=An
R9=Au
Rz=AT
WM=-D
Ye=D8
Y0=Ck
x=0
return 1
endif
endif
endif
endif
elif A[Ck][D8]
if A[An][As]
if A[Ej][FK]
return B()
endif
A5=AT
A6=Au
T=Ej
U=FK
C=A[AT][Au]
A[AT][Au]=2|C
D=AM()
A[AT][Au]=C
if D<=0
T3=1
Oz=x
VM=FK
UT=Ej
R9=Au
Rz=AT
WM=-D
x=0
return 1
endif
te()
else
A5=AT
A6=Au
T=An
U=As
C=A[AT][Au]
A[AT][Au]=2|C
D=AM()
A[AT][Au]=C
if D<=0
T3=1
Oz=x
VM=As
UT=An
R9=Au
Rz=AT
WM=-D
x=0
return 1
endif
uN()
endif
elif A[d4][hM]
T=Ej
U=FK
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ck][D8]
A[Ck][D8]=2|C
D=AM()
A[Ck][D8]=C
A[AT][Au]=C
if D<=0
T3=2
Oz=x
VM=FK
UT=Ej
R9=Au
Rz=AT
WM=-D
Ye=D8
Y0=Ck
x=0
return 1
endif
if A[An][As]
te()
else
uN()
endif
elif A[lO][n_]
T=Ej
U=FK
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ck][D8]
A[Ck][D8]=2|C
D=AM()
A[Ck][D8]=C
A[AT][Au]=C
if D<=0
T3=2
Oz=x
VM=FK
UT=Ej
R9=Au
Rz=AT
WM=-D
Ye=D8
Y0=Ck
x=0
return 1
endif
if A[An][As]
elif A[Cx][D6] 
T=Cx
U=D6
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ej][FK]
A[Ej][FK]=2|C
D=AM()
A[Ej][FK]=C
A[AT][Au]=C
if D<=0
T3=2
Oz=x
VM=D6
UT=Cx
R9=Au
Rz=AT
WM=-D
Ye=FK
Y0=Ej
x=0
return 1
endif
endif
elif A[An][As]
te()
else
uN()
endif
endfunc
func AoH()
if AUN()
return B()
endif
if A[F7][Ep]
if A[Az][Af]
if A[dq][fm]
if A[mE][eX]
else
T=mE
U=eX
C=A[An][As]
A[An][As]=2|C
C=A[Cx][D6]
A[Cx][D6]=2|C
D=AM()
A[Cx][D6]=C
A[An][As]=C
if D<=0
SV=2
OV=x
Ur=eX
UM=mE
SH=As
RS=An
WF=-D
Yb=D6
Xx=Cx
x=0
return 1
endif
endif
endif
else
A5=An
A6=As
T=Az
U=Af
C=A[An][As]
A[An][As]=2|C
D=AM()
A[An][As]=C
if D<=0
SV=1
OV=x
Ur=Af
UM=Az
SH=As
RS=An
WF=-D
x=0
return 1
endif
if A[dq][fm]
if A[mE][eX]
else
T=Az
U=Af
C=A[An][As]
A[An][As]=2|C
C=A[Cx][D6]
A[Cx][D6]=2|C
D=AM()
A[Cx][D6]=C
A[An][As]=C
if D<=0
SV=2
OV=x
Ur=Af
UM=Az
SH=As
RS=An
WF=-D
Yb=D6
Xx=Cx
x=0
return 1
endif
endif
endif
endif
elif A[Cx][D6]
if A[Az][Af]
if A[F7][Ep]
return B()
endif
A5=An
A6=As
T=F7
U=Ep
C=A[An][As]
A[An][As]=2|C
D=AM()
A[An][As]=C
if D<=0
SV=1
OV=x
Ur=Ep
UM=F7
SH=As
RS=An
WF=-D
x=0
return 1
endif
sU()
else
A5=An
A6=As
T=Az
U=Af
C=A[An][As]
A[An][As]=2|C
D=AM()
A[An][As]=C
if D<=0
SV=1
OV=x
Ur=Af
UM=Az
SH=As
RS=An
WF=-D
x=0
return 1
endif
sR()
endif
elif A[dq][fm]
T=F7
U=Ep
C=A[An][As]
A[An][As]=2|C
C=A[Cx][D6]
A[Cx][D6]=2|C
D=AM()
A[Cx][D6]=C
A[An][As]=C
if D<=0
SV=2
OV=x
Ur=Ep
UM=F7
SH=As
RS=An
WF=-D
Yb=D6
Xx=Cx
x=0
return 1
endif
if A[Az][Af]
sU()
else
sR()
endif
elif A[mE][eX]
T=F7
U=Ep
C=A[An][As]
A[An][As]=2|C
C=A[Cx][D6]
A[Cx][D6]=2|C
D=AM()
A[Cx][D6]=C
A[An][As]=C
if D<=0
SV=2
OV=x
Ur=Ep
UM=F7
SH=As
RS=An
WF=-D
Yb=D6
Xx=Cx
x=0
return 1
endif
if A[Az][Af]
elif A[Cs][C_] 
T=Cs
U=C_
C=A[An][As]
A[An][As]=2|C
C=A[F7][Ep]
A[F7][Ep]=2|C
D=AM()
A[F7][Ep]=C
A[An][As]=C
if D<=0
SV=2
OV=x
Ur=C_
UM=Cs
SH=As
RS=An
WF=-D
Yb=Ep
Xx=F7
x=0
return 1
endif
endif
elif A[Az][Af]
sU()
else
sR()
endif
endfunc
func AR1()
if Ah3()
return B()
endif
if A[EN][EH]
if A[AS][AZ]
if A[ks][ZK]
if A[eW][bw]
else
T=eW
U=bw
C=A[Aq][Ac]
A[Aq][Ac]=2|C
C=A[D4][Cj]
A[D4][Cj]=2|C
D=AM()
A[D4][Cj]=C
A[Aq][Ac]=C
if D<=0
Rb=2
Oh=x
TN=bw
V8=eW
Rx=Ac
RU=Aq
Wn=-D
Xz=Cj
X6=D4
x=0
return 1
endif
endif
endif
else
A5=Aq
A6=Ac
T=AS
U=AZ
C=A[Aq][Ac]
A[Aq][Ac]=2|C
D=AM()
A[Aq][Ac]=C
if D<=0
Rb=1
Oh=x
TN=AZ
V8=AS
Rx=Ac
RU=Aq
Wn=-D
x=0
return 1
endif
if A[ks][ZK]
if A[eW][bw]
else
T=AS
U=AZ
C=A[Aq][Ac]
A[Aq][Ac]=2|C
C=A[D4][Cj]
A[D4][Cj]=2|C
D=AM()
A[D4][Cj]=C
A[Aq][Ac]=C
if D<=0
Rb=2
Oh=x
TN=AZ
V8=AS
Rx=Ac
RU=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L=Cw
x=0
return 1
endif
if A[Aq][Ac]
wK()
else
s6()
endif
elif A[mH][aY]
T=EW
U=EA
C=A[B1][Ah]
A[B1][Ah]=2|C
C=A[Cw][Cu]
A[Cw][Cu]=2|C
D=AM()
A[Cw][Cu]=C
A[B1][Ah]=C
if D<=0
SB=2
Op=x
UZ=EA
Tm=EW
SE=Ah
Sx=B1
WX=-D
Yv=Cu
XL=Cw
x=0
return 1
endif
if A[Aq][Ac]
elif A[D4][Cj] 
T=D4
U=Cj
C=A[B1][Ah]
A[B1][Ah]=2|C
C=A[EW][EA]
A[EW][EA]=2|C
D=AM()
A[EW][EA]=C
A[B1][Ah]=C
if D<=0
SB=2
Op=x
UZ=Cj
Tm=D4
SE=Ah
Sx=B1
WX=-D
Yv=EA
XL=EW
x=0
return 1
endif
endif
elif A[Aq][Ac]
wK()
else
s6()
endif
endfunc
func AP3()
if AeD()
return B()
endif
if A[Et][En]
if A[B1][Ah]
if A[d4][hM]
if A[nO][dM]
else
T=nO
U=dM
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ck][D8]
A[Ck][D8]=2|C
D=AM()
A[Ck][D8]=C
A[AT][Au]=C
if D<=0
RL=2
OT=x
Tc=dM
UL=nO
T0=Au
Qq=AT
W1=-D
Xk=D8
Xn=Ck
x=0
return 1
endif
endif
endif
else
A5=AT
A6=Au
T=B1
U=Ah
C=A[AT][Au]
A[AT][Au]=2|C
D=AM()
A[AT][Au]=C
if D<=0
RL=1
OT=x
Tc=Ah
UL=B1
T0=Au
Qq=AT
W1=-D
x=0
return 1
endif
if A[d4][hM]
if A[nO][dM]
else
T=B1
U=Ah
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ck][D8]
A[Ck][D8]=2|C
D=AM()
A[Ck][D8]=C
A[AT][Au]=C
if D<=0
RL=2
OT=x
Tc=Ah
UL=B1
T0=Au
Qq=AT
W1=-D
Xk=D8
Xn=Ck
x=0
return 1
endif
endif
endif
endif
elif A[Ck][D8]
if A[B1][Ah]
if A[Et][En]
return B()
endif
A5=AT
A6=Au
T=Et
U=En
C=A[AT][Au]
A[AT][Au]=2|C
D=AM()
A[AT][Au]=C
if D<=0
RL=1
OT=x
Tc=En
UL=Et
T0=Au
Qq=AT
W1=-D
x=0
return 1
endif
uW()
else
A5=AT
A6=Au
T=B1
U=Ah
C=A[AT][Au]
A[AT][Au]=2|C
D=AM()
A[AT][Au]=C
if D<=0
RL=1
OT=x
Tc=Ah
UL=B1
T0=Au
Qq=AT
W1=-D
x=0
return 1
endif
ru()
endif
elif A[d4][hM]
T=Et
U=En
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ck][D8]
A[Ck][D8]=2|C
D=AM()
A[Ck][D8]=C
A[AT][Au]=C
if D<=0
RL=2
OT=x
Tc=En
UL=Et
T0=Au
Qq=AT
W1=-D
Xk=D8
Xn=Ck
x=0
return 1
endif
if A[B1][Ah]
uW()
else
ru()
endif
elif A[nO][dM]
T=Et
U=En
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Ck][D8]
A[Ck][D8]=2|C
D=AM()
A[Ck][D8]=C
A[AT][Au]=C
if D<=0
RL=2
OT=x
Tc=En
UL=Et
T0=Au
Qq=AT
W1=-D
Xk=D8
Xn=Ck
x=0
return 1
endif
if A[B1][Ah]
elif A[Cw][Cu] 
T=Cw
U=Cu
C=A[AT][Au]
A[AT][Au]=2|C
C=A[Et][En]
A[Et][En]=2|C
D=AM()
A[Et][En]=C
A[AT][Au]=C
if D<=0
RL=2
OT=x
Tc=Cu
UL=Cw
T0=Au
Qq=AT
W1=-D
Xk=En
Xn=Et
x=0
return 1
endif
endif
elif A[B1][Ah]
uW()
else
ru()
endif
endfunc
func AJn()
if AR2()
return B()
endif
if A[E7][FD]
if A[AT][Au]
if A[dq][fm]
if A[jH][l9]
else
T=jH
U=l9
C=A[An][As]
A[An][As]=2|C
C=A[Cx][D6]
A[Cx][D6]=2|C
D=AM()
A[Cx][D6]=C
A[An][As]=C
if D<=0
Ss=2
P9=x
UF=l9
Uc=jH
Sk=As
T2=An
Vw=-D
Yh=D6
Xv=Cx
x=0
return 1
endif
endif
endif
else
A5=An
A6=As
T=AT
U=Au
C=A[An][As]
A[An][As]=2|C
D=AM()
A[An][As]=C
if D<=0
Ss=1
P9=x
UF=Au
Uc=AT
Sk=As
T2=An
Vw=-D
x=0
return 1
endif
if A[dq][fm]
if A[jH][l9]
else
T=AT
U=Au
C=A[An][As]
A[An][As]=2|C
C=A[Cx][D6]
A[Cx][D6]=2|C
D=AM()
A[Cx][D6]=C
A[An][As]=C
if D<=0
Ss=2
P9=x
UF=Au
Uc=AT
Sk=As
T2=An
Vw=-D
Yh=D6
Xv=Cx
x=0
return 1
endif
endif
endif
endif
elif A[Cx][D6]
if A[AT][Au]
if A[E7][FD]
return B()
endif
A5=An
A6=As
T=E7
U=FD
C=A[An][As]
A[An][As]=2|C
D=AM()
A[An][As]=C
if D<=0
Ss=1
P9=x
UF=FD
Uc=E7
Sk=As
T2=An
Vw=-D
x=0
return 1
endif
yD()
else
A5=An
A6=As
T=AT
U=Au
C=A[An][As]
A[An][As]=2|C
D=AM()
A[An][As]=C
if D<=0
Ss=1
P9=x
UF=Au
Uc=AT
Sk=As
T2=An
Vw=-D
x=0
return 1
endif
vS()
endif
elif A[dq][fm]
T=E7
U=FD
C=A[An][As]
A[An][As]=2|C
C=A[Cx][D6]
A[Cx][D6]=2|C
D=AM()
A[Cx][D6]=C
A[An][As]=C
if D<=0
Ss=2
P9=x
UF=FD
Uc=E7
Sk=As
T2=An
Vw=-D
Yh=D6
Xv=Cx
x=0
return 1
endif
if A[AT][Au]
yD()
else
vS()
endif
elif A[jH][l9]
T=E7
U=FD
C=A[An][As]
A[An][As]=2|C
C=A[Cx][D6]
A[Cx][D6]=2|C
D=AM()
A[Cx][D6]=C
A[An][As]=C
if D<=0
Ss=2
P9=x
UF=FD
Uc=E7
Sk=As
T2=An
Vw=-D
Yh=D6
Xv=Cx
x=0
return 1
endif
if A[AT][Au]
elif A[Ck][D8] 
T=Ck
U=D8
C=A[An][As]
A[An][As]=2|C
C=A[E7][FD]
A[E7][FD]=2|C
D=AM()
A[E7][FD]=C
A[An][As]=C
if D<=0
Ss=2
P9=x
UF=D8
Uc=Ck
Sk=As
T2=An
Vw=-D
Yh=FD
Xv=E7
x=0
return 1
endif
endif
elif A[AT][Au]
yD()
else
vS()
endif
endfunc
func AHO()
if Akx()
return B()
endif
if A[EX][FL]
if A[An][As]
if A[ha][d8]
if A[n5][nP]
else
T=n5
U=nP
C=A[Az][Af]
A[Az][Af]=2|C
C=A[Cs][C_]
A[Cs][C_]=2|C
D=AM()
A[Cs][C_]=C
A[Az][Af]=C
if D<=0
Sm=2
Ox=x
Ux=nP
UR=n5
Sb=Af
RE=Az
We=-D
YW=C_
XE=Cs
x=0
return 1
endif
endif
endif
else
A5=Az
A6=Af
T=An
U=As
C=A[Az][Af]
A[Az][Af]=2|C
D=AM()
A[Az][Af]=C
if D<=0
Sm=1
Ox=x
Ux=As
UR=An
Sb=Af
RE=Az
We=-D
x=0
return 1
endif
if A[ha][d8]
if A[n5][nP]
else
T=An
U=As
C=A[Az][Af]
A[Az][Af]=2|C
C=A[Cs][C_]
A[Cs][C_]=2|C
D=AM()
A[Cs][C_]=C
A[Az][Af]=C
if D<=0
Sm=2
Ox=x
Ux=As
UR=An
Sb=Af
RE=Az
We=-D
YW=C_
XE=Cs
x=0
return 1
endif
endif
endif
endif
elif A[Cs][C_]
if A[An][As]
if A[EX][FL]
return B()
endif
A5=Az
A6=Af
T=EX
U=FL
C=A[Az][Af]
A[Az][Af]=2|C
D=AM()
A[Az][Af]=C
if D<=0
Sm=1
Ox=x
Ux=FL
UR=EX
Sb=Af
RE=Az
We=-D
x=0
return 1
endif
vB()
else
A5=Az
A6=Af
T=An
U=As
C=A[Az][Af]
A[Az][Af]=2|C
D=AM()
A[Az][Af]=C
if D<=0
Sm=1
Ox=x
Ux=As
UR=An
Sb=Af
RE=Az
We=-D
x=0
return 1
endif
wS()
endif
elif A[ha][d8]
T=EX
U=FL
C=A[Az][Af]
A[Az][Af]=2|C
C=A[Cs][C_]
A[Cs][C_]=2|C
D=AM()
A[Cs][C_]=C
A[Az][Af]=C
if D<=0
Sm=2
Ox=x
Ux=FL
UR=EX
Sb=Af
RE=Az
We=-D
YW=C_
XE=Cs
x=0
return 1
endif
if A[An][As]
vB()
else
wS()
endif
elif A[n5][nP]
T=EX
U=FL
C=A[Az][Af]
A[Az][Af]=2|C
C=A[Cs][C_]
A[Cs][C_]=2|C
D=AM()
A[Cs][C_]=C
A[Az][Af]=C
if D<=0
Sm=2
Ox=x
Ux=FL
UR=EX
Sb=Af
RE=Az
We=-D
YW=C_
XE=Cs
x=0
return 1
endif
if A[An][As]
elif A[Cx][D6] 
T=Cx
U=D6
C=A[Az][Af]
A[Az][Af]=2|C
C=A[EX][FL]
A[EX][FL]=2|C
D=AM()
A[EX][FL]=C
A[Az][Af]=C
if D<=0
Sm=2
Ox=x
Ux=D6
UR=Cx
Sb=Af
RE=Az
We=-D
YW=FL
XE=EX
x=0
return 1
endif
endif
elif A[An][As]
vB()
else
wS()
endif
endfunc
func ASY()
if AS3()
return B()
endif
if A[Ea][Er]
if A[Az][Af]
if A[bx][Zf]
if A[lj][fU]
else
T=lj
U=fU
C=A[AS][AZ]
A[AS][AZ]=2|C
C=A[Ce][Cf]
A[Ce][Cf]=2|C
D=AM()
A[Ce][Cf]=C
A[AS][AZ]=C
if D<=0
SN=2
OZ=x
TX=fU
TW=lj
Qz=AZ
Qf=AS
Vo=-D
Yt=Cf
Xl=Ce
x=0
return 1
endif
endif
endif
else
A5=AS
A6=AZ
T=Az
U=Af
C=A[AS][AZ]
A[AS][AZ]=2|C
D=AM()
A[AS][AZ]=C
if D<=0
SN=1
OZ=x
TX=Af
TW=Az
Qz=AZ
Qf=AS
Vo=-D
x=0
return 1
endif
if A[bx][Zf]
if A[lj][fU]
else
T=Az
U=Af
C=A[AS][AZ]
A[AS][AZ]=2|C
C=A[Ce][Cf]
A[Ce][Cf]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endif
endif
elif A[Az][Af]
wy()
else
s1()
endif
endfunc
func A5C()
return Fo
endfunc
func AFm()
Fo=0
endfunc
func AfO()
Fo=Fo-1
CQ=be[Fo]
De=az[Fo]
endfunc
func ADF()
return Fn
endfunc
func AZ9()
Fn=0
endfunc
func AaB()
Fn=Fn-1
CQ=cn[Fn]
De=bT[Fn]
endfunc
func ACH()
return Fp
endfunc
func AOR()
Fp=0
endfunc
func AVp()
Fp=Fp-1
CQ=bp[Fp]
De=bN[Fp]
endfunc
func AbT()
if rc
fK=B()
else
fK=1+gb_remaining_turns()
if fK>gb_turns_before_enabling_syzygies()
fK=gb_turns_before_enabling_syzygies()
endif
endif
endfunc
func B0J(BO,BQ)
if B5[BO][BQ]>=DB[BO][BQ]
yb=B5[BO][BQ]
else
yb=DB[BO][BQ]
endif
return yb
endfunc
func Aam()
return yx
endfunc
func AVy()
yx=1
endfunc
func Aje()
yx=B()
endfunc
func Aof()
Aje()
if a3
AOl()
elif Bo
if OK
AeA()
else
AXJ()
endif
else 
APV()
endif
jU()
AVy()
endfunc
func AOl()
if B_
tA()
rw()
us()
if Pa
qq()
my()
qE()
elif b[Bo]&2
ABX()
endif
else
qq()
my()
qE()
if b[Bo]&2
_k()
endif
endif
endfunc
func AeA()
rw()
us()
qq()
qE()
if B_
tA()
if Pa
my()
elif b[Bo]&2
ABX()
endif
elif b[Bo]&2
_k()
endif
endfunc
func A6S()
if B_
tA()
if Pa
my()
endif
else
my()
endif
endfunc
func AXJ()
if b[B_]&1
Af_()
endif
rw()
qq()
A6S()
endfunc
func APV()
if b[B_]&1
AR6()
endif
qE()
us()
A6S()
endfunc
func ABX()
if DB[Bo][Pa]>=AH
elif B5[Bo][Pa]<B4
ABA()
endif
endfunc
func _k()
if DB[Bo][Pa]>=AH
elif B5[Bo][Pa]<B4
A0f()
endif
endfunc
func AR6()
if DB[OK][B_]>=AH
elif B5[OK][B_]<B4
A7M()
A9o()
endif
endfunc
func Af_()
if DB[OK][B_]>=AH
elif B5[OK][B_]<B4
ADu()
zK()
endif
endfunc
func rw()
if DB[AW][AY]>=AH
elif B5[AW][AY]<B4
A7M()
endif
endfunc
func A7M()
C3=gb_random_value(999999)
endfunc
func qq()
if DB[Ar][Ad]>=AH
elif B5[Ar][Ad]<B4
A9o()
endif
endfunc
func A9o()
C6=gb_random_value(999999)
endfunc
func my()
if DB[B0][Ak]>=AH
elif B5[B0][Ak]<B4
ABA()
endif
endfunc
func ABA()
Bz=gb_random_value(999999)
endfunc
func qE()
if DB[AU][At]>=AH
elif B5[AU][At]<B4
ADu()
endif
endfunc
func ADu()
Br=gb_random_value(999999)
endfunc
func us()
if DB[Aj][Aw]>=AH
elif B5[Aj][Aw]<B4
zK()
endif
endfunc
func zK()
Bl=gb_random_value(999999)
endfunc
func tA()
if DB[Ay][Am]>=AH
elif B5[Ay][Am]<B4
A0f()
endif
endfunc
func A0f()
BX=gb_random_value(999999)
endfunc
func Abt()
return A2s
endfunc
func AVw()
A2s=1
endfunc
func ATM()
A2s=B()
endfunc
func AaV()
ATM()
if ZA
AHY()
elif Bn
if OF
Akf()
else
AHP()
endif
else 
AYz()
endif
h8()
AVw()
endfunc
func AHY()
if Bw
wf()
uP()
tr()
if PL
pC()
mh()
rn()
elif b[Bn]&2
A39()
endif
else
pC()
mh()
rn()
if b[Bn]&2
A0r()
endif
endif
endfunc
func Akf()
uP()
tr()
pC()
rn()
if Bw
wf()
if PL
mh()
elif b[Bn]&2
A39()
endif
elif b[Bn]&2
A0r()
endif
endfunc
func zz()
if Bw
wf()
if PL
mh()
endif
else
mh()
endif
endfunc
func AHP()
if b[Bw]&1
AW1()
endif
uP()
pC()
zz()
endfunc
func AYz()
if b[Bw]&1
AMS()
endif
rn()
tr()
zz()
endfunc
func A39()
if DB[Bn][PL]>=AH
elif B5[Bn][PL]<B4
A94()
endif
endfunc
func A0r()
if DB[Bn][PL]>=AH
elif B5[Bn][PL]<B4
ABp()
endif
endfunc
func AMS()
if DB[OF][Bw]>=AH
elif B5[OF][Bw]<B4
A4N()
A6w()
endif
endfunc
func AW1()
if DB[OF][Bw]>=AH
elif B5[OF][Bw]<B4
A70()
A8v()
endif
endfunc
func uP()
if DB[AX][Aa]>=AH
elif B5[AX][Aa]<B4
A4N()
endif
endfunc
func A4N()
C4=gb_random_value(999999)
endfunc
func pC()
if DB[Ap][Ab]>=AH
elif B5[Ap][Ab]<B4
A6w()
endif
endfunc
func A6w()
C5=gb_random_value(999999)
endfunc
func mh()
if DB[B2][Al]>=AH
elif B5[B2][Al]<B4
A94()
endif
endfunc
func A94()
By=gb_random_value(999999)
endfunc
func rn()
if DB[AV][Av]>=AH
elif B5[AV][Av]<B4
A70()
endif
endfunc
func A70()
Bt=gb_random_value(999999)
endfunc
func tr()
if DB[Ao][Ax]>=AH
elif B5[Ao][Ax]<B4
A8v()
endif
endfunc
func A8v()
Bm=gb_random_value(999999)
endfunc
func wf()
if DB[A_][Ae]>=AH
elif B5[A_][Ae]<B4
ABp()
endif
endfunc
func ABp()
BW=gb_random_value(999999)
endfunc
func ASB()
return A55
endfunc
func AL0()
A55=1
endfunc
func AjC()
A55=B()
endfunc
func Am5()
AjC()
if Zy
AFo()
elif Bp
if OR
AYc()
else
ApU()
endif
else 
Apn()
endif
jb()
AL0()
endfunc
func AFo()
if C0
wW()
u7()
x7()
if PR
o2()
lJ()
rl()
elif b[Bp]&2
A8a()
endif
else
o2()
lJ()
rl()
if b[Bp]&2
A3d()
endif
endif
endfunc
func AYc()
u7()
x7()
o2()
rl()
if C0
wW()
if PR
lJ()
elif b[Bp]&2
A8a()
endif
elif b[Bp]&2
A3d()
endif
endfunc
func A09()
if C0
wW()
if PR
lJ()
endif
else
lJ()
endif
endfunc
func ApU()
if b[C0]&1
AHw()
endif
u7()
o2()
A09()
endfunc
func Apn()
if b[C0]&1
Aef()
endif
rl()
x7()
A09()
endfunc
func A8a()
if DB[Bp][PR]>=AH
elif B5[Bp][PR]<B4
A15()
endif
endfunc
func A3d()
if DB[Bp][PR]>=AH
elif B5[Bp][PR]<B4
A6R()
endif
endfunc
func Aef()
if DB[OR][C0]>=AH
elif B5[OR][C0]<B4
yQ()
_3()
endif
endfunc
func AHw()
if DB[OR][C0]>=AH
elif B5[OR][C0]<B4
AB8()
ADE()
endif
endfunc
func u7()
if DB[AS][AZ]>=AH
elif B5[AS][AZ]<B4
yQ()
endif
endfunc
func yQ()
C2=gb_random_value(999999)
endfunc
func o2()
if DB[Aq][Ac]>=AH
elif B5[Aq][Ac]<B4
_3()
endif
endfunc
func _3()
C1=gb_random_value(999999)
endfunc
func lJ()
if DB[B1][Ah]>=AH
elif B5[B1][Ah]<B4
A15()
endif
endfunc
func A15()
Bx=gb_random_value(999999)
endfunc
func rl()
if DB[AT][Au]>=AH
elif B5[AT][Au]<B4
AB8()
endif
endfunc
func AB8()
Bs=gb_random_value(999999)
endfunc
func x7()
if DB[An][As]>=AH
elif B5[An][As]<B4
ADE()
endif
endfunc
func ADE()
Bk=gb_random_value(999999)
endfunc
func wW()
if DB[Az][Af]>=AH
elif B5[Az][Af]<B4
A6R()
endif
endfunc
func A6R()
BV=gb_random_value(999999)
endfunc
func S7(tH,uF)
DO=tH
DV=uF
return MO()
endfunc
func A8p(An7,Aay,tH,uF)
Nu=An7
OB=Aay
DO=tH
DV=uF
return MO()
endfunc
func A2t()
DO=ABT
DV=A0D
return MO()
endfunc
func A2Y()
DO=_a
DV=zb
return MO()
endfunc
func A67()
DO=A1A
DV=A40
return MO()
endfunc
func A85()
DO=ACT
DV=A1n
return MO()
endfunc
func AAE()
DO=A5j
DV=A7f
return MO()
endfunc
func AEH()
DO=A8d
DV=A5w
return MO()
endfunc
func ADX()
DO=A2N
DV=AB0
return MO()
endfunc
func yU()
DO=A56
DV=AAl
return MO()
endfunc
func MO()
AlB=OB+(Nu/2)
APr=OB-((Nu+1)/2)
x1=DV+(DO/2)
wY=DV-((DO+1)/2)
cb=DO-Nu
YE=x1-AlB
X2=wY-APr
eO=tB(cb)
hV=tB(YE)
Zq=tB(X2)
if eO>=hV
if eO>=Zq
return eO
endif
return Zq
elif hV>=Zq
return hV
endif
return Zq
endfunc
func tB(Yj)
if Yj>=B()
return Yj
endif
return -Yj
endfunc
func Aoe()
if eO>=hV
if eO>Zq
if hV>=Zq
if cb>=B()
th()
else
sV()
endif
else
if cb>=B()
uY()
else
s_()
endif
endif
else
if X2>=B()
s_()
else
uY()
endif
endif
elif hV>Zq
if eO>=Zq
if YE>=B()
th()
else
sV()
endif
else
if YE>=B()
oz()
else
qb()
endif
endif
else
if X2>=B()
oz()
else
qb()
endif
endif
endfunc
func AZe()
Do=999
Kc=899
MD=8
MM=Cn
ME=F6
xf(Ne,Nj,1)
Da=B()
if Kd==1
if Kb==1
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Nj
MM=Ne
elif C8<Do
Do=C8
KZ=DW
KE=Nj
Kj=Ne
Mq=1
Ml=1
endif
xf(NB,Nh,2)
Da=B()
if Kd==1
if Kb==2
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Nh
MM=NB
elif C8<Do
Do=C8
KZ=DW
KE=Nh
Kj=NB
Mq=1
Ml=2
endif
xf(NA,NW,3)
Da=B()
if Kd==1
if Kb==3
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=NW
MM=NA
elif C8<Do
Do=C8
KZ=DW
KE=NW
Kj=NA
Mq=1
Ml=3
endif
if Kc<Do+3
Do=Kc
KZ=MD
KE=ME
Kj=MM
Mq=Kd
Ml=Kb
else
O3=B()
endif
endfunc
func xf(BO,BQ,VN)
Nu=BO
OB=BQ
if Kd==1
if Kb==VN
return T7()
endif
endif
if DB[Nu][OB]>=BM
if S7(NF,NP)<=3
DW=AA
C8=999
return 999
endif
if S7(NZ,NV)<=3
DW=AA
C8=999
return 999
endif
endif
return T7()
endfunc
func AcF()
Do=999
Kc=899
MD=8
MM=Cn
ME=F6
ss(LY,Lt,1)
Da=B()
if Kd==0
if Kb==1
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Lt
MM=LY
elif C8<Do
Do=C8
KZ=DW
KE=Lt
Kj=LY
Mq=0
Ml=1
endif
ss(Lp,Lu,2)
Da=B()
if Kd==0
if Kb==2
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Lu
MM=Lp
elif C8<Do
Do=C8
KZ=DW
KE=Lu
Kj=Lp
Mq=0
Ml=2
endif
ss(Lk,Lm,3)
Da=B()
if Kd==0
if Kb==3
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Lm
MM=Lk
elif C8<Do
Do=C8
KZ=DW
KE=Lm
Kj=Lk
Mq=0
Ml=3
endif
if Kc<Do+3
Do=Kc
KZ=MD
KE=ME
Kj=MM
Mq=Kd
Ml=Kb
else
O3=B()
endif
endfunc
func ss(BO,BQ,VN)
Nu=BO
OB=BQ
if Kd==0
if Kb==VN
return T7()
endif
endif
if DB[Nu][OB]>=BM
if S7(NF,NP)<=3
DW=AA
C8=999
return 999
endif
if S7(NZ,NV)<=3
DW=AA
C8=999
return 999
endif
endif
return T7()
endfunc
func Aj2()
Do=999
Kc=899
MD=8
MM=Cn
ME=F6
y4(LY,Lt,1)
Da=B()
if Kd==0
if Kb==1
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Lt
MM=LY
elif C8<Do
Do=C8
KZ=DW
KE=Lt
Kj=LY
Mq=0
Ml=1
endif
y4(Lp,Lu,2)
Da=B()
if Kd==0
if Kb==2
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Lu
MM=Lp
elif C8<Do
Do=C8
KZ=DW
KE=Lu
Kj=Lp
Mq=0
Ml=2
endif
y4(Lk,Lm,3)
Da=B()
if Kd==0
if Kb==3
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Lm
MM=Lk
elif C8<Do
Do=C8
KZ=DW
KE=Lm
Kj=Lk
Mq=0
Ml=3
endif
wx(Nf,NQ,1)
Da=B()
if Kd==3
if Kb==1
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=NQ
MM=Nf
elif C8<Do
Do=C8
KZ=DW
KE=NQ
Kj=Nf
Mq=3
Ml=1
endif
wx(NU,NY,2)
Da=B()
if Kd==3
if Kb==2
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=NY
MM=NU
elif C8<Do
Do=C8
KZ=DW
KE=NY
Kj=NU
Mq=3
Ml=2
endif
wx(NM,NT,3)
Da=B()
if Kd==3
if Kb==3
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=NT
MM=NM
elif C8<Do
Do=C8
KZ=DW
KE=NT
Kj=NM
Mq=3
Ml=3
endif
if Kc<Do+3
Do=Kc
KZ=MD
KE=ME
Kj=MM
Mq=Kd
Ml=Kb
else
O3=B()
endif
endfunc
func y4(BO,BQ,VN)
Nu=BO
OB=BQ
if Kd==0
if Kb==VN
return T7()
endif
endif
if DB[Nu][OB]>=BM
if S7(N6,N7)<=3
DW=AA
C8=999
return 999
endif
if S7(NZ,NV)<=3
DW=AA
C8=999
return 999
endif
endif
return T7()
endfunc
func wx(BO,BQ,VN)
Nu=BO
OB=BQ
if Kd==3
if Kb==VN
return T7()
endif
endif
if DB[Nu][OB]>=BM
if S7(Nn,Nx)<=3
DW=AA
C8=999
return 999
endif
if S7(N6,N7)<=3
DW=AA
C8=999
return 999
endif
endif
return T7()
endfunc
func Am_()
Do=999
Kc=899
MD=8
MM=Cn
ME=F6
un(LY,Lt,1)
Da=B()
if Kd==0
if Kb==1
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Lt
MM=LY
elif C8<Do
Do=C8
KZ=DW
KE=Lt
Kj=LY
Mq=0
Ml=1
endif
un(Lp,Lu,2)
Da=B()
if Kd==0
if Kb==2
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Lu
MM=Lp
elif C8<Do
Do=C8
KZ=DW
KE=Lu
Kj=Lp
Mq=0
Ml=2
endif
un(Lk,Lm,3)
Da=B()
if Kd==0
if Kb==3
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Lm
MM=Lk
elif C8<Do
Do=C8
KZ=DW
KE=Lm
Kj=Lk
Mq=0
Ml=3
endif
sN(NR,NC,1)
Da=B()
if Kd==2
if Kb==1
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=NC
MM=NR
elif C8<Do
Do=C8
KZ=DW
KE=NC
Kj=NR
Mq=2
Ml=1
endif
sN(N8,N9,2)
Da=B()
if Kd==2
if Kb==2
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=N9
MM=N8
elif C8<Do
Do=C8
KZ=DW
KE=N9
Kj=N8
Mq=2
Ml=2
endif
sN(Nb,Na,3)
Da=B()
if Kd==2
if Kb==3
Da=1
endif
endif
if Da
Kc=C8
MD=DW
ME=Na
MM=Nb
elif C8<Do
Do=C8
KZ=DW
KE=Na
Kj=Nb
Mq=2
Ml=3
endif
if Kc<Do+3
Do=Kc
KZ=MD
KE=ME
Kj=MM
Mq=Kd
Ml=Kb
else
O3=B()
endif
endfunc
func un(BO,BQ,VN)
Nu=BO
OB=BQ
if Kd==0
if Kb==VN
return T7()
endif
endif
if DB[Nu][OB]>=BM
if S7(N6,N7)<=3
DW=AA
C8=999
return 999
endif
if S7(NF,NP)<=3
DW=AA
C8=999
return 999
endif
endif
return T7()
endfunc
func sN(BO,BQ,VN)
Nu=BO
OB=BQ
if Kd==2
if Kb==VN
return T7()
endif
endif
if DB[Nu][OB]>=BM
if S7(Nn,Nx)<=3
DW=AA
C8=999
return 999
endif
if S7(N6,N7)<=3
DW=AA
C8=999
return 999
endif
endif
return T7()
endfunc
func T7()
C8=S7(CW,CS)
DW=8
A4J=AMP+A2t()
if A4J<C8
C8=A4J
DW=0
endif
A02=AFw+A2Y()
if A02<C8
C8=A02
DW=1
endif
A24=AkP+A67()
if A24<C8
C8=A24
DW=2
endif
AED=AeM+A85()
if AED<C8
C8=AED
DW=3
endif
yW=Abh+AAE()
if yW<C8
C8=yW
DW=4
endif
A6s=ASy+AEH()
if A6s<C8
C8=A6s
DW=5
endif
A6M=AOS+ADX()
if A6M<C8
C8=A6M
DW=6
endif
_v=AcC+yU()
if _v<C8
C8=_v
DW=7
endif
return C8
endfunc
func AVq()
Nu=CW
OB=CS
AMP=AAE()+1
AFw=AEH()+1
AkP=ADX()+1
AeM=yU()+1
Abh=A2t()+1
ASy=A2Y()+1
AOS=A67()+1
AcC=A85()+1
endfunc
func APP()
Afr()
AVq()
ASJ()
Ako()
if KZ==8
AJf()
else
AJV()
endif
if gb_agent_status(gb_team_id(),B())
AC[B()]=AA
else
B3B=1
Afb()
endif
yp()
AFq()
endfunc
func Ako()
if gb_team_id()>=2
if gb_team_id()>=3
Am_()
else
Aj2()
endif
elif gb_team_id()
AcF()
else
AZe()
endif
endfunc
func AJV()
KZ=(KZ+4)%8
Kj=Zh[KZ]
KE=Z8[KZ]
Do=A8p(CW,CS,Kj,KE)
O3=B()
if Do
Aoe()
else
AfC()
endif
endfunc
func AfC()
if KZ>=4
if KZ>=6
APb()
else
AEa()
endif
elif KZ>=2
AX9()
else
AS9()
endif
endfunc
func AJf()
Al2()
B4f=A8p(CW,CS,Kj,KE)
At9=BAt
if ALX()
APY()
endif
Aor()
endfunc
func ALX()
if O3>=3
if O3>=4
if wY>=A76
if X2>=B()
return 1
endif
endif
else
if x1<=A87
if YE<=B()
return 1
endif
endif
endif
elif O3
if O3>=2
if wY<=A76
if X2<=B()
return 1
endif
endif
else
if x1>=A87
if YE>=B()
return 1
endif
endif
endif
else
return 1
endif
endfunc
func APY()
if Kj<ZO
if KE<PF
O3=1
else
O3=2
endif
elif KE<PF
O3=4
else
O3=3
endif
endfunc
func ASJ()
O3=b[551]
if O3
Kd=b[552]
Kb=b[553]
else
Kd=AA
Kb=AA
endif
endfunc
func AFq()
b[551]=O3
b[552]=Mq
b[553]=Ml
endfunc
func sV()
DX=DX*400
DZ=DZ*20
CB=CB*20
endfunc
func AwE()
DX=DX*400
DZ=DZ*400
DY=DY*20
CB=CB*20
CY=B()
CL=B()
endfunc
func xF()
DY=B()
CY=B()
CL=B()
CB=B()
endfunc
func nv()
DZ=B()
xF()
endfunc
func Al4()
DX=DX*20
xF()
endfunc
func AYw()
DZ=DZ*20
xF()
endfunc
func s_()
DZ=DZ*400
DY=DY*20
DX=DX*20
endfunc
func AUh()
DZ=DZ*400
DY=DY*400
CY=CY*20
DX=DX*20
CL=B()
CB=B()
endfunc
func rX()
CY=B()
CL=B()
CB=B()
DX=B()
endfunc
func oV()
DY=B()
rX()
endfunc
func A9p()
DZ=DZ*20
rX()
endfunc
func AjZ()
DY=DY*20
rX()
endfunc
func oz()
DY=DY*400
CY=CY*20
DZ=DZ*20
endfunc
func AOm()
DY=DY*400
CY=CY*400
CL=CL*20
DZ=DZ*20
CB=B()
DX=B()
endfunc
func o9()
CL=B()
CB=B()
DX=B()
DZ=B()
endfunc
func qh()
CY=B()
o9()
endfunc
func AKe()
DY=DY*20
o9()
endfunc
func A3_()
CY=CY*20
o9()
endfunc
func th()
CY=CY*400
CL=CL*20
DY=DY*20
endfunc
func B6Y()
CY=CY*400
CL=CL*400
CB=CB*20
DY=DY*20
DX=B()
DZ=B()
endfunc
func sk()
CB=B()
DX=B()
DZ=B()
DY=B()
endfunc
func rE()
CL=B()
sk()
endfunc
func ALN()
CY=CY*20
sk()
endfunc
func Aph()
CL=CL*20
sk()
endfunc
func uY()
CL=CL*400
CB=CB*20
CY=CY*20
endfunc
func Aoq()
CL=CL*400
CB=CB*400
DX=DX*20
CY=CY*20
DZ=B()
DY=B()
endfunc
func pQ()
DX=B()
DZ=B()
DY=B()
CY=B()
endfunc
func pV()
CB=B()
pQ()
endfunc
func ADc()
CL=CL*20
pQ()
endfunc
func AhW()
CB=CB*20
pQ()
endfunc
func qb()
CB=CB*400
DX=DX*20
CL=CL*20
endfunc
func AO5()
CB=CB*400
DX=DX*400
DZ=DZ*20
CL=CL*20
DY=B()
CY=B()
endfunc
func q2()
DZ=B()
DY=B()
CY=B()
CL=B()
endfunc
func p_()
DX=B()
q2()
endfunc
func AMW()
CB=CB*20
q2()
endfunc
func A1l()
DX=DX*20
q2()
endfunc
func oK()
DX=B()
nv()
endfunc
func AS9()
DX=DX*400
DZ=DZ*400
endfunc
func AX9()
CB=CB*400
endfunc
func AEa()
CY=CY*400
CL=CL*400
endfunc
func APb()
DY=DY*400
endfunc
func Al2()
if CW==1
DX=B()
DZ=B()
elif Zl==1
CY=B()
CL=B()
endif
if CS==1
CB=B()
if X9
CL=B()
DX=B()
endif
elif fp==1
DY=B()
if X9
DZ=B()
CY=B()
endif
endif
AEe=AD-Kj
if gb_agent_status(Mq,Ml)
q0=1
qA=1
A4w=1
ov=1
oU=1
ACS=1
elif Kj%2
wr=L-KE
if KE
if wr
else
qA=1
A4w=1
ov=1
endif
else
oU=1
ACS=1
q0=1
endif
else
wr=Z-KE
if KE
if wr
else
A4w=1
endif
else
ACS=1
endif
if Kj
if AEe
else
ov=1
oU=1
endif
else
q0=1
qA=1
endif
endif
endfunc
func Aor()
if O3>=3
if O3>=4
APh()
else
AZc()
endif
elif O3>=2
AVW()
else
Aez()
endif
endfunc
func Aez()
JW=cb
Jy=X2
TV=YE
if TV>=B()
if JW<Jy
oz()
elif JW==Jy
AOm()
else
th()
endif
else
if Jy>=B()
if JW==AA
oV()
else
A9p()
endif
elif JW>=B()
if Jy==AA
pV()
else
Aph()
endif
elif TV==E2
if oU
nv()
elif qA
p_()
else
oK()
endif
elif Jy<=JW
if Jy==JW
q2()
elif JW==AA
p_()
else
AMW()
endif
elif Jy==AA
nv()
else
A1l()
endif
endif
endfunc 
func AVW()
JW=-YE
Jy=cb
TV=-X2
if TV>=B()
if JW<Jy
uY()
elif JW==Jy
Aoq()
else
qb()
endif
else
if Jy>=B()
if JW==AA
rE()
else
ALN()
endif
elif JW>=B()
if Jy==AA
nv()
else
A1l()
endif
elif TV==E2
if q0
qh()
elif ov
oV()
else
oK()
endif
elif Jy<=JW
if Jy==JW
rX()
elif JW==AA
oV()
else
A9p()
endif
elif Jy==AA
qh()
else
AjZ()
endif
endif
endfunc 
func AZc()
JW=-cb
Jy=-X2
TV=-YE
if TV>=B()
if JW<Jy
qb()
elif JW==Jy
AO5()
else
sV()
endif
else
if Jy>=B()
if JW==AA
pV()
else
ADc()
endif
elif JW>=B()
if Jy==AA
oV()
else
AYw()
endif
elif TV==E2
if qA
rE()
elif oU
qh()
else
oK()
endif
elif Jy<=JW
if Jy==JW
o9()
elif JW==AA
qh()
else
AKe()
endif
elif Jy==AA
rE()
else
A3_()
endif
endif
endfunc 
func APh()
JW=YE
Jy=-cb
TV=X2
if TV>=B()
if JW<Jy
s_()
elif JW==Jy
AUh()
else
oz()
endif
else
if Jy>=B()
if JW==AA
nv()
else
Al4()
endif
elif JW>=B()
if Jy==AA
rE()
else
A3_()
endif
elif TV==E2
if ov
p_()
elif q0
pV()
else
oK()
endif
elif Jy<=JW
if Jy==JW
pQ()
elif JW==AA
pV()
else
ADc()
endif
elif Jy==AA
p_()
else
AhW()
endif
endif
endfunc 
func AL1()
mr=OD
while mr
mr=mr-1
ASv()
endwhile
lc=Z
while lc>O4
Ao1()
lc=lc-1
endwhile
N1=AJ+3
while N1
N1=N1-1
AK0()
endwhile
AFk()
ALs()
AnU()
D_=Nq
while D_
D_=D_-1
ASd()
endwhile
D_=nW
while D_
D_=D_-2
AhR()
endwhile
D_=Nq
while D_>B()
D_=D_-2
ARc()
endwhile
ANj()
endfunc
func ANj()
if hL
else
S[B()][OD]=1
S[B()][O4]=1
S[AD][OD]=1
S[AD][O4]=1
endif
endfunc
func ASv()
D_=mr*2+2
while D_
D_=D_-2
N1=mr-D_/2
S[D_][N1]=1
S[D_+1][N1]=1
S[A1B-D_][L-N1]=1
S[AD-D_][Z-N1]=1
endwhile
endfunc
func Ao1()
D_=(L-lc)*2
while D_
D_=D_-2
N1=lc+D_/2
S[D_][N1]=1
S[D_+1][N1+1]=1
S[A1B-D_][Z-N1]=1
S[AD-D_][Z-N1]=1
endwhile
endfunc
func ARc()
if b[D_]&2
else
S[D_][B()]=1
S[D_][L]=1
endif
endfunc
func AhR()
S[D_][L]=2
endfunc
func ASd()
S[D_][AA]=2
S[D_][E2]=2
S[D_][R2]=2
S[D_][AJ]=2
S[D_][AV3]=2
S[D_][AMJ]=2
endfunc
func AK0()
S[AA][N1]=2
S[E2][N1]=2
S[R2][N1]=2
S[Nq][N1]=2
S[nW][N1]=2
S[nr][N1]=2
endfunc
func AFk()
S[AA][AA]=2
S[E2][AA]=2
S[R2][AA]=2
S[Nq][AA]=2
S[nW][AA]=2
S[nr][AA]=2
endfunc
func ALs()
S[AA][E2]=2
S[E2][E2]=2
S[R2][E2]=2
S[Nq][E2]=2
S[nW][E2]=2
S[nr][E2]=2
endfunc
func AnU()
S[AA][R2]=2
S[E2][R2]=2
S[R2][R2]=2
S[Nq][R2]=2
S[nW][R2]=2
S[nr][R2]=2
endfunc
func BAX()
D_=nr
while D_>=R2
N1=AJ+2
while N1>=R2
N1=N1-1
endwhile
D_=D_-1
endwhile
endfunc
func AK5()
B3c=987654
T5=B()
Un=B()
if 0==gb_team_id()
else
t=ATC()
if t>=AR
T5=T5|1
else
endif
if Un<t
Un=t
endif
endif
if 1==gb_team_id()
else
u=AVf()
if u>=AR
T5=T5|2
else
endif
if Un<u
Un=u
endif
endif
if 2==gb_team_id()
else
s=AUm()
if s>=AR
T5=T5|4
else
endif
if Un<s
Un=s
endif
endif
if 3==gb_team_id()
else
r=AXd()
if r>=AR
T5=T5|8
else
endif
if Un<r
Un=r
endif
endif
if gb_team_id()>=2
if gb_team_id()>=3
rc=(T5 & 7)
else
rc=(T5 & 11)
endif
elif gb_team_id()
rc=(T5 & 13)
else
rc=(T5 & 14)
endif
endfunc
func ASm()
while r6()
q8()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CE[M][A3]
if A3
Fu[BB]=M
Fz[BB]=A3
BB=BB+1
else
t=B4
return t
endif
elif B8[M][A3]
Y=M
X=A3
F=B8[Y][X]
if A3
elif F>=B4
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CE[Q][P]
if P
Fu[BB]=Q
Fz[BB]=P
BB=BB+1
else
t=B4
return t
endif
elif B8[Q][P]
Y=Q
X=P
F=B8[Y][X]
if P
elif F>=B4
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CE[R][P]
if P
Fu[BB]=R
Fz[BB]=P
BB=BB+1
else
t=B4
return t
endif
elif B8[R][P]
Y=R
X=P
F=B8[Y][X]
if P
elif F>=B4
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CE[R][O]
if O
Fu[BB]=R
Fz[BB]=O
BB=BB+1
else
t=B4
return t
endif
elif B8[R][O]
Y=R
X=O
F=B8[Y][X]
if O
elif F>=B4
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CE[Q][O]
if O
Fu[BB]=Q
Fz[BB]=O
BB=BB+1
else
t=B4
return t
endif
elif B8[Q][O]
Y=Q
X=O
F=B8[Y][X]
if O
elif F>=B4
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CE[M][A2]
if A2
Fu[BB]=M
Fz[BB]=A2
BB=BB+1
else
t=B4
return t
endif
elif B8[M][A2]
Y=M
X=A2
F=B8[Y][X]
if A2
elif F>=B4
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
endwhile
endfunc
func AP6()
while pF()
pm()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CE[M][A3]
if A3
MQ[Bb]=M
MS[Bb]=A3
Bb=Bb+1
else
t=AH
return t
endif
elif B8[M][A3]
Y=M
X=A3
F=B8[Y][X]
if A3
elif F>=AH
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CE[Q][P]
if P
MQ[Bb]=Q
MS[Bb]=P
Bb=Bb+1
else
t=AH
return t
endif
elif B8[Q][P]
Y=Q
X=P
F=B8[Y][X]
if P
elif F>=AH
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CE[R][P]
if P
MQ[Bb]=R
MS[Bb]=P
Bb=Bb+1
else
t=AH
return t
endif
elif B8[R][P]
Y=R
X=P
F=B8[Y][X]
if P
elif F>=AH
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CE[R][O]
if O
MQ[Bb]=R
MS[Bb]=O
Bb=Bb+1
else
t=AH
return t
endif
elif B8[R][O]
Y=R
X=O
F=B8[Y][X]
if O
elif F>=AH
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CE[Q][O]
if O
MQ[Bb]=Q
MS[Bb]=O
Bb=Bb+1
else
t=AH
return t
endif
elif B8[Q][O]
Y=Q
X=O
F=B8[Y][X]
if O
elif F>=AH
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CE[M][A2]
if A2
MQ[Bb]=M
MS[Bb]=A2
Bb=Bb+1
else
t=AH
return t
endif
elif B8[M][A2]
Y=M
X=A2
F=B8[Y][X]
if A2
elif F>=AH
t=F
return t
elif F>t
t=F
endif
DU()
endif
endif
endwhile
endfunc
func AKb()
while oq()
pD()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CE[M][A3]
if A3
MV[Bf]=M
MB[Bf]=A3
Bf=Bf+1
else
t=AR
return t
endif
elif B8[M][A3]
Y=M
X=A3
F=B8[Y][X]
if A3
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Mh()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CE[Q][P]
if P
MV[Bf]=Q
MB[Bf]=P
Bf=Bf+1
else
t=AR
return t
endif
elif B8[Q][P]
Y=Q
X=P
F=B8[Y][X]
if P
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Mh()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CE[R][P]
if P
MV[Bf]=R
MB[Bf]=P
Bf=Bf+1
else
t=AR
return t
endif
elif B8[R][P]
Y=R
X=P
F=B8[Y][X]
if P
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Mh()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CE[R][O]
if O
MV[Bf]=R
MB[Bf]=O
Bf=Bf+1
else
t=AR
return t
endif
elif B8[R][O]
Y=R
X=O
F=B8[Y][X]
if O
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Mh()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CE[Q][O]
if O
MV[Bf]=Q
MB[Bf]=O
Bf=Bf+1
else
t=AR
return t
endif
elif B8[Q][O]
Y=Q
X=O
F=B8[Y][X]
if O
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Mh()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CE[M][A2]
if A2
MV[Bf]=M
MB[Bf]=A2
Bf=Bf+1
else
t=AR
return t
endif
elif B8[M][A2]
Y=M
X=A2
F=B8[Y][X]
if A2
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Mh()
endif
endif
endwhile
endfunc
func AEl()
while qM()
ph()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CE[M][A3]
if A3
MF[Bd]=M
ML[Bd]=A3
Bd=Bd+1
else
t=BM
return t
endif
elif B8[M][A3]
Y=M
X=A3
F=B8[Y][X]
if A3
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mj()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CE[Q][P]
if P
MF[Bd]=Q
ML[Bd]=P
Bd=Bd+1
else
t=BM
return t
endif
elif B8[Q][P]
Y=Q
X=P
F=B8[Y][X]
if P
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mj()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CE[R][P]
if P
MF[Bd]=R
ML[Bd]=P
Bd=Bd+1
else
t=BM
return t
endif
elif B8[R][P]
Y=R
X=P
F=B8[Y][X]
if P
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mj()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CE[R][O]
if O
MF[Bd]=R
ML[Bd]=O
Bd=Bd+1
else
t=BM
return t
endif
elif B8[R][O]
Y=R
X=O
F=B8[Y][X]
if O
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mj()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CE[Q][O]
if O
MF[Bd]=Q
ML[Bd]=O
Bd=Bd+1
else
t=BM
return t
endif
elif B8[Q][O]
Y=Q
X=O
F=B8[Y][X]
if O
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mj()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CE[M][A2]
if A2
MF[Bd]=M
ML[Bd]=A2
Bd=Bd+1
else
t=BM
return t
endif
elif B8[M][A2]
Y=M
X=A2
F=B8[Y][X]
if A2
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mj()
endif
endif
endwhile
endfunc
func AUf()
while q5()
rh()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CE[M][A3]
if A3
MK[Be]=M
MN[Be]=A3
Be=Be+1
else
t=BN
return t
endif
elif B8[M][A3]
Y=M
X=A3
F=B8[Y][X]
if A3
elif F>=BN
t=F
return t
elif F>t
t=F
endif
LL()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CE[Q][P]
if P
MK[Be]=Q
MN[Be]=P
Be=Be+1
else
t=BN
return t
endif
elif B8[Q][P]
Y=Q
X=P
F=B8[Y][X]
if P
elif F>=BN
t=F
return t
elif F>t
t=F
endif
LL()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CE[R][P]
if P
MK[Be]=R
MN[Be]=P
Be=Be+1
else
t=BN
return t
endif
elif B8[R][P]
Y=R
X=P
F=B8[Y][X]
if P
elif F>=BN
t=F
return t
elif F>t
t=F
endif
LL()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CE[R][O]
if O
MK[Be]=R
MN[Be]=O
Be=Be+1
else
t=BN
return t
endif
elif B8[R][O]
Y=R
X=O
F=B8[Y][X]
if O
elif F>=BN
t=F
return t
elif F>t
t=F
endif
LL()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CE[Q][O]
if O
MK[Be]=Q
MN[Be]=O
Be=Be+1
else
t=BN
return t
endif
elif B8[Q][O]
Y=Q
X=O
F=B8[Y][X]
if O
elif F>=BN
t=F
return t
elif F>t
t=F
endif
LL()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CE[M][A2]
if A2
MK[Be]=M
MN[Be]=A2
Be=Be+1
else
t=BN
return t
endif
elif B8[M][A2]
Y=M
X=A2
F=B8[Y][X]
if A2
elif F>=BN
t=F
return t
elif F>t
t=F
endif
LL()
endif
endif
endwhile
endfunc
func AVm()
while pp()
pJ()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CE[M][A3]
if A3
Dm[AQ]=M
Dr[AQ]=A3
AQ=AQ+1
else
t=D7
return t
endif
elif B8[M][A3]
if A3
else
t=F
return t
endif
Dm[AQ]=M
Dr[AQ]=A3
AQ=AQ+1
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CE[Q][P]
if P
Dm[AQ]=Q
Dr[AQ]=P
AQ=AQ+1
else
t=D7
return t
endif
elif B8[Q][P]
if P
else
t=F
return t
endif
Dm[AQ]=Q
Dr[AQ]=P
AQ=AQ+1
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CE[R][P]
if P
Dm[AQ]=R
Dr[AQ]=P
AQ=AQ+1
else
t=D7
return t
endif
elif B8[R][P]
if P
else
t=F
return t
endif
Dm[AQ]=R
Dr[AQ]=P
AQ=AQ+1
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CE[R][O]
if O
Dm[AQ]=R
Dr[AQ]=O
AQ=AQ+1
else
t=D7
return t
endif
elif B8[R][O]
if O
else
t=F
return t
endif
Dm[AQ]=R
Dr[AQ]=O
AQ=AQ+1
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CE[Q][O]
if O
Dm[AQ]=Q
Dr[AQ]=O
AQ=AQ+1
else
t=D7
return t
endif
elif B8[Q][O]
if O
else
t=F
return t
endif
Dm[AQ]=Q
Dr[AQ]=O
AQ=AQ+1
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CE[M][A2]
if A2
Dm[AQ]=M
Dr[AQ]=A2
AQ=AQ+1
else
t=D7
return t
endif
elif B8[M][A2]
if A2
else
t=F
return t
endif
Dm[AQ]=M
Dr[AQ]=A2
AQ=AQ+1
endif
endif
endwhile
endfunc
func AYE()
while rB()
qT()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CE[Q][P]
if Q
Kk[BS]=Q
Kh[BS]=P
BS=BS+1
else
t=B4
return t
endif
elif B8[Q][P]
Y=Q
X=P
F=B8[Y][X]
if Q
elif F>=B4
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CE[Q][O]
if Q
Kk[BS]=Q
Kh[BS]=O
BS=BS+1
else
t=B4
return t
endif
elif B8[Q][O]
Y=Q
X=O
F=B8[Y][X]
if Q
elif F>=B4
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CE[M][A2]
if M
Kk[BS]=M
Kh[BS]=A2
BS=BS+1
else
t=B4
return t
endif
elif B8[M][A2]
Y=M
X=A2
F=B8[Y][X]
if M
elif F>=B4
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CE[M][A3]
if M
Kk[BS]=M
Kh[BS]=A3
BS=BS+1
else
t=B4
return t
endif
elif B8[M][A3]
Y=M
X=A3
F=B8[Y][X]
if M
elif F>=B4
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CE[R][P]
if R
Kk[BS]=R
Kh[BS]=P
BS=BS+1
else
t=B4
return t
endif
elif B8[R][P]
Y=R
X=P
F=B8[Y][X]
if R
elif F>=B4
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CE[R][O]
if R
Kk[BS]=R
Kh[BS]=O
BS=BS+1
else
t=B4
return t
endif
elif B8[R][O]
Y=R
X=O
F=B8[Y][X]
if R
elif F>=B4
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
endwhile
endfunc
func Anh()
while pH()
pA()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CE[Q][P]
if Q
MX[Bj]=Q
MZ[Bj]=P
Bj=Bj+1
else
t=AH
return t
endif
elif B8[Q][P]
Y=Q
X=P
F=B8[Y][X]
if Q
elif F>=AH
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CE[Q][O]
if Q
MX[Bj]=Q
MZ[Bj]=O
Bj=Bj+1
else
t=AH
return t
endif
elif B8[Q][O]
Y=Q
X=O
F=B8[Y][X]
if Q
elif F>=AH
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CE[M][A2]
if M
MX[Bj]=M
MZ[Bj]=A2
Bj=Bj+1
else
t=AH
return t
endif
elif B8[M][A2]
Y=M
X=A2
F=B8[Y][X]
if M
elif F>=AH
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CE[M][A3]
if M
MX[Bj]=M
MZ[Bj]=A3
Bj=Bj+1
else
t=AH
return t
endif
elif B8[M][A3]
Y=M
X=A3
F=B8[Y][X]
if M
elif F>=AH
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CE[R][P]
if R
MX[Bj]=R
MZ[Bj]=P
Bj=Bj+1
else
t=AH
return t
endif
elif B8[R][P]
Y=R
X=P
F=B8[Y][X]
if R
elif F>=AH
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CE[R][O]
if R
MX[Bj]=R
MZ[Bj]=O
Bj=Bj+1
else
t=AH
return t
endif
elif B8[R][O]
Y=R
X=O
F=B8[Y][X]
if R
elif F>=AH
t=F
return t
elif F>t
t=F
endif
Dh()
endif
endif
endwhile
endfunc
func AMj()
while pZ()
pq()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CE[Q][P]
if Q
MC[Bh]=Q
MY[Bh]=P
Bh=Bh+1
else
t=AR
return t
endif
elif B8[Q][P]
Y=Q
X=P
F=B8[Y][X]
if Q
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Me()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CE[Q][O]
if Q
MC[Bh]=Q
MY[Bh]=O
Bh=Bh+1
else
t=AR
return t
endif
elif B8[Q][O]
Y=Q
X=O
F=B8[Y][X]
if Q
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Me()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CE[M][A2]
if M
MC[Bh]=M
MY[Bh]=A2
Bh=Bh+1
else
t=AR
return t
endif
elif B8[M][A2]
Y=M
X=A2
F=B8[Y][X]
if M
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Me()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CE[M][A3]
if M
MC[Bh]=M
MY[Bh]=A3
Bh=Bh+1
else
t=AR
return t
endif
elif B8[M][A3]
Y=M
X=A3
F=B8[Y][X]
if M
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Me()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CE[R][P]
if R
MC[Bh]=R
MY[Bh]=P
Bh=Bh+1
else
t=AR
return t
endif
elif B8[R][P]
Y=R
X=P
F=B8[Y][X]
if R
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Me()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CE[R][O]
if R
MC[Bh]=R
MY[Bh]=O
Bh=Bh+1
else
t=AR
return t
endif
elif B8[R][O]
Y=R
X=O
F=B8[Y][X]
if R
elif F>=AR
t=F
return t
elif F>t
t=F
endif
Me()
endif
endif
endwhile
endfunc
func AJA()
while o5()
o6()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CE[Q][P]
if Q
MP[Ba]=Q
MW[Ba]=P
Ba=Ba+1
else
t=BM
return t
endif
elif B8[Q][P]
Y=Q
X=P
F=B8[Y][X]
if Q
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mb()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CE[Q][O]
if Q
MP[Ba]=Q
MW[Ba]=O
Ba=Ba+1
else
t=BM
return t
endif
elif B8[Q][O]
Y=Q
X=O
F=B8[Y][X]
if Q
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mb()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CE[M][A2]
if M
MP[Ba]=M
MW[Ba]=A2
Ba=Ba+1
else
t=BM
return t
endif
elif B8[M][A2]
Y=M
X=A2
F=B8[Y][X]
if M
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mb()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CE[M][A3]
if M
MP[Ba]=M
MW[Ba]=A3
Ba=Ba+1
else
t=BM
return t
endif
elif B8[M][A3]
Y=M
X=A3
F=B8[Y][X]
if M
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mb()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CE[R][P]
if R
MP[Ba]=R
MW[Ba]=P
Ba=Ba+1
else
t=BM
return t
endif
elif B8[R][P]
Y=R
X=P
F=B8[Y][X]
if R
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mb()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CE[R][O]
if R
MP[Ba]=R
MW[Ba]=O
Ba=Ba+1
else
t=BM
return t
endif
elif B8[R][O]
Y=R
X=O
F=B8[Y][X]
if R
elif F>=BM
t=F
return t
elif F>t
t=F
endif
Mb()
endif
endif
endwhile
endfunc
func AnV()
while pM()
ob()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CE[Q][P]
if Q
MT[Bc]=Q
MU[Bc]=P
Bc=Bc+1
else
t=BN
return t
endif
elif B8[Q][P]
Y=Q
X=P
F=B8[Y][X]
if Q
elif F>=BN
t=F
return t
elif F>t
t=F
endif
Kv()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CE[Q][O]
if Q
MT[Bc]=Q
MU[Bc]=O
Bc=Bc+1
else
t=BN
return t
endif
elif B8[Q][O]
Y=Q
X=O
F=B8[Y][X]
if Q
elif F>=BN
t=F
return t
elif F>t
t=F
endif
Kv()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CE[M][A2]
if M
MT[Bc]=M
MU[Bc]=A2
Bc=Bc+1
else
t=BN
return t
endif
elif B8[M][A2]
Y=M
X=A2
F=B8[Y][X]
if M
elif F>=BN
t=F
return t
elif F>t
t=F
endif
Kv()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CE[M][A3]
if M
MT[Bc]=M
MU[Bc]=A3
Bc=Bc+1
else
t=BN
return t
endif
elif B8[M][A3]
Y=M
X=A3
F=B8[Y][X]
if M
elif F>=BN
t=F
return t
elif F>t
t=F
endif
Kv()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CE[R][P]
if R
MT[Bc]=R
MU[Bc]=P
Bc=Bc+1
else
t=BN
return t
endif
elif B8[R][P]
Y=R
X=P
F=B8[Y][X]
if R
elif F>=BN
t=F
return t
elif F>t
t=F
endif
Kv()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CE[R][O]
if R
MT[Bc]=R
MU[Bc]=O
Bc=Bc+1
else
t=BN
return t
endif
elif B8[R][O]
Y=R
X=O
F=B8[Y][X]
if R
elif F>=BN
t=F
return t
elif F>t
t=F
endif
Kv()
endif
endif
endwhile
endfunc
func Ak9()
while qV()
re()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CE[Q][P]
if Q
Dp[AP]=Q
Dq[AP]=P
AP=AP+1
else
t=D7
return t
endif
elif B8[Q][P]
if Q
else
t=F
return t
endif
Dp[AP]=Q
Dq[AP]=P
AP=AP+1
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CE[Q][O]
if Q
Dp[AP]=Q
Dq[AP]=O
AP=AP+1
else
t=D7
return t
endif
elif B8[Q][O]
if Q
else
t=F
return t
endif
Dp[AP]=Q
Dq[AP]=O
AP=AP+1
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CE[M][A2]
if M
Dp[AP]=M
Dq[AP]=A2
AP=AP+1
else
t=D7
return t
endif
elif B8[M][A2]
if M
else
t=F
return t
endif
Dp[AP]=M
Dq[AP]=A2
AP=AP+1
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CE[M][A3]
if M
Dp[AP]=M
Dq[AP]=A3
AP=AP+1
else
t=D7
return t
endif
elif B8[M][A3]
if M
else
t=F
return t
endif
Dp[AP]=M
Dq[AP]=A3
AP=AP+1
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CE[R][P]
if R
Dp[AP]=R
Dq[AP]=P
AP=AP+1
else
t=D7
return t
endif
elif B8[R][P]
if R
else
t=F
return t
endif
Dp[AP]=R
Dq[AP]=P
AP=AP+1
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CE[R][O]
if R
Dp[AP]=R
Dq[AP]=O
AP=AP+1
else
t=D7
return t
endif
elif B8[R][O]
if R
else
t=F
return t
endif
Dp[AP]=R
Dq[AP]=O
AP=AP+1
endif
endif
endwhile
endfunc
func ATC()
AVZ()
Apf()
if ASm()
return B4
endif
if AYE()
return B4
endif
if t>=AH
return t
endif
if AP6()
return AH
endif
if Anh()
return AH
endif
if t>=AR
return t
endif
if AKb()
return AR
endif
if AMj()
return AR
endif
if t>=BM
return t
endif
if AEl()
return BM
endif
if AJA()
return BM
endif
if t>=BN
return t
endif
if AUf()
return BN
endif
if AnV()
return BN
endif
if t>=D7
return t
endif
if AVm()
return D7
endif
if Ak9()
return D7
endif
endfunc
func ASc()
while r6()
q8()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CD[M][A3]
if A3
Fu[BB]=M
Fz[BB]=A3
BB=BB+1
else
u=B4
return u
endif
elif B7[M][A3]
Y=M
X=A3
F=B7[Y][X]
if A3
elif F>=B4
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CD[Q][P]
if P
Fu[BB]=Q
Fz[BB]=P
BB=BB+1
else
u=B4
return u
endif
elif B7[Q][P]
Y=Q
X=P
F=B7[Y][X]
if P
elif F>=B4
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CD[R][P]
if P
Fu[BB]=R
Fz[BB]=P
BB=BB+1
else
u=B4
return u
endif
elif B7[R][P]
Y=R
X=P
F=B7[Y][X]
if P
elif F>=B4
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CD[R][O]
if O
Fu[BB]=R
Fz[BB]=O
BB=BB+1
else
u=B4
return u
endif
elif B7[R][O]
Y=R
X=O
F=B7[Y][X]
if O
elif F>=B4
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CD[Q][O]
if O
Fu[BB]=Q
Fz[BB]=O
BB=BB+1
else
u=B4
return u
endif
elif B7[Q][O]
Y=Q
X=O
F=B7[Y][X]
if O
elif F>=B4
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CD[M][A2]
if A2
Fu[BB]=M
Fz[BB]=A2
BB=BB+1
else
u=B4
return u
endif
elif B7[M][A2]
Y=M
X=A2
F=B7[Y][X]
if A2
elif F>=B4
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
endwhile
endfunc
func AZx()
while pF()
pm()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CD[M][A3]
if A3
MQ[Bb]=M
MS[Bb]=A3
Bb=Bb+1
else
u=AH
return u
endif
elif B7[M][A3]
Y=M
X=A3
F=B7[Y][X]
if A3
elif F>=AH
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CD[Q][P]
if P
MQ[Bb]=Q
MS[Bb]=P
Bb=Bb+1
else
u=AH
return u
endif
elif B7[Q][P]
Y=Q
X=P
F=B7[Y][X]
if P
elif F>=AH
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CD[R][P]
if P
MQ[Bb]=R
MS[Bb]=P
Bb=Bb+1
else
u=AH
return u
endif
elif B7[R][P]
Y=R
X=P
F=B7[Y][X]
if P
elif F>=AH
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CD[R][O]
if O
MQ[Bb]=R
MS[Bb]=O
Bb=Bb+1
else
u=AH
return u
endif
elif B7[R][O]
Y=R
X=O
F=B7[Y][X]
if O
elif F>=AH
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CD[Q][O]
if O
MQ[Bb]=Q
MS[Bb]=O
Bb=Bb+1
else
u=AH
return u
endif
elif B7[Q][O]
Y=Q
X=O
F=B7[Y][X]
if O
elif F>=AH
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CD[M][A2]
if A2
MQ[Bb]=M
MS[Bb]=A2
Bb=Bb+1
else
u=AH
return u
endif
elif B7[M][A2]
Y=M
X=A2
F=B7[Y][X]
if A2
elif F>=AH
u=F
return u
elif F>u
u=F
endif
DU()
endif
endif
endwhile
endfunc
func Aev()
while oq()
pD()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CD[M][A3]
if A3
MV[Bf]=M
MB[Bf]=A3
Bf=Bf+1
else
u=AR
return u
endif
elif B7[M][A3]
Y=M
X=A3
F=B7[Y][X]
if A3
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Mh()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CD[Q][P]
if P
MV[Bf]=Q
MB[Bf]=P
Bf=Bf+1
else
u=AR
return u
endif
elif B7[Q][P]
Y=Q
X=P
F=B7[Y][X]
if P
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Mh()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CD[R][P]
if P
MV[Bf]=R
MB[Bf]=P
Bf=Bf+1
else
u=AR
return u
endif
elif B7[R][P]
Y=R
X=P
F=B7[Y][X]
if P
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Mh()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CD[R][O]
if O
MV[Bf]=R
MB[Bf]=O
Bf=Bf+1
else
u=AR
return u
endif
elif B7[R][O]
Y=R
X=O
F=B7[Y][X]
if O
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Mh()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CD[Q][O]
if O
MV[Bf]=Q
MB[Bf]=O
Bf=Bf+1
else
u=AR
return u
endif
elif B7[Q][O]
Y=Q
X=O
F=B7[Y][X]
if O
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Mh()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CD[M][A2]
if A2
MV[Bf]=M
MB[Bf]=A2
Bf=Bf+1
else
u=AR
return u
endif
elif B7[M][A2]
Y=M
X=A2
F=B7[Y][X]
if A2
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Mh()
endif
endif
endwhile
endfunc
func Al1()
while qM()
ph()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CD[M][A3]
if A3
MF[Bd]=M
ML[Bd]=A3
Bd=Bd+1
else
u=BM
return u
endif
elif B7[M][A3]
Y=M
X=A3
F=B7[Y][X]
if A3
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mj()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CD[Q][P]
if P
MF[Bd]=Q
ML[Bd]=P
Bd=Bd+1
else
u=BM
return u
endif
elif B7[Q][P]
Y=Q
X=P
F=B7[Y][X]
if P
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mj()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CD[R][P]
if P
MF[Bd]=R
ML[Bd]=P
Bd=Bd+1
else
u=BM
return u
endif
elif B7[R][P]
Y=R
X=P
F=B7[Y][X]
if P
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mj()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CD[R][O]
if O
MF[Bd]=R
ML[Bd]=O
Bd=Bd+1
else
u=BM
return u
endif
elif B7[R][O]
Y=R
X=O
F=B7[Y][X]
if O
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mj()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CD[Q][O]
if O
MF[Bd]=Q
ML[Bd]=O
Bd=Bd+1
else
u=BM
return u
endif
elif B7[Q][O]
Y=Q
X=O
F=B7[Y][X]
if O
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mj()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CD[M][A2]
if A2
MF[Bd]=M
ML[Bd]=A2
Bd=Bd+1
else
u=BM
return u
endif
elif B7[M][A2]
Y=M
X=A2
F=B7[Y][X]
if A2
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mj()
endif
endif
endwhile
endfunc
func AoZ()
while q5()
rh()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CD[M][A3]
if A3
MK[Be]=M
MN[Be]=A3
Be=Be+1
else
u=BN
return u
endif
elif B7[M][A3]
Y=M
X=A3
F=B7[Y][X]
if A3
elif F>=BN
u=F
return u
elif F>u
u=F
endif
LL()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CD[Q][P]
if P
MK[Be]=Q
MN[Be]=P
Be=Be+1
else
u=BN
return u
endif
elif B7[Q][P]
Y=Q
X=P
F=B7[Y][X]
if P
elif F>=BN
u=F
return u
elif F>u
u=F
endif
LL()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CD[R][P]
if P
MK[Be]=R
MN[Be]=P
Be=Be+1
else
u=BN
return u
endif
elif B7[R][P]
Y=R
X=P
F=B7[Y][X]
if P
elif F>=BN
u=F
return u
elif F>u
u=F
endif
LL()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CD[R][O]
if O
MK[Be]=R
MN[Be]=O
Be=Be+1
else
u=BN
return u
endif
elif B7[R][O]
Y=R
X=O
F=B7[Y][X]
if O
elif F>=BN
u=F
return u
elif F>u
u=F
endif
LL()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CD[Q][O]
if O
MK[Be]=Q
MN[Be]=O
Be=Be+1
else
u=BN
return u
endif
elif B7[Q][O]
Y=Q
X=O
F=B7[Y][X]
if O
elif F>=BN
u=F
return u
elif F>u
u=F
endif
LL()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CD[M][A2]
if A2
MK[Be]=M
MN[Be]=A2
Be=Be+1
else
u=BN
return u
endif
elif B7[M][A2]
Y=M
X=A2
F=B7[Y][X]
if A2
elif F>=BN
u=F
return u
elif F>u
u=F
endif
LL()
endif
endif
endwhile
endfunc
func AKV()
while pp()
pJ()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CD[M][A3]
if A3
Dm[AQ]=M
Dr[AQ]=A3
AQ=AQ+1
else
u=D7
return u
endif
elif B7[M][A3]
if A3
else
u=F
return u
endif
Dm[AQ]=M
Dr[AQ]=A3
AQ=AQ+1
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CD[Q][P]
if P
Dm[AQ]=Q
Dr[AQ]=P
AQ=AQ+1
else
u=D7
return u
endif
elif B7[Q][P]
if P
else
u=F
return u
endif
Dm[AQ]=Q
Dr[AQ]=P
AQ=AQ+1
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CD[R][P]
if P
Dm[AQ]=R
Dr[AQ]=P
AQ=AQ+1
else
u=D7
return u
endif
elif B7[R][P]
if P
else
u=F
return u
endif
Dm[AQ]=R
Dr[AQ]=P
AQ=AQ+1
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CD[R][O]
if O
Dm[AQ]=R
Dr[AQ]=O
AQ=AQ+1
else
u=D7
return u
endif
elif B7[R][O]
if O
else
u=F
return u
endif
Dm[AQ]=R
Dr[AQ]=O
AQ=AQ+1
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CD[Q][O]
if O
Dm[AQ]=Q
Dr[AQ]=O
AQ=AQ+1
else
u=D7
return u
endif
elif B7[Q][O]
if O
else
u=F
return u
endif
Dm[AQ]=Q
Dr[AQ]=O
AQ=AQ+1
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CD[M][A2]
if A2
Dm[AQ]=M
Dr[AQ]=A2
AQ=AQ+1
else
u=D7
return u
endif
elif B7[M][A2]
if A2
else
u=F
return u
endif
Dm[AQ]=M
Dr[AQ]=A2
AQ=AQ+1
endif
endif
endwhile
endfunc
func AFc()
while rB()
qT()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CD[Q][P]
if Q
Kk[BS]=Q
Kh[BS]=P
BS=BS+1
else
u=B4
return u
endif
elif B7[Q][P]
Y=Q
X=P
F=B7[Y][X]
if Q
elif F>=B4
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CD[Q][O]
if Q
Kk[BS]=Q
Kh[BS]=O
BS=BS+1
else
u=B4
return u
endif
elif B7[Q][O]
Y=Q
X=O
F=B7[Y][X]
if Q
elif F>=B4
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CD[M][A2]
if M
Kk[BS]=M
Kh[BS]=A2
BS=BS+1
else
u=B4
return u
endif
elif B7[M][A2]
Y=M
X=A2
F=B7[Y][X]
if M
elif F>=B4
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CD[M][A3]
if M
Kk[BS]=M
Kh[BS]=A3
BS=BS+1
else
u=B4
return u
endif
elif B7[M][A3]
Y=M
X=A3
F=B7[Y][X]
if M
elif F>=B4
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CD[R][P]
if R
Kk[BS]=R
Kh[BS]=P
BS=BS+1
else
u=B4
return u
endif
elif B7[R][P]
Y=R
X=P
F=B7[Y][X]
if R
elif F>=B4
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CD[R][O]
if R
Kk[BS]=R
Kh[BS]=O
BS=BS+1
else
u=B4
return u
endif
elif B7[R][O]
Y=R
X=O
F=B7[Y][X]
if R
elif F>=B4
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
endwhile
endfunc
func AS_()
while pH()
pA()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CD[Q][P]
if Q
MX[Bj]=Q
MZ[Bj]=P
Bj=Bj+1
else
u=AH
return u
endif
elif B7[Q][P]
Y=Q
X=P
F=B7[Y][X]
if Q
elif F>=AH
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CD[Q][O]
if Q
MX[Bj]=Q
MZ[Bj]=O
Bj=Bj+1
else
u=AH
return u
endif
elif B7[Q][O]
Y=Q
X=O
F=B7[Y][X]
if Q
elif F>=AH
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CD[M][A2]
if M
MX[Bj]=M
MZ[Bj]=A2
Bj=Bj+1
else
u=AH
return u
endif
elif B7[M][A2]
Y=M
X=A2
F=B7[Y][X]
if M
elif F>=AH
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CD[M][A3]
if M
MX[Bj]=M
MZ[Bj]=A3
Bj=Bj+1
else
u=AH
return u
endif
elif B7[M][A3]
Y=M
X=A3
F=B7[Y][X]
if M
elif F>=AH
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CD[R][P]
if R
MX[Bj]=R
MZ[Bj]=P
Bj=Bj+1
else
u=AH
return u
endif
elif B7[R][P]
Y=R
X=P
F=B7[Y][X]
if R
elif F>=AH
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CD[R][O]
if R
MX[Bj]=R
MZ[Bj]=O
Bj=Bj+1
else
u=AH
return u
endif
elif B7[R][O]
Y=R
X=O
F=B7[Y][X]
if R
elif F>=AH
u=F
return u
elif F>u
u=F
endif
Dh()
endif
endif
endwhile
endfunc
func Ah2()
while pZ()
pq()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CD[Q][P]
if Q
MC[Bh]=Q
MY[Bh]=P
Bh=Bh+1
else
u=AR
return u
endif
elif B7[Q][P]
Y=Q
X=P
F=B7[Y][X]
if Q
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Me()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CD[Q][O]
if Q
MC[Bh]=Q
MY[Bh]=O
Bh=Bh+1
else
u=AR
return u
endif
elif B7[Q][O]
Y=Q
X=O
F=B7[Y][X]
if Q
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Me()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CD[M][A2]
if M
MC[Bh]=M
MY[Bh]=A2
Bh=Bh+1
else
u=AR
return u
endif
elif B7[M][A2]
Y=M
X=A2
F=B7[Y][X]
if M
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Me()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CD[M][A3]
if M
MC[Bh]=M
MY[Bh]=A3
Bh=Bh+1
else
u=AR
return u
endif
elif B7[M][A3]
Y=M
X=A3
F=B7[Y][X]
if M
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Me()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CD[R][P]
if R
MC[Bh]=R
MY[Bh]=P
Bh=Bh+1
else
u=AR
return u
endif
elif B7[R][P]
Y=R
X=P
F=B7[Y][X]
if R
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Me()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CD[R][O]
if R
MC[Bh]=R
MY[Bh]=O
Bh=Bh+1
else
u=AR
return u
endif
elif B7[R][O]
Y=R
X=O
F=B7[Y][X]
if R
elif F>=AR
u=F
return u
elif F>u
u=F
endif
Me()
endif
endif
endwhile
endfunc
func AbS()
while o5()
o6()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CD[Q][P]
if Q
MP[Ba]=Q
MW[Ba]=P
Ba=Ba+1
else
u=BM
return u
endif
elif B7[Q][P]
Y=Q
X=P
F=B7[Y][X]
if Q
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mb()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CD[Q][O]
if Q
MP[Ba]=Q
MW[Ba]=O
Ba=Ba+1
else
u=BM
return u
endif
elif B7[Q][O]
Y=Q
X=O
F=B7[Y][X]
if Q
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mb()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CD[M][A2]
if M
MP[Ba]=M
MW[Ba]=A2
Ba=Ba+1
else
u=BM
return u
endif
elif B7[M][A2]
Y=M
X=A2
F=B7[Y][X]
if M
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mb()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CD[M][A3]
if M
MP[Ba]=M
MW[Ba]=A3
Ba=Ba+1
else
u=BM
return u
endif
elif B7[M][A3]
Y=M
X=A3
F=B7[Y][X]
if M
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mb()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CD[R][P]
if R
MP[Ba]=R
MW[Ba]=P
Ba=Ba+1
else
u=BM
return u
endif
elif B7[R][P]
Y=R
X=P
F=B7[Y][X]
if R
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mb()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CD[R][O]
if R
MP[Ba]=R
MW[Ba]=O
Ba=Ba+1
else
u=BM
return u
endif
elif B7[R][O]
Y=R
X=O
F=B7[Y][X]
if R
elif F>=BM
u=F
return u
elif F>u
u=F
endif
Mb()
endif
endif
endwhile
endfunc
func ApQ()
while pM()
ob()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CD[Q][P]
if Q
MT[Bc]=Q
MU[Bc]=P
Bc=Bc+1
else
u=BN
return u
endif
elif B7[Q][P]
Y=Q
X=P
F=B7[Y][X]
if Q
elif F>=BN
u=F
return u
elif F>u
u=F
endif
Kv()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CD[Q][O]
if Q
MT[Bc]=Q
MU[Bc]=O
Bc=Bc+1
else
u=BN
return u
endif
elif B7[Q][O]
Y=Q
X=O
F=B7[Y][X]
if Q
elif F>=BN
u=F
return u
elif F>u
u=F
endif
Kv()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CD[M][A2]
if M
MT[Bc]=M
MU[Bc]=A2
Bc=Bc+1
else
u=BN
return u
endif
elif B7[M][A2]
Y=M
X=A2
F=B7[Y][X]
if M
elif F>=BN
u=F
return u
elif F>u
u=F
endif
Kv()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CD[M][A3]
if M
MT[Bc]=M
MU[Bc]=A3
Bc=Bc+1
else
u=BN
return u
endif
elif B7[M][A3]
Y=M
X=A3
F=B7[Y][X]
if M
elif F>=BN
u=F
return u
elif F>u
u=F
endif
Kv()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CD[R][P]
if R
MT[Bc]=R
MU[Bc]=P
Bc=Bc+1
else
u=BN
return u
endif
elif B7[R][P]
Y=R
X=P
F=B7[Y][X]
if R
elif F>=BN
u=F
return u
elif F>u
u=F
endif
Kv()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CD[R][O]
if R
MT[Bc]=R
MU[Bc]=O
Bc=Bc+1
else
u=BN
return u
endif
elif B7[R][O]
Y=R
X=O
F=B7[Y][X]
if R
elif F>=BN
u=F
return u
elif F>u
u=F
endif
Kv()
endif
endif
endwhile
endfunc
func Akk()
while qV()
re()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CD[Q][P]
if Q
Dp[AP]=Q
Dq[AP]=P
AP=AP+1
else
u=D7
return u
endif
elif B7[Q][P]
if Q
else
u=F
return u
endif
Dp[AP]=Q
Dq[AP]=P
AP=AP+1
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CD[Q][O]
if Q
Dp[AP]=Q
Dq[AP]=O
AP=AP+1
else
u=D7
return u
endif
elif B7[Q][O]
if Q
else
u=F
return u
endif
Dp[AP]=Q
Dq[AP]=O
AP=AP+1
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CD[M][A2]
if M
Dp[AP]=M
Dq[AP]=A2
AP=AP+1
else
u=D7
return u
endif
elif B7[M][A2]
if M
else
u=F
return u
endif
Dp[AP]=M
Dq[AP]=A2
AP=AP+1
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CD[M][A3]
if M
Dp[AP]=M
Dq[AP]=A3
AP=AP+1
else
u=D7
return u
endif
elif B7[M][A3]
if M
else
u=F
return u
endif
Dp[AP]=M
Dq[AP]=A3
AP=AP+1
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CD[R][P]
if R
Dp[AP]=R
Dq[AP]=P
AP=AP+1
else
u=D7
return u
endif
elif B7[R][P]
if R
else
u=F
return u
endif
Dp[AP]=R
Dq[AP]=P
AP=AP+1
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CD[R][O]
if R
Dp[AP]=R
Dq[AP]=O
AP=AP+1
else
u=D7
return u
endif
elif B7[R][O]
if R
else
u=F
return u
endif
Dp[AP]=R
Dq[AP]=O
AP=AP+1
endif
endif
endwhile
endfunc
func AVf()
Ah5()
AMk()
if ASc()
return B4
endif
if AFc()
return B4
endif
if u>=AH
return u
endif
if AZx()
return AH
endif
if AS_()
return AH
endif
if u>=AR
return u
endif
if Aev()
return AR
endif
if Ah2()
return AR
endif
if u>=BM
return u
endif
if Al1()
return BM
endif
if AbS()
return BM
endif
if u>=BN
return u
endif
if AoZ()
return BN
endif
if ApQ()
return BN
endif
if u>=D7
return u
endif
if AKV()
return D7
endif
if Akk()
return D7
endif
endfunc
func Ah7()
while r6()
q8()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CC[M][A3]
if A3
Fu[BB]=M
Fz[BB]=A3
BB=BB+1
else
s=B4
return s
endif
elif BA[M][A3]
Y=M
X=A3
F=BA[Y][X]
if A3
elif F>=B4
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CC[Q][P]
if P
Fu[BB]=Q
Fz[BB]=P
BB=BB+1
else
s=B4
return s
endif
elif BA[Q][P]
Y=Q
X=P
F=BA[Y][X]
if P
elif F>=B4
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CC[R][P]
if P
Fu[BB]=R
Fz[BB]=P
BB=BB+1
else
s=B4
return s
endif
elif BA[R][P]
Y=R
X=P
F=BA[Y][X]
if P
elif F>=B4
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CC[R][O]
if O
Fu[BB]=R
Fz[BB]=O
BB=BB+1
else
s=B4
return s
endif
elif BA[R][O]
Y=R
X=O
F=BA[Y][X]
if O
elif F>=B4
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CC[Q][O]
if O
Fu[BB]=Q
Fz[BB]=O
BB=BB+1
else
s=B4
return s
endif
elif BA[Q][O]
Y=Q
X=O
F=BA[Y][X]
if O
elif F>=B4
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CC[M][A2]
if A2
Fu[BB]=M
Fz[BB]=A2
BB=BB+1
else
s=B4
return s
endif
elif BA[M][A2]
Y=M
X=A2
F=BA[Y][X]
if A2
elif F>=B4
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
endwhile
endfunc
func AbB()
while pF()
pm()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CC[M][A3]
if A3
MQ[Bb]=M
MS[Bb]=A3
Bb=Bb+1
else
s=AH
return s
endif
elif BA[M][A3]
Y=M
X=A3
F=BA[Y][X]
if A3
elif F>=AH
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CC[Q][P]
if P
MQ[Bb]=Q
MS[Bb]=P
Bb=Bb+1
else
s=AH
return s
endif
elif BA[Q][P]
Y=Q
X=P
F=BA[Y][X]
if P
elif F>=AH
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CC[R][P]
if P
MQ[Bb]=R
MS[Bb]=P
Bb=Bb+1
else
s=AH
return s
endif
elif BA[R][P]
Y=R
X=P
F=BA[Y][X]
if P
elif F>=AH
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CC[R][O]
if O
MQ[Bb]=R
MS[Bb]=O
Bb=Bb+1
else
s=AH
return s
endif
elif BA[R][O]
Y=R
X=O
F=BA[Y][X]
if O
elif F>=AH
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CC[Q][O]
if O
MQ[Bb]=Q
MS[Bb]=O
Bb=Bb+1
else
s=AH
return s
endif
elif BA[Q][O]
Y=Q
X=O
F=BA[Y][X]
if O
elif F>=AH
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CC[M][A2]
if A2
MQ[Bb]=M
MS[Bb]=A2
Bb=Bb+1
else
s=AH
return s
endif
elif BA[M][A2]
Y=M
X=A2
F=BA[Y][X]
if A2
elif F>=AH
s=F
return s
elif F>s
s=F
endif
DU()
endif
endif
endwhile
endfunc
func ATY()
while oq()
pD()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CC[M][A3]
if A3
MV[Bf]=M
MB[Bf]=A3
Bf=Bf+1
else
s=AR
return s
endif
elif BA[M][A3]
Y=M
X=A3
F=BA[Y][X]
if A3
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Mh()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CC[Q][P]
if P
MV[Bf]=Q
MB[Bf]=P
Bf=Bf+1
else
s=AR
return s
endif
elif BA[Q][P]
Y=Q
X=P
F=BA[Y][X]
if P
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Mh()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CC[R][P]
if P
MV[Bf]=R
MB[Bf]=P
Bf=Bf+1
else
s=AR
return s
endif
elif BA[R][P]
Y=R
X=P
F=BA[Y][X]
if P
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Mh()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CC[R][O]
if O
MV[Bf]=R
MB[Bf]=O
Bf=Bf+1
else
s=AR
return s
endif
elif BA[R][O]
Y=R
X=O
F=BA[Y][X]
if O
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Mh()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CC[Q][O]
if O
MV[Bf]=Q
MB[Bf]=O
Bf=Bf+1
else
s=AR
return s
endif
elif BA[Q][O]
Y=Q
X=O
F=BA[Y][X]
if O
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Mh()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CC[M][A2]
if A2
MV[Bf]=M
MB[Bf]=A2
Bf=Bf+1
else
s=AR
return s
endif
elif BA[M][A2]
Y=M
X=A2
F=BA[Y][X]
if A2
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Mh()
endif
endif
endwhile
endfunc
func APS()
while qM()
ph()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CC[M][A3]
if A3
MF[Bd]=M
ML[Bd]=A3
Bd=Bd+1
else
s=BM
return s
endif
elif BA[M][A3]
Y=M
X=A3
F=BA[Y][X]
if A3
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mj()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CC[Q][P]
if P
MF[Bd]=Q
ML[Bd]=P
Bd=Bd+1
else
s=BM
return s
endif
elif BA[Q][P]
Y=Q
X=P
F=BA[Y][X]
if P
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mj()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CC[R][P]
if P
MF[Bd]=R
ML[Bd]=P
Bd=Bd+1
else
s=BM
return s
endif
elif BA[R][P]
Y=R
X=P
F=BA[Y][X]
if P
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mj()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CC[R][O]
if O
MF[Bd]=R
ML[Bd]=O
Bd=Bd+1
else
s=BM
return s
endif
elif BA[R][O]
Y=R
X=O
F=BA[Y][X]
if O
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mj()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CC[Q][O]
if O
MF[Bd]=Q
ML[Bd]=O
Bd=Bd+1
else
s=BM
return s
endif
elif BA[Q][O]
Y=Q
X=O
F=BA[Y][X]
if O
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mj()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CC[M][A2]
if A2
MF[Bd]=M
ML[Bd]=A2
Bd=Bd+1
else
s=BM
return s
endif
elif BA[M][A2]
Y=M
X=A2
F=BA[Y][X]
if A2
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mj()
endif
endif
endwhile
endfunc
func AL_()
while q5()
rh()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CC[M][A3]
if A3
MK[Be]=M
MN[Be]=A3
Be=Be+1
else
s=BN
return s
endif
elif BA[M][A3]
Y=M
X=A3
F=BA[Y][X]
if A3
elif F>=BN
s=F
return s
elif F>s
s=F
endif
LL()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CC[Q][P]
if P
MK[Be]=Q
MN[Be]=P
Be=Be+1
else
s=BN
return s
endif
elif BA[Q][P]
Y=Q
X=P
F=BA[Y][X]
if P
elif F>=BN
s=F
return s
elif F>s
s=F
endif
LL()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CC[R][P]
if P
MK[Be]=R
MN[Be]=P
Be=Be+1
else
s=BN
return s
endif
elif BA[R][P]
Y=R
X=P
F=BA[Y][X]
if P
elif F>=BN
s=F
return s
elif F>s
s=F
endif
LL()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CC[R][O]
if O
MK[Be]=R
MN[Be]=O
Be=Be+1
else
s=BN
return s
endif
elif BA[R][O]
Y=R
X=O
F=BA[Y][X]
if O
elif F>=BN
s=F
return s
elif F>s
s=F
endif
LL()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CC[Q][O]
if O
MK[Be]=Q
MN[Be]=O
Be=Be+1
else
s=BN
return s
endif
elif BA[Q][O]
Y=Q
X=O
F=BA[Y][X]
if O
elif F>=BN
s=F
return s
elif F>s
s=F
endif
LL()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CC[M][A2]
if A2
MK[Be]=M
MN[Be]=A2
Be=Be+1
else
s=BN
return s
endif
elif BA[M][A2]
Y=M
X=A2
F=BA[Y][X]
if A2
elif F>=BN
s=F
return s
elif F>s
s=F
endif
LL()
endif
endif
endwhile
endfunc
func AMl()
while pp()
pJ()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CC[M][A3]
if A3
Dm[AQ]=M
Dr[AQ]=A3
AQ=AQ+1
else
s=D7
return s
endif
elif BA[M][A3]
if A3
else
s=F
return s
endif
Dm[AQ]=M
Dr[AQ]=A3
AQ=AQ+1
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CC[Q][P]
if P
Dm[AQ]=Q
Dr[AQ]=P
AQ=AQ+1
else
s=D7
return s
endif
elif BA[Q][P]
if P
else
s=F
return s
endif
Dm[AQ]=Q
Dr[AQ]=P
AQ=AQ+1
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CC[R][P]
if P
Dm[AQ]=R
Dr[AQ]=P
AQ=AQ+1
else
s=D7
return s
endif
elif BA[R][P]
if P
else
s=F
return s
endif
Dm[AQ]=R
Dr[AQ]=P
AQ=AQ+1
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CC[R][O]
if O
Dm[AQ]=R
Dr[AQ]=O
AQ=AQ+1
else
s=D7
return s
endif
elif BA[R][O]
if O
else
s=F
return s
endif
Dm[AQ]=R
Dr[AQ]=O
AQ=AQ+1
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CC[Q][O]
if O
Dm[AQ]=Q
Dr[AQ]=O
AQ=AQ+1
else
s=D7
return s
endif
elif BA[Q][O]
if O
else
s=F
return s
endif
Dm[AQ]=Q
Dr[AQ]=O
AQ=AQ+1
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CC[M][A2]
if A2
Dm[AQ]=M
Dr[AQ]=A2
AQ=AQ+1
else
s=D7
return s
endif
elif BA[M][A2]
if A2
else
s=F
return s
endif
Dm[AQ]=M
Dr[AQ]=A2
AQ=AQ+1
endif
endif
endwhile
endfunc
func Ao0()
while rB()
qT()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CC[Q][P]
if Q
Kk[BS]=Q
Kh[BS]=P
BS=BS+1
else
s=B4
return s
endif
elif BA[Q][P]
Y=Q
X=P
F=BA[Y][X]
if Q
elif F>=B4
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CC[Q][O]
if Q
Kk[BS]=Q
Kh[BS]=O
BS=BS+1
else
s=B4
return s
endif
elif BA[Q][O]
Y=Q
X=O
F=BA[Y][X]
if Q
elif F>=B4
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CC[M][A2]
if M
Kk[BS]=M
Kh[BS]=A2
BS=BS+1
else
s=B4
return s
endif
elif BA[M][A2]
Y=M
X=A2
F=BA[Y][X]
if M
elif F>=B4
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CC[M][A3]
if M
Kk[BS]=M
Kh[BS]=A3
BS=BS+1
else
s=B4
return s
endif
elif BA[M][A3]
Y=M
X=A3
F=BA[Y][X]
if M
elif F>=B4
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CC[R][P]
if R
Kk[BS]=R
Kh[BS]=P
BS=BS+1
else
s=B4
return s
endif
elif BA[R][P]
Y=R
X=P
F=BA[Y][X]
if R
elif F>=B4
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CC[R][O]
if R
Kk[BS]=R
Kh[BS]=O
BS=BS+1
else
s=B4
return s
endif
elif BA[R][O]
Y=R
X=O
F=BA[Y][X]
if R
elif F>=B4
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
endwhile
endfunc
func AkJ()
while pH()
pA()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CC[Q][P]
if Q
MX[Bj]=Q
MZ[Bj]=P
Bj=Bj+1
else
s=AH
return s
endif
elif BA[Q][P]
Y=Q
X=P
F=BA[Y][X]
if Q
elif F>=AH
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CC[Q][O]
if Q
MX[Bj]=Q
MZ[Bj]=O
Bj=Bj+1
else
s=AH
return s
endif
elif BA[Q][O]
Y=Q
X=O
F=BA[Y][X]
if Q
elif F>=AH
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CC[M][A2]
if M
MX[Bj]=M
MZ[Bj]=A2
Bj=Bj+1
else
s=AH
return s
endif
elif BA[M][A2]
Y=M
X=A2
F=BA[Y][X]
if M
elif F>=AH
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CC[M][A3]
if M
MX[Bj]=M
MZ[Bj]=A3
Bj=Bj+1
else
s=AH
return s
endif
elif BA[M][A3]
Y=M
X=A3
F=BA[Y][X]
if M
elif F>=AH
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CC[R][P]
if R
MX[Bj]=R
MZ[Bj]=P
Bj=Bj+1
else
s=AH
return s
endif
elif BA[R][P]
Y=R
X=P
F=BA[Y][X]
if R
elif F>=AH
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CC[R][O]
if R
MX[Bj]=R
MZ[Bj]=O
Bj=Bj+1
else
s=AH
return s
endif
elif BA[R][O]
Y=R
X=O
F=BA[Y][X]
if R
elif F>=AH
s=F
return s
elif F>s
s=F
endif
Dh()
endif
endif
endwhile
endfunc
func Abj()
while pZ()
pq()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CC[Q][P]
if Q
MC[Bh]=Q
MY[Bh]=P
Bh=Bh+1
else
s=AR
return s
endif
elif BA[Q][P]
Y=Q
X=P
F=BA[Y][X]
if Q
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Me()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CC[Q][O]
if Q
MC[Bh]=Q
MY[Bh]=O
Bh=Bh+1
else
s=AR
return s
endif
elif BA[Q][O]
Y=Q
X=O
F=BA[Y][X]
if Q
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Me()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CC[M][A2]
if M
MC[Bh]=M
MY[Bh]=A2
Bh=Bh+1
else
s=AR
return s
endif
elif BA[M][A2]
Y=M
X=A2
F=BA[Y][X]
if M
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Me()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CC[M][A3]
if M
MC[Bh]=M
MY[Bh]=A3
Bh=Bh+1
else
s=AR
return s
endif
elif BA[M][A3]
Y=M
X=A3
F=BA[Y][X]
if M
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Me()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CC[R][P]
if R
MC[Bh]=R
MY[Bh]=P
Bh=Bh+1
else
s=AR
return s
endif
elif BA[R][P]
Y=R
X=P
F=BA[Y][X]
if R
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Me()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CC[R][O]
if R
MC[Bh]=R
MY[Bh]=O
Bh=Bh+1
else
s=AR
return s
endif
elif BA[R][O]
Y=R
X=O
F=BA[Y][X]
if R
elif F>=AR
s=F
return s
elif F>s
s=F
endif
Me()
endif
endif
endwhile
endfunc
func AXz()
while o5()
o6()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CC[Q][P]
if Q
MP[Ba]=Q
MW[Ba]=P
Ba=Ba+1
else
s=BM
return s
endif
elif BA[Q][P]
Y=Q
X=P
F=BA[Y][X]
if Q
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mb()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CC[Q][O]
if Q
MP[Ba]=Q
MW[Ba]=O
Ba=Ba+1
else
s=BM
return s
endif
elif BA[Q][O]
Y=Q
X=O
F=BA[Y][X]
if Q
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mb()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CC[M][A2]
if M
MP[Ba]=M
MW[Ba]=A2
Ba=Ba+1
else
s=BM
return s
endif
elif BA[M][A2]
Y=M
X=A2
F=BA[Y][X]
if M
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mb()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CC[M][A3]
if M
MP[Ba]=M
MW[Ba]=A3
Ba=Ba+1
else
s=BM
return s
endif
elif BA[M][A3]
Y=M
X=A3
F=BA[Y][X]
if M
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mb()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CC[R][P]
if R
MP[Ba]=R
MW[Ba]=P
Ba=Ba+1
else
s=BM
return s
endif
elif BA[R][P]
Y=R
X=P
F=BA[Y][X]
if R
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mb()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CC[R][O]
if R
MP[Ba]=R
MW[Ba]=O
Ba=Ba+1
else
s=BM
return s
endif
elif BA[R][O]
Y=R
X=O
F=BA[Y][X]
if R
elif F>=BM
s=F
return s
elif F>s
s=F
endif
Mb()
endif
endif
endwhile
endfunc
func AW8()
while pM()
ob()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CC[Q][P]
if Q
MT[Bc]=Q
MU[Bc]=P
Bc=Bc+1
else
s=BN
return s
endif
elif BA[Q][P]
Y=Q
X=P
F=BA[Y][X]
if Q
elif F>=BN
s=F
return s
elif F>s
s=F
endif
Kv()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CC[Q][O]
if Q
MT[Bc]=Q
MU[Bc]=O
Bc=Bc+1
else
s=BN
return s
endif
elif BA[Q][O]
Y=Q
X=O
F=BA[Y][X]
if Q
elif F>=BN
s=F
return s
elif F>s
s=F
endif
Kv()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CC[M][A2]
if M
MT[Bc]=M
MU[Bc]=A2
Bc=Bc+1
else
s=BN
return s
endif
elif BA[M][A2]
Y=M
X=A2
F=BA[Y][X]
if M
elif F>=BN
s=F
return s
elif F>s
s=F
endif
Kv()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CC[M][A3]
if M
MT[Bc]=M
MU[Bc]=A3
Bc=Bc+1
else
s=BN
return s
endif
elif BA[M][A3]
Y=M
X=A3
F=BA[Y][X]
if M
elif F>=BN
s=F
return s
elif F>s
s=F
endif
Kv()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CC[R][P]
if R
MT[Bc]=R
MU[Bc]=P
Bc=Bc+1
else
s=BN
return s
endif
elif BA[R][P]
Y=R
X=P
F=BA[Y][X]
if R
elif F>=BN
s=F
return s
elif F>s
s=F
endif
Kv()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CC[R][O]
if R
MT[Bc]=R
MU[Bc]=O
Bc=Bc+1
else
s=BN
return s
endif
elif BA[R][O]
Y=R
X=O
F=BA[Y][X]
if R
elif F>=BN
s=F
return s
elif F>s
s=F
endif
Kv()
endif
endif
endwhile
endfunc
func ASD()
while qV()
re()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CC[Q][P]
if Q
Dp[AP]=Q
Dq[AP]=P
AP=AP+1
else
s=D7
return s
endif
elif BA[Q][P]
if Q
else
s=F
return s
endif
Dp[AP]=Q
Dq[AP]=P
AP=AP+1
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CC[Q][O]
if Q
Dp[AP]=Q
Dq[AP]=O
AP=AP+1
else
s=D7
return s
endif
elif BA[Q][O]
if Q
else
s=F
return s
endif
Dp[AP]=Q
Dq[AP]=O
AP=AP+1
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CC[M][A2]
if M
Dp[AP]=M
Dq[AP]=A2
AP=AP+1
else
s=D7
return s
endif
elif BA[M][A2]
if M
else
s=F
return s
endif
Dp[AP]=M
Dq[AP]=A2
AP=AP+1
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CC[M][A3]
if M
Dp[AP]=M
Dq[AP]=A3
AP=AP+1
else
s=D7
return s
endif
elif BA[M][A3]
if M
else
s=F
return s
endif
Dp[AP]=M
Dq[AP]=A3
AP=AP+1
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CC[R][P]
if R
Dp[AP]=R
Dq[AP]=P
AP=AP+1
else
s=D7
return s
endif
elif BA[R][P]
if R
else
s=F
return s
endif
Dp[AP]=R
Dq[AP]=P
AP=AP+1
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CC[R][O]
if R
Dp[AP]=R
Dq[AP]=O
AP=AP+1
else
s=D7
return s
endif
elif BA[R][O]
if R
else
s=F
return s
endif
Dp[AP]=R
Dq[AP]=O
AP=AP+1
endif
endif
endwhile
endfunc
func AUm()
AF8()
AZy()
if Ah7()
return B4
endif
if Ao0()
return B4
endif
if s>=AH
return s
endif
if AbB()
return AH
endif
if AkJ()
return AH
endif
if s>=AR
return s
endif
if ATY()
return AR
endif
if Abj()
return AR
endif
if s>=BM
return s
endif
if APS()
return BM
endif
if AXz()
return BM
endif
if s>=BN
return s
endif
if AL_()
return BN
endif
if AW8()
return BN
endif
if s>=D7
return s
endif
if AMl()
return D7
endif
if ASD()
return D7
endif
endfunc
func Aq2()
while r6()
q8()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CF[M][A3]
if A3
Fu[BB]=M
Fz[BB]=A3
BB=BB+1
else
r=B4
return r
endif
elif B9[M][A3]
Y=M
X=A3
F=B9[Y][X]
if A3
elif F>=B4
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CF[Q][P]
if P
Fu[BB]=Q
Fz[BB]=P
BB=BB+1
else
r=B4
return r
endif
elif B9[Q][P]
Y=Q
X=P
F=B9[Y][X]
if P
elif F>=B4
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CF[R][P]
if P
Fu[BB]=R
Fz[BB]=P
BB=BB+1
else
r=B4
return r
endif
elif B9[R][P]
Y=R
X=P
F=B9[Y][X]
if P
elif F>=B4
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CF[R][O]
if O
Fu[BB]=R
Fz[BB]=O
BB=BB+1
else
r=B4
return r
endif
elif B9[R][O]
Y=R
X=O
F=B9[Y][X]
if O
elif F>=B4
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CF[Q][O]
if O
Fu[BB]=Q
Fz[BB]=O
BB=BB+1
else
r=B4
return r
endif
elif B9[Q][O]
Y=Q
X=O
F=B9[Y][X]
if O
elif F>=B4
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CF[M][A2]
if A2
Fu[BB]=M
Fz[BB]=A2
BB=BB+1
else
r=B4
return r
endif
elif B9[M][A2]
Y=M
X=A2
F=B9[Y][X]
if A2
elif F>=B4
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
endwhile
endfunc
func AY4()
while pF()
pm()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CF[M][A3]
if A3
MQ[Bb]=M
MS[Bb]=A3
Bb=Bb+1
else
r=AH
return r
endif
elif B9[M][A3]
Y=M
X=A3
F=B9[Y][X]
if A3
elif F>=AH
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CF[Q][P]
if P
MQ[Bb]=Q
MS[Bb]=P
Bb=Bb+1
else
r=AH
return r
endif
elif B9[Q][P]
Y=Q
X=P
F=B9[Y][X]
if P
elif F>=AH
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CF[R][P]
if P
MQ[Bb]=R
MS[Bb]=P
Bb=Bb+1
else
r=AH
return r
endif
elif B9[R][P]
Y=R
X=P
F=B9[Y][X]
if P
elif F>=AH
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CF[R][O]
if O
MQ[Bb]=R
MS[Bb]=O
Bb=Bb+1
else
r=AH
return r
endif
elif B9[R][O]
Y=R
X=O
F=B9[Y][X]
if O
elif F>=AH
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CF[Q][O]
if O
MQ[Bb]=Q
MS[Bb]=O
Bb=Bb+1
else
r=AH
return r
endif
elif B9[Q][O]
Y=Q
X=O
F=B9[Y][X]
if O
elif F>=AH
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CF[M][A2]
if A2
MQ[Bb]=M
MS[Bb]=A2
Bb=Bb+1
else
r=AH
return r
endif
elif B9[M][A2]
Y=M
X=A2
F=B9[Y][X]
if A2
elif F>=AH
r=F
return r
elif F>r
r=F
endif
DU()
endif
endif
endwhile
endfunc
func ALC()
while oq()
pD()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CF[M][A3]
if A3
MV[Bf]=M
MB[Bf]=A3
Bf=Bf+1
else
r=AR
return r
endif
elif B9[M][A3]
Y=M
X=A3
F=B9[Y][X]
if A3
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Mh()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CF[Q][P]
if P
MV[Bf]=Q
MB[Bf]=P
Bf=Bf+1
else
r=AR
return r
endif
elif B9[Q][P]
Y=Q
X=P
F=B9[Y][X]
if P
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Mh()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CF[R][P]
if P
MV[Bf]=R
MB[Bf]=P
Bf=Bf+1
else
r=AR
return r
endif
elif B9[R][P]
Y=R
X=P
F=B9[Y][X]
if P
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Mh()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CF[R][O]
if O
MV[Bf]=R
MB[Bf]=O
Bf=Bf+1
else
r=AR
return r
endif
elif B9[R][O]
Y=R
X=O
F=B9[Y][X]
if O
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Mh()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CF[Q][O]
if O
MV[Bf]=Q
MB[Bf]=O
Bf=Bf+1
else
r=AR
return r
endif
elif B9[Q][O]
Y=Q
X=O
F=B9[Y][X]
if O
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Mh()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CF[M][A2]
if A2
MV[Bf]=M
MB[Bf]=A2
Bf=Bf+1
else
r=AR
return r
endif
elif B9[M][A2]
Y=M
X=A2
F=B9[Y][X]
if A2
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Mh()
endif
endif
endwhile
endfunc
func AkD()
while qM()
ph()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CF[M][A3]
if A3
MF[Bd]=M
ML[Bd]=A3
Bd=Bd+1
else
r=BM
return r
endif
elif B9[M][A3]
Y=M
X=A3
F=B9[Y][X]
if A3
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mj()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CF[Q][P]
if P
MF[Bd]=Q
ML[Bd]=P
Bd=Bd+1
else
r=BM
return r
endif
elif B9[Q][P]
Y=Q
X=P
F=B9[Y][X]
if P
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mj()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CF[R][P]
if P
MF[Bd]=R
ML[Bd]=P
Bd=Bd+1
else
r=BM
return r
endif
elif B9[R][P]
Y=R
X=P
F=B9[Y][X]
if P
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mj()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CF[R][O]
if O
MF[Bd]=R
ML[Bd]=O
Bd=Bd+1
else
r=BM
return r
endif
elif B9[R][O]
Y=R
X=O
F=B9[Y][X]
if O
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mj()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CF[Q][O]
if O
MF[Bd]=Q
ML[Bd]=O
Bd=Bd+1
else
r=BM
return r
endif
elif B9[Q][O]
Y=Q
X=O
F=B9[Y][X]
if O
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mj()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CF[M][A2]
if A2
MF[Bd]=M
ML[Bd]=A2
Bd=Bd+1
else
r=BM
return r
endif
elif B9[M][A2]
Y=M
X=A2
F=B9[Y][X]
if A2
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mj()
endif
endif
endwhile
endfunc
func AHn()
while q5()
rh()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CF[M][A3]
if A3
MK[Be]=M
MN[Be]=A3
Be=Be+1
else
r=BN
return r
endif
elif B9[M][A3]
Y=M
X=A3
F=B9[Y][X]
if A3
elif F>=BN
r=F
return r
elif F>r
r=F
endif
LL()
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CF[Q][P]
if P
MK[Be]=Q
MN[Be]=P
Be=Be+1
else
r=BN
return r
endif
elif B9[Q][P]
Y=Q
X=P
F=B9[Y][X]
if P
elif F>=BN
r=F
return r
elif F>r
r=F
endif
LL()
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CF[R][P]
if P
MK[Be]=R
MN[Be]=P
Be=Be+1
else
r=BN
return r
endif
elif B9[R][P]
Y=R
X=P
F=B9[Y][X]
if P
elif F>=BN
r=F
return r
elif F>r
r=F
endif
LL()
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CF[R][O]
if O
MK[Be]=R
MN[Be]=O
Be=Be+1
else
r=BN
return r
endif
elif B9[R][O]
Y=R
X=O
F=B9[Y][X]
if O
elif F>=BN
r=F
return r
elif F>r
r=F
endif
LL()
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CF[Q][O]
if O
MK[Be]=Q
MN[Be]=O
Be=Be+1
else
r=BN
return r
endif
elif B9[Q][O]
Y=Q
X=O
F=B9[Y][X]
if O
elif F>=BN
r=F
return r
elif F>r
r=F
endif
LL()
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CF[M][A2]
if A2
MK[Be]=M
MN[Be]=A2
Be=Be+1
else
r=BN
return r
endif
elif B9[M][A2]
Y=M
X=A2
F=B9[Y][X]
if A2
elif F>=BN
r=F
return r
elif F>r
r=F
endif
LL()
endif
endif
endwhile
endfunc
func ANK()
while pp()
pJ()
Dt()
if A7[M][A3]
else
A7[M][A3]=1
if CF[M][A3]
if A3
Dm[AQ]=M
Dr[AQ]=A3
AQ=AQ+1
else
r=D7
return r
endif
elif B9[M][A3]
if A3
else
r=F
return r
endif
Dm[AQ]=M
Dr[AQ]=A3
AQ=AQ+1
endif
endif
if A7[Q][P]
else
A7[Q][P]=1
if CF[Q][P]
if P
Dm[AQ]=Q
Dr[AQ]=P
AQ=AQ+1
else
r=D7
return r
endif
elif B9[Q][P]
if P
else
r=F
return r
endif
Dm[AQ]=Q
Dr[AQ]=P
AQ=AQ+1
endif
endif
if A7[R][P]
else
A7[R][P]=1
if CF[R][P]
if P
Dm[AQ]=R
Dr[AQ]=P
AQ=AQ+1
else
r=D7
return r
endif
elif B9[R][P]
if P
else
r=F
return r
endif
Dm[AQ]=R
Dr[AQ]=P
AQ=AQ+1
endif
endif
if A7[R][O]
else
A7[R][O]=1
if CF[R][O]
if O
Dm[AQ]=R
Dr[AQ]=O
AQ=AQ+1
else
r=D7
return r
endif
elif B9[R][O]
if O
else
r=F
return r
endif
Dm[AQ]=R
Dr[AQ]=O
AQ=AQ+1
endif
endif
if A7[Q][O]
else
A7[Q][O]=1
if CF[Q][O]
if O
Dm[AQ]=Q
Dr[AQ]=O
AQ=AQ+1
else
r=D7
return r
endif
elif B9[Q][O]
if O
else
r=F
return r
endif
Dm[AQ]=Q
Dr[AQ]=O
AQ=AQ+1
endif
endif
if A7[M][A2]
else
A7[M][A2]=1
if CF[M][A2]
if A2
Dm[AQ]=M
Dr[AQ]=A2
AQ=AQ+1
else
r=D7
return r
endif
elif B9[M][A2]
if A2
else
r=F
return r
endif
Dm[AQ]=M
Dr[AQ]=A2
AQ=AQ+1
endif
endif
endwhile
endfunc
func AjJ()
while rB()
qT()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CF[Q][P]
if Q
Kk[BS]=Q
Kh[BS]=P
BS=BS+1
else
r=B4
return r
endif
elif B9[Q][P]
Y=Q
X=P
F=B9[Y][X]
if Q
elif F>=B4
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CF[Q][O]
if Q
Kk[BS]=Q
Kh[BS]=O
BS=BS+1
else
r=B4
return r
endif
elif B9[Q][O]
Y=Q
X=O
F=B9[Y][X]
if Q
elif F>=B4
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CF[M][A2]
if M
Kk[BS]=M
Kh[BS]=A2
BS=BS+1
else
r=B4
return r
endif
elif B9[M][A2]
Y=M
X=A2
F=B9[Y][X]
if M
elif F>=B4
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CF[M][A3]
if M
Kk[BS]=M
Kh[BS]=A3
BS=BS+1
else
r=B4
return r
endif
elif B9[M][A3]
Y=M
X=A3
F=B9[Y][X]
if M
elif F>=B4
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CF[R][P]
if R
Kk[BS]=R
Kh[BS]=P
BS=BS+1
else
r=B4
return r
endif
elif B9[R][P]
Y=R
X=P
F=B9[Y][X]
if R
elif F>=B4
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CF[R][O]
if R
Kk[BS]=R
Kh[BS]=O
BS=BS+1
else
r=B4
return r
endif
elif B9[R][O]
Y=R
X=O
F=B9[Y][X]
if R
elif F>=B4
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
endwhile
endfunc
func Amv()
while pH()
pA()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CF[Q][P]
if Q
MX[Bj]=Q
MZ[Bj]=P
Bj=Bj+1
else
r=AH
return r
endif
elif B9[Q][P]
Y=Q
X=P
F=B9[Y][X]
if Q
elif F>=AH
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CF[Q][O]
if Q
MX[Bj]=Q
MZ[Bj]=O
Bj=Bj+1
else
r=AH
return r
endif
elif B9[Q][O]
Y=Q
X=O
F=B9[Y][X]
if Q
elif F>=AH
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CF[M][A2]
if M
MX[Bj]=M
MZ[Bj]=A2
Bj=Bj+1
else
r=AH
return r
endif
elif B9[M][A2]
Y=M
X=A2
F=B9[Y][X]
if M
elif F>=AH
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CF[M][A3]
if M
MX[Bj]=M
MZ[Bj]=A3
Bj=Bj+1
else
r=AH
return r
endif
elif B9[M][A3]
Y=M
X=A3
F=B9[Y][X]
if M
elif F>=AH
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CF[R][P]
if R
MX[Bj]=R
MZ[Bj]=P
Bj=Bj+1
else
r=AH
return r
endif
elif B9[R][P]
Y=R
X=P
F=B9[Y][X]
if R
elif F>=AH
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CF[R][O]
if R
MX[Bj]=R
MZ[Bj]=O
Bj=Bj+1
else
r=AH
return r
endif
elif B9[R][O]
Y=R
X=O
F=B9[Y][X]
if R
elif F>=AH
r=F
return r
elif F>r
r=F
endif
Dh()
endif
endif
endwhile
endfunc
func APv()
while pZ()
pq()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CF[Q][P]
if Q
MC[Bh]=Q
MY[Bh]=P
Bh=Bh+1
else
r=AR
return r
endif
elif B9[Q][P]
Y=Q
X=P
F=B9[Y][X]
if Q
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Me()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CF[Q][O]
if Q
MC[Bh]=Q
MY[Bh]=O
Bh=Bh+1
else
r=AR
return r
endif
elif B9[Q][O]
Y=Q
X=O
F=B9[Y][X]
if Q
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Me()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CF[M][A2]
if M
MC[Bh]=M
MY[Bh]=A2
Bh=Bh+1
else
r=AR
return r
endif
elif B9[M][A2]
Y=M
X=A2
F=B9[Y][X]
if M
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Me()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CF[M][A3]
if M
MC[Bh]=M
MY[Bh]=A3
Bh=Bh+1
else
r=AR
return r
endif
elif B9[M][A3]
Y=M
X=A3
F=B9[Y][X]
if M
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Me()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CF[R][P]
if R
MC[Bh]=R
MY[Bh]=P
Bh=Bh+1
else
r=AR
return r
endif
elif B9[R][P]
Y=R
X=P
F=B9[Y][X]
if R
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Me()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CF[R][O]
if R
MC[Bh]=R
MY[Bh]=O
Bh=Bh+1
else
r=AR
return r
endif
elif B9[R][O]
Y=R
X=O
F=B9[Y][X]
if R
elif F>=AR
r=F
return r
elif F>r
r=F
endif
Me()
endif
endif
endwhile
endfunc
func AUc()
while o5()
o6()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CF[Q][P]
if Q
MP[Ba]=Q
MW[Ba]=P
Ba=Ba+1
else
r=BM
return r
endif
elif B9[Q][P]
Y=Q
X=P
F=B9[Y][X]
if Q
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mb()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CF[Q][O]
if Q
MP[Ba]=Q
MW[Ba]=O
Ba=Ba+1
else
r=BM
return r
endif
elif B9[Q][O]
Y=Q
X=O
F=B9[Y][X]
if Q
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mb()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CF[M][A2]
if M
MP[Ba]=M
MW[Ba]=A2
Ba=Ba+1
else
r=BM
return r
endif
elif B9[M][A2]
Y=M
X=A2
F=B9[Y][X]
if M
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mb()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CF[M][A3]
if M
MP[Ba]=M
MW[Ba]=A3
Ba=Ba+1
else
r=BM
return r
endif
elif B9[M][A3]
Y=M
X=A3
F=B9[Y][X]
if M
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mb()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CF[R][P]
if R
MP[Ba]=R
MW[Ba]=P
Ba=Ba+1
else
r=BM
return r
endif
elif B9[R][P]
Y=R
X=P
F=B9[Y][X]
if R
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mb()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CF[R][O]
if R
MP[Ba]=R
MW[Ba]=O
Ba=Ba+1
else
r=BM
return r
endif
elif B9[R][O]
Y=R
X=O
F=B9[Y][X]
if R
elif F>=BM
r=F
return r
elif F>r
r=F
endif
Mb()
endif
endif
endwhile
endfunc
func AEt()
while pM()
ob()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CF[Q][P]
if Q
MT[Bc]=Q
MU[Bc]=P
Bc=Bc+1
else
r=BN
return r
endif
elif B9[Q][P]
Y=Q
X=P
F=B9[Y][X]
if Q
elif F>=BN
r=F
return r
elif F>r
r=F
endif
Kv()
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CF[Q][O]
if Q
MT[Bc]=Q
MU[Bc]=O
Bc=Bc+1
else
r=BN
return r
endif
elif B9[Q][O]
Y=Q
X=O
F=B9[Y][X]
if Q
elif F>=BN
r=F
return r
elif F>r
r=F
endif
Kv()
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CF[M][A2]
if M
MT[Bc]=M
MU[Bc]=A2
Bc=Bc+1
else
r=BN
return r
endif
elif B9[M][A2]
Y=M
X=A2
F=B9[Y][X]
if M
elif F>=BN
r=F
return r
elif F>r
r=F
endif
Kv()
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CF[M][A3]
if M
MT[Bc]=M
MU[Bc]=A3
Bc=Bc+1
else
r=BN
return r
endif
elif B9[M][A3]
Y=M
X=A3
F=B9[Y][X]
if M
elif F>=BN
r=F
return r
elif F>r
r=F
endif
Kv()
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CF[R][P]
if R
MT[Bc]=R
MU[Bc]=P
Bc=Bc+1
else
r=BN
return r
endif
elif B9[R][P]
Y=R
X=P
F=B9[Y][X]
if R
elif F>=BN
r=F
return r
elif F>r
r=F
endif
Kv()
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CF[R][O]
if R
MT[Bc]=R
MU[Bc]=O
Bc=Bc+1
else
r=BN
return r
endif
elif B9[R][O]
Y=R
X=O
F=B9[Y][X]
if R
elif F>=BN
r=F
return r
elif F>r
r=F
endif
Kv()
endif
endif
endwhile
endfunc
func ALc()
while qV()
re()
Dt()
if A9[Q][P]
else
A9[Q][P]=1
if CF[Q][P]
if Q
Dp[AP]=Q
Dq[AP]=P
AP=AP+1
else
r=D7
return r
endif
elif B9[Q][P]
if Q
else
r=F
return r
endif
Dp[AP]=Q
Dq[AP]=P
AP=AP+1
endif
endif
if A9[Q][O]
else
A9[Q][O]=1
if CF[Q][O]
if Q
Dp[AP]=Q
Dq[AP]=O
AP=AP+1
else
r=D7
return r
endif
elif B9[Q][O]
if Q
else
r=F
return r
endif
Dp[AP]=Q
Dq[AP]=O
AP=AP+1
endif
endif
if A9[M][A2]
else
A9[M][A2]=1
if CF[M][A2]
if M
Dp[AP]=M
Dq[AP]=A2
AP=AP+1
else
r=D7
return r
endif
elif B9[M][A2]
if M
else
r=F
return r
endif
Dp[AP]=M
Dq[AP]=A2
AP=AP+1
endif
endif
if A9[M][A3]
else
A9[M][A3]=1
if CF[M][A3]
if M
Dp[AP]=M
Dq[AP]=A3
AP=AP+1
else
r=D7
return r
endif
elif B9[M][A3]
if M
else
r=F
return r
endif
Dp[AP]=M
Dq[AP]=A3
AP=AP+1
endif
endif
if A9[R][P]
else
A9[R][P]=1
if CF[R][P]
if R
Dp[AP]=R
Dq[AP]=P
AP=AP+1
else
r=D7
return r
endif
elif B9[R][P]
if R
else
r=F
return r
endif
Dp[AP]=R
Dq[AP]=P
AP=AP+1
endif
endif
if A9[R][O]
else
A9[R][O]=1
if CF[R][O]
if R
Dp[AP]=R
Dq[AP]=O
AP=AP+1
else
r=D7
return r
endif
elif B9[R][O]
if R
else
r=F
return r
endif
Dp[AP]=R
Dq[AP]=O
AP=AP+1
endif
endif
endwhile
endfunc
func AXd()
AXh()
ApR()
if Aq2()
return B4
endif
if AjJ()
return B4
endif
if r>=AH
return r
endif
if AY4()
return AH
endif
if Amv()
return AH
endif
if r>=AR
return r
endif
if ALC()
return AR
endif
if APv()
return AR
endif
if r>=BM
return r
endif
if AkD()
return BM
endif
if AUc()
return BM
endif
if r>=BN
return r
endif
if AHn()
return BN
endif
if AEt()
return BN
endif
if r>=D7
return r
endif
if ANK()
return D7
endif
if ALc()
return D7
endif
endfunc
func A8u()
if CE[Dl][Z]
Fu[BB]=Dl
Fz[BB]=Z
BB=BB+1
A7[Dl][Z]=2
elif B8[Dl][Z]
Y=Dl
X=Z
F=B8[Y][X]
DU()
A7[Dl][Z]=2
else
A7[Dl][Z]=1
endif
endfunc
func AaU()
if CE[L0][L]
Fu[BB]=L0
Fz[BB]=L
BB=BB+1
A7[L0][L]=2
elif B8[Dl][Z]
Y=L0
X=L
F=B8[Y][X]
DU()
A7[L0][L]=2
else
A7[L0][L]=1
endif
endfunc
func AVZ()
A7=B()
rj()
qv()
q9()
qD()
q7()
qW()
Dl=AD
A8u()
while Dl
L0=Dl-1
Dl=Dl-2
A8u()
AaU()
endwhile
endfunc
func Apf()
p3()
A9=B()
Dx=AJ
while Dx
Dx=Dx-1
if CE[AD][Dx]
A9[AD][Dx]=2
Kk[BS]=AD
Kh[BS]=Dx
BS=BS+1
elif B8[AD][Dx]
A9[AD][Dx]=2
Y=AD
X=Dx
F=B8[Y][X]
Dh()
else
A9[AD][Dx]=1
endif
endwhile
endfunc
func AAH()
if CD[Dl][Z]
Fu[BB]=Dl
Fz[BB]=Z
BB=BB+1
A7[Dl][Z]=2
elif B7[Dl][Z]
Y=Dl
X=Z
F=B7[Y][X]
DU()
A7[Dl][Z]=2
else
A7[Dl][Z]=1
endif
endfunc
func AL2()
if CD[L0][L]
Fu[BB]=L0
Fz[BB]=L
BB=BB+1
A7[L0][L]=2
elif B7[Dl][Z]
Y=L0
X=L
F=B7[Y][X]
DU()
A7[L0][L]=2
else
A7[L0][L]=1
endif
endfunc
func Ah5()
A7=B()
rj()
qv()
q9()
qD()
q7()
qW()
Dl=AD
AAH()
while Dl
L0=Dl-1
Dl=Dl-2
AAH()
AL2()
endwhile
endfunc
func AMk()
p3()
A9=B()
Dx=AJ
while Dx
Dx=Dx-1
if CD[AD][Dx]
A9[AD][Dx]=2
Kk[BS]=AD
Kh[BS]=Dx
BS=BS+1
elif B7[AD][Dx]
A9[AD][Dx]=2
Y=AD
X=Dx
F=B7[Y][X]
Dh()
else
A9[AD][Dx]=1
endif
endwhile
endfunc
func zE()
if CC[Dl][Z]
Fu[BB]=Dl
Fz[BB]=Z
BB=BB+1
A7[Dl][Z]=2
elif BA[Dl][Z]
Y=Dl
X=Z
F=BA[Y][X]
DU()
A7[Dl][Z]=2
else
A7[Dl][Z]=1
endif
endfunc
func AL6()
if CC[L0][L]
Fu[BB]=L0
Fz[BB]=L
BB=BB+1
A7[L0][L]=2
elif BA[Dl][Z]
Y=L0
X=L
F=BA[Y][X]
DU()
A7[L0][L]=2
else
A7[L0][L]=1
endif
endfunc
func AF8()
A7=B()
rj()
qv()
q9()
qD()
q7()
qW()
Dl=AD
zE()
while Dl
L0=Dl-1
Dl=Dl-2
zE()
AL6()
endwhile
endfunc
func AZy()
p3()
A9=B()
Dx=AJ
while Dx
Dx=Dx-1
if CC[AD][Dx]
A9[AD][Dx]=2
Kk[BS]=AD
Kh[BS]=Dx
BS=BS+1
elif BA[AD][Dx]
A9[AD][Dx]=2
Y=AD
X=Dx
F=BA[Y][X]
Dh()
else
A9[AD][Dx]=1
endif
endwhile
endfunc
func A8f()
if CF[Dl][Z]
Fu[BB]=Dl
Fz[BB]=Z
BB=BB+1
A7[Dl][Z]=2
elif B9[Dl][Z]
Y=Dl
X=Z
F=B9[Y][X]
DU()
A7[Dl][Z]=2
else
A7[Dl][Z]=1
endif
endfunc
func APp()
if CF[L0][L]
Fu[BB]=L0
Fz[BB]=L
BB=BB+1
A7[L0][L]=2
elif B9[Dl][Z]
Y=L0
X=L
F=B9[Y][X]
DU()
A7[L0][L]=2
else
A7[L0][L]=1
endif
endfunc
func AXh()
A7=B()
rj()
qv()
q9()
qD()
q7()
qW()
Dl=AD
A8f()
while Dl
L0=Dl-1
Dl=Dl-2
A8f()
APp()
endwhile
endfunc
func ApR()
p3()
A9=B()
Dx=AJ
while Dx
Dx=Dx-1
if CF[AD][Dx]
A9[AD][Dx]=2
Kk[BS]=AD
Kh[BS]=Dx
BS=BS+1
elif B9[AD][Dx]
A9[AD][Dx]=2
Y=AD
X=Dx
F=B9[Y][X]
Dh()
else
A9[AD][Dx]=1
endif
endwhile
endfunc
func Dt()
AkB=M%2
Q=M-1
R=M+1
A2=OH+1
A3=OH-1
if AkB
P=OH-1
O=OH
else
P=OH
O=OH+1
endif
endfunc
func DU()
if F>=BM
if F>=AR
if F>=AH
MQ[Bb]=Y
MS[Bb]=X
Bb=Bb+1
else
A6Y()
endif
else
wN()
endif
else
LL()
endif
endfunc
func Mh()
if F>=BM
if F>=AR
A6Y()
else
wN()
endif
else
LL()
endif
endfunc
func Mj()
if F>=BM 
wN()
else
LL()
endif
endfunc
func LL()
if F>=BN 
MK[Be]=Y
MN[Be]=X
Be=Be+1
else
Dm[AQ]=Y
Dr[AQ]=X
AQ=AQ+1
endif
endfunc
func rj()
BB=B()
endfunc
func q8()
BB=BB-1
M=Fu[BB]
OH=Fz[BB]
endfunc
func r6()
return BB
endfunc
func qv()
Bb=B()
endfunc
func pm()
Bb=Bb-1
M=MQ[Bb]
OH=MS[Bb]
endfunc
func pF()
return Bb
endfunc
func A6Y()
MV[Bf]=Y
MB[Bf]=X
Bf=Bf+1
endfunc
func q9()
Bf=B()
endfunc
func pD()
Bf=Bf-1
M=MV[Bf]
OH=MB[Bf]
endfunc
func oq()
return Bf
endfunc
func wN()
MF[Bd]=Y
ML[Bd]=X
Bd=Bd+1
endfunc
func qD()
Bd=B()
endfunc
func ph()
Bd=Bd-1
M=MF[Bd]
OH=ML[Bd]
endfunc
func qM()
return Bd
endfunc
func q7()
Be=B()
endfunc
func rh()
Be=Be-1
M=MK[Be]
OH=MN[Be]
endfunc
func q5()
return Be
endfunc
func qW()
AQ=B()
endfunc
func pJ()
AQ=AQ-1
M=Dm[AQ]
OH=Dr[AQ]
endfunc
func pp()
return AQ
endfunc
func Dh()
if F>=BM
if F>=AR
if F>=AH
MX[Bj]=Y
MZ[Bj]=X
Bj=Bj+1
else
zO()
endif
else
uf()
endif
else
Kv()
endif
endfunc
func Me()
if F>=BM
if F>=AR
zO()
else
uf()
endif
else
Kv()
endif
endfunc
func Mb()
if F>=BM 
uf()
else
Kv()
endif
endfunc
func Kv()
if F>=BN 
MT[Bc]=Y
MU[Bc]=X
Bc=Bc+1
else
Dp[AP]=Y
Dq[AP]=X
AP=AP+1
endif
endfunc
func p3()
BS=B()
endfunc
func qT()
BS=BS-1
M=Kk[BS]
OH=Kh[BS]
endfunc
func rB()
return BS
endfunc
func B3S()
Bj=B()
endfunc
func pA()
Bj=Bj-1
M=MX[Bj]
OH=MZ[Bj]
endfunc
func pH()
return Bj
endfunc
func zO()
MC[Bh]=Y
MY[Bh]=X
Bh=Bh+1
endfunc
func BAm()
Bh=B()
endfunc
func pq()
Bh=Bh-1
M=MC[Bh]
OH=MY[Bh]
endfunc
func pZ()
return Bh
endfunc
func uf()
MP[Ba]=Y
MW[Ba]=X
Ba=Ba+1
endfunc
func A_Y()
Ba=B()
endfunc
func o6()
Ba=Ba-1
M=MP[Ba]
OH=MW[Ba]
endfunc
func o5()
return Ba
endfunc
func B49()
Bc=B()
endfunc
func ob()
Bc=Bc-1
M=MT[Bc]
OH=MU[Bc]
endfunc
func pM()
return Bc
endfunc
func B3W()
AP=B()
endfunc
func re()
AP=AP-1
M=Dp[AP]
OH=Dq[AP]
endfunc
func qV()
return AP
endfunc
func AfK()
ABx()
oN()
ATz()
ADr()
A3z()
endfunc
func ADr()
if Lh()
Du=1
elif Ln()
Du=2
elif Mf()
Du=3
elif N3()
Du=4
elif NX()
Du=5
else
Du=B()
endif
while Du
if Du>=3
if Du>=5
Du=Aep()
elif Du>=4
Du=APQ()
else
Du=AUU()
endif
elif Du>=2
Du=AOO()
else
Du=AKh()
endif
endwhile
endfunc
func A3v()
w7()
jk=Dn()
k6=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
La[Lh()]=BP()
Lc[Lh()]=BR()
AQo()
K[BR()][BP()]=K[BR()][BP()]|2
AF=AF+1
endwhile
endfunc
func AKh()
AMU()
if Lo>=4
elif Lo>=2
if Lo>=3
return ASa()
else
return Ahz()
endif
elif Lo
return ANc()
else
endif
endfunc
func ANc()
DN()
while A8()<Lh()
if OQ[A8()]==1
B3=AKd()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AKd()
fB()
nX()
Bv=La[A8()]
Bq=Lc[A8()]
CM=La[BT()]
CV=Lc[BT()]
DR()
if AO()==Lh()
DT()
else
DS()
z=La[AO()]
_=Lc[AO()]
endif
if P_()
nh()
A3v()
if Dk<W()
Dk=W()
endif
return 1
else
endif
endfunc
func Ahz()
DN()
while A8()<Lh()
if OQ[A8()]==2
B3=ARe()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func ARe()
YM()
nX()
Bv=La[A8()]
Bq=Lc[A8()]
CM=La[BT()]
CV=Lc[BT()]
DR()
if AO()==Lh()
DT()
else
DS()
z=La[AO()]
_=Lc[AO()]
endif
if P_()
nh()
tC()
if Dk<W()
Dk=W()
endif
return 2
else
endif
endfunc
func ASa()
DN()
while A8()<Lh()
if OQ[A8()]==3
B3=Ad_()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Ad_()
TC()
nX()
Bv=La[A8()]
Bq=Lc[A8()]
CM=La[BT()]
CV=Lc[BT()]
DR()
if AO()==Lh()
DT()
else
DS()
z=La[AO()]
_=Lc[AO()]
endif
if P_()
nh()
oh()
if Dk<W()
Dk=W()
endif
return 3
else
endif
endfunc
func ArV()
DN()
while A8()<Lh()
if OQ[A8()]==4
B3=Afe()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Afe()
QN()
nX()
Bv=La[A8()]
Bq=Lc[A8()]
CM=La[BT()]
CV=Lc[BT()]
DR()
if AO()==Lh()
DT()
else
DS()
z=La[AO()]
_=Lc[AO()]
endif
if P_()
nh()
nQ()
if Dk<W()
Dk=W()
endif
return 4
else
endif
endfunc
func B2x()
DN()
while A8()<Lh()
if OQ[A8()]==5
B3=Acz()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Acz()
QB()
nX()
Bv=La[A8()]
Bq=Lc[A8()]
CM=La[BT()]
CV=Lc[BT()]
DR()
if AO()==Lh()
DT()
else
DS()
z=La[AO()]
_=Lc[AO()]
endif
if P_()
nh()
mt()
if Dk<W()
Dk=W()
endif
return 5
else
endif
endfunc
func nX()
PH()
AF=0
while AF<A8()
A1[N()]=La[AF]
A0[N()]=Lc[AF]
A4()
AF=AF+1
endwhile
endfunc
func nh()
AF=AO()
while AF<Lh()
A1[N()]=La[AF]
A0[N()]=Lc[AF]
A4()
AF=AF+1
endwhile
endfunc
func AMU()
O2=Lh()
Lo=7
while A8()
Pj()
Bv=La[A8()]
Bq=Lc[A8()]
Md()
Pf()
if AHC<V[DP()][Dn()]
AHC=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&3
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&3
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&3
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&3
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&3
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&3
endif
Pl=Q8()
if CH()<Lo
if CH()
Lo=CH()
elif AO()==Lh()
Lo=CH()
else
Lo=7
return B()
endif
endif
OQ[A8()]=CH()
endwhile
endfunc
func tC()
tn()
l1=Dn()
eP=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
Hf[Ln()]=BP()
Js[Ln()]=BR()
AlR()
K[BR()][BP()]=K[BR()][BP()]|4
AF=AF+1
endwhile
endfunc
func AOO()
Alm()
if L_>=4
elif L_>=2
if L_>=3
return AJU()
else
return AMx()
endif
elif L_
return ARy()
else
return AWc()
endif
endfunc
func AWc()
DN()
while A8()<Ln()
if OJ[A8()]==0
B3=AOt()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AOt()
fB()
mU()
Bv=Hf[A8()]
Bq=Js[A8()]
CM=Hf[BT()]
CV=Js[BT()]
DR()
if AO()==Ln()
DT()
else
DS()
z=Hf[AO()]
_=Js[AO()]
endif
if QA()
l5()
A3v()
if Dk<W()
Dk=W()
endif
return 1
else
endif
endfunc
func ARy()
DN()
while A8()<Ln()
if OJ[A8()]==1
B3=AU8()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AU8()
YM()
mU()
Bv=Hf[A8()]
Bq=Js[A8()]
CM=Hf[BT()]
CV=Js[BT()]
DR()
if AO()==Ln()
DT()
else
DS()
z=Hf[AO()]
_=Js[AO()]
endif
if QA()
l5()
tC()
if Dk<W()
Dk=W()
endif
return 2
else
endif
endfunc
func AMx()
DN()
while A8()<Ln()
if OJ[A8()]==2
B3=Ahn()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Ahn()
TC()
mU()
Bv=Hf[A8()]
Bq=Js[A8()]
CM=Hf[BT()]
CV=Js[BT()]
DR()
if AO()==Ln()
DT()
else
DS()
z=Hf[AO()]
_=Js[AO()]
endif
if QA()
l5()
oh()
if Dk<W()
Dk=W()
endif
return 3
else
endif
endfunc
func AJU()
DN()
while A8()<Ln()
if OJ[A8()]==3
B3=AJD()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AJD()
QN()
mU()
Bv=Hf[A8()]
Bq=Js[A8()]
CM=Hf[BT()]
CV=Js[BT()]
DR()
if AO()==Ln()
DT()
else
DS()
z=Hf[AO()]
_=Js[AO()]
endif
if QA()
l5()
nQ()
if Dk<W()
Dk=W()
endif
return 4
else
endif
endfunc
func B9X()
DN()
while A8()<Ln()
if OJ[A8()]==4
B3=Aq4()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Aq4()
QB()
mU()
Bv=Hf[A8()]
Bq=Js[A8()]
CM=Hf[BT()]
CV=Js[BT()]
DR()
if AO()==Ln()
DT()
else
DS()
z=Hf[AO()]
_=Js[AO()]
endif
if QA()
l5()
mt()
if Dk<W()
Dk=W()
endif
return 5
else
endif
endfunc
func mU()
PH()
AF=0
while AF<A8()
A1[N()]=Hf[AF]
A0[N()]=Js[AF]
A4()
AF=AF+1
endwhile
endfunc
func l5()
AF=AO()
while AF<Ln()
A1[N()]=Hf[AF]
A0[N()]=Js[AF]
A4()
AF=AF+1
endwhile
endfunc
func Alm()
O2=Ln()
L_=7
while A8()
Pj()
Bv=Hf[A8()]
Bq=Js[A8()]
Md()
Pf()
if ATO<V[DP()][Dn()]
ATO=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&7
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&7
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&7
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&7
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&7
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&7
endif
Pl=Q8()
if CH()<L_
if CH()
L_=CH()
elif AO()==Ln()
L_=CH()
else
L_=7
return B()
endif
endif
OJ[A8()]=CH()
endwhile
endfunc
func oh()
qn()
nZ=Dn()
lQ=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
KA[Mf()]=BP()
KW[Mf()]=BR()
ASw()
K[BR()][BP()]=K[BR()][BP()]|8
AF=AF+1
endwhile
endfunc
func AUU()
AFe()
if Lx>=4
elif Lx>=2
if Lx>=3
return AHA()
else
return AQS()
endif
elif Lx
return AN8()
else
return AKH()
endif
endfunc
func AKH()
DN()
while A8()<Mf()
if QW[A8()]==0
B3=AQR()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AQR()
YM()
rO()
Bv=KA[A8()]
Bq=KW[A8()]
CM=KA[BT()]
CV=KW[BT()]
DR()
if AO()==Mf()
DT()
else
DS()
z=KA[AO()]
_=KW[AO()]
endif
if TD()
qm()
tC()
if Dk<W()
Dk=W()
endif
return 2
else
endif
endfunc
func AN8()
DN()
while A8()<Mf()
if QW[A8()]==1
B3=Ad6()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Ad6()
TC()
rO()
Bv=KA[A8()]
Bq=KW[A8()]
CM=KA[BT()]
CV=KW[BT()]
DR()
if AO()==Mf()
DT()
else
DS()
z=KA[AO()]
_=KW[AO()]
endif
if TD()
qm()
oh()
if Dk<W()
Dk=W()
endif
return 3
else
endif
endfunc
func AQS()
DN()
while A8()<Mf()
if QW[A8()]==2
B3=Akh()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Akh()
QN()
rO()
Bv=KA[A8()]
Bq=KW[A8()]
CM=KA[BT()]
CV=KW[BT()]
DR()
if AO()==Mf()
DT()
else
DS()
z=KA[AO()]
_=KW[AO()]
endif
if TD()
qm()
nQ()
if Dk<W()
Dk=W()
endif
return 4
else
endif
endfunc
func AHA()
DN()
while A8()<Mf()
if QW[A8()]==3
B3=AOA()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AOA()
QB()
rO()
Bv=KA[A8()]
Bq=KW[A8()]
CM=KA[BT()]
CV=KW[BT()]
DR()
if AO()==Mf()
DT()
else
DS()
z=KA[AO()]
_=KW[AO()]
endif
if TD()
qm()
mt()
if Dk<W()
Dk=W()
endif
return 5
else
endif
endfunc
func rO()
PH()
AF=0
while AF<A8()
A1[N()]=KA[AF]
A0[N()]=KW[AF]
A4()
AF=AF+1
endwhile
endfunc
func qm()
AF=AO()
while AF<Mf()
A1[N()]=KA[AF]
A0[N()]=KW[AF]
A4()
AF=AF+1
endwhile
endfunc
func AFe()
O2=Mf()
Lx=7
while A8()
Pj()
Bv=KA[A8()]
Bq=KW[A8()]
Md()
Pf()
if AfN<V[DP()][Dn()]
AfN=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&15
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&15
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&15
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&15
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&15
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&15
endif
Pl=Q8()
if CH()<Lx
if CH()
Lx=CH()
elif AO()==Mf()
Lx=CH()
else
Lx=7
return B()
endif
endif
QW[A8()]=CH()
endwhile
endfunc
func nQ()
rS()
lV=Dn()
mK=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
Ht[N3()]=BP()
Jt[N3()]=BR()
Aee()
K[BR()][BP()]=K[BR()][BP()]|16
AF=AF+1
endwhile
endfunc
func APQ()
AME()
if M9>=4
elif M9>=2
if M9>=3
else
return AKT()
endif
elif M9
return AWy()
else
return AHd()
endif
endfunc
func AHd()
DN()
while A8()<N3()
if UK[A8()]==0
B3=AcR()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AcR()
TC()
vF()
Bv=Ht[A8()]
Bq=Jt[A8()]
CM=Ht[BT()]
CV=Jt[BT()]
DR()
if AO()==N3()
DT()
else
DS()
z=Ht[AO()]
_=Jt[AO()]
endif
if Xs()
yA()
oh()
if Dk<W()
Dk=W()
endif
return 3
else
endif
endfunc
func AWy()
DN()
while A8()<N3()
if UK[A8()]==1
B3=Am7()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Am7()
QN()
vF()
Bv=Ht[A8()]
Bq=Jt[A8()]
CM=Ht[BT()]
CV=Jt[BT()]
DR()
if AO()==N3()
DT()
else
DS()
z=Ht[AO()]
_=Jt[AO()]
endif
if Xs()
yA()
nQ()
if Dk<W()
Dk=W()
endif
return 4
else
endif
endfunc
func AKT()
DN()
while A8()<N3()
if UK[A8()]==2
B3=ANV()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func ANV()
QB()
vF()
Bv=Ht[A8()]
Bq=Jt[A8()]
CM=Ht[BT()]
CV=Jt[BT()]
DR()
if AO()==N3()
DT()
else
DS()
z=Ht[AO()]
_=Jt[AO()]
endif
if Xs()
yA()
mt()
if Dk<W()
Dk=W()
endif
return 5
else
endif
endfunc
func vF()
PH()
AF=0
while AF<A8()
A1[N()]=Ht[AF]
A0[N()]=Jt[AF]
A4()
AF=AF+1
endwhile
endfunc
func yA()
AF=AO()
while AF<N3()
A1[N()]=Ht[AF]
A0[N()]=Jt[AF]
A4()
AF=AF+1
endwhile
endfunc
func AME()
O2=N3()
M9=7
while A8()
Pj()
Bv=Ht[A8()]
Bq=Jt[A8()]
Md()
Pf()
if Aet<V[DP()][Dn()]
Aet=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&31
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&31
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&31
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&31
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&31
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&31
endif
Pl=Q8()
if CH()<M9
if CH()
M9=CH()
elif AO()==N3()
M9=CH()
else
M9=7
return B()
endif
endif
UK[A8()]=CH()
endwhile
endfunc
func mt()
qw()
o8=Dn()
q1=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
L1[NX()]=BP()
LA[NX()]=BR()
AbC()
K[BR()][BP()]=K[BR()][BP()]|32
AF=AF+1
endwhile
endfunc
func Aep()
AYq()
if M3>=4
elif M3>=2
if M3>=3
else
endif
elif M3
return AOs()
else
return AfE()
endif
endfunc
func AfE()
DN()
while A8()<NX()
if ZP[A8()]==0
B3=Adf()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Adf()
QN()
ADH()
Bv=L1[A8()]
Bq=LA[A8()]
CM=L1[BT()]
CV=LA[BT()]
DR()
if AO()==NX()
DT()
else
DS()
z=L1[AO()]
_=LA[AO()]
endif
if fC()
A3T()
nQ()
if Dk<W()
Dk=W()
endif
return 4
else
endif
endfunc
func AOs()
DN()
while A8()<NX()
if ZP[A8()]==1
B3=AmP()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AmP()
QB()
ADH()
Bv=L1[A8()]
Bq=LA[A8()]
CM=L1[BT()]
CV=LA[BT()]
DR()
if AO()==NX()
DT()
else
DS()
z=L1[AO()]
_=LA[AO()]
endif
if fC()
A3T()
mt()
if Dk<W()
Dk=W()
endif
return 5
else
endif
endfunc
func ADH()
PH()
AF=0
while AF<A8()
A1[N()]=L1[AF]
A0[N()]=LA[AF]
A4()
AF=AF+1
endwhile
endfunc
func A3T()
AF=AO()
while AF<NX()
A1[N()]=L1[AF]
A0[N()]=LA[AF]
A4()
AF=AF+1
endwhile
endfunc
func AYq()
O2=NX()
M3=7
while A8()
Pj()
Bv=L1[A8()]
Bq=LA[A8()]
Md()
Pf()
if Abd<V[DP()][Dn()]
Abd=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&63
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&63
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&63
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&63
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&63
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&63
endif
Pl=Q8()
if CH()<M3
if CH()
M3=CH()
elif AO()==NX()
M3=CH()
else
M3=7
return B()
endif
endif
ZP[A8()]=CH()
endwhile
endfunc
func AEv()
A7v()
oC()
ALw()
A6v()
ACe()
endfunc
func A6v()
if LW()
Du=1
elif MA()
Du=2
elif Mc()
Du=3
elif N4()
Du=4
elif ND()
Du=5
else
Du=B()
endif
while Du
if Du>=3
if Du>=5
Du=Amr()
elif Du>=4
Du=Aoo()
else
Du=AlJ()
endif
elif Du>=2
Du=AfF()
else
Du=AbX()
endif
endwhile
endfunc
func AAv()
v7()
f3=Dn()
hy=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
Lz[LW()]=BP()
Lv[LW()]=BR()
AnW()
K[BR()][BP()]=K[BR()][BP()]|2
AF=AF+1
endwhile
endfunc
func AbX()
AlX()
if Lo>=4
elif Lo>=2
if Lo>=3
return ASO()
else
return AVD()
endif
elif Lo
return Afp()
else
endif
endfunc
func Afp()
DN()
while A8()<LW()
if OQ[A8()]==1
B3=APe()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func APe()
fB()
lS()
Bv=Lz[A8()]
Bq=Lv[A8()]
CM=Lz[BT()]
CV=Lv[BT()]
DR()
if AO()==LW()
DT()
else
DS()
z=Lz[AO()]
_=Lv[AO()]
endif
if P_()
lp()
AAv()
if Df<W()
Df=W()
endif
return 1
else
endif
endfunc
func AVD()
DN()
while A8()<LW()
if OQ[A8()]==2
B3=Am1()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Am1()
YM()
lS()
Bv=Lz[A8()]
Bq=Lv[A8()]
CM=Lz[BT()]
CV=Lv[BT()]
DR()
if AO()==LW()
DT()
else
DS()
z=Lz[AO()]
_=Lv[AO()]
endif
if P_()
lp()
vW()
if Df<W()
Df=W()
endif
return 2
else
endif
endfunc
func ASO()
DN()
while A8()<LW()
if OQ[A8()]==3
B3=ASU()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func ASU()
TC()
lS()
Bv=Lz[A8()]
Bq=Lv[A8()]
CM=Lz[BT()]
CV=Lv[BT()]
DR()
if AO()==LW()
DT()
else
DS()
z=Lz[AO()]
_=Lv[AO()]
endif
if P_()
lp()
qP()
if Df<W()
Df=W()
endif
return 3
else
endif
endfunc
func AwS()
DN()
while A8()<LW()
if OQ[A8()]==4
B3=ARV()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func ARV()
QN()
lS()
Bv=Lz[A8()]
Bq=Lv[A8()]
CM=Lz[BT()]
CV=Lv[BT()]
DR()
if AO()==LW()
DT()
else
DS()
z=Lz[AO()]
_=Lv[AO()]
endif
if P_()
lp()
nH()
if Df<W()
Df=W()
endif
return 4
else
endif
endfunc
func AsH()
DN()
while A8()<LW()
if OQ[A8()]==5
B3=AJm()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AJm()
QB()
lS()
Bv=Lz[A8()]
Bq=Lv[A8()]
CM=Lz[BT()]
CV=Lv[BT()]
DR()
if AO()==LW()
DT()
else
DS()
z=Lz[AO()]
_=Lv[AO()]
endif
if P_()
lp()
mb()
if Df<W()
Df=W()
endif
return 5
else
endif
endfunc
func lS()
PH()
AF=0
while AF<A8()
A1[N()]=Lz[AF]
A0[N()]=Lv[AF]
A4()
AF=AF+1
endwhile
endfunc
func lp()
AF=AO()
while AF<LW()
A1[N()]=Lz[AF]
A0[N()]=Lv[AF]
A4()
AF=AF+1
endwhile
endfunc
func AlX()
O2=LW()
Lo=7
while A8()
Pj()
Bv=Lz[A8()]
Bq=Lv[A8()]
Md()
Pf()
if AYt<V[DP()][Dn()]
AYt=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&3
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&3
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&3
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&3
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&3
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&3
endif
Pl=Q8()
if CH()<Lo
if CH()
Lo=CH()
elif AO()==LW()
Lo=CH()
else
Lo=7
return B()
endif
endif
OQ[A8()]=CH()
endwhile
endfunc
func vW()
t6()
jJ=Dn()
kW=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
JV[MA()]=BP()
Hs[MA()]=BR()
Ah1()
K[BR()][BP()]=K[BR()][BP()]|4
AF=AF+1
endwhile
endfunc
func AfF()
AhD()
if L_>=4
elif L_>=2
if L_>=3
return AQL()
else
return ATx()
endif
elif L_
return Adx()
else
return AaY()
endif
endfunc
func AaY()
DN()
while A8()<MA()
if OJ[A8()]==0
B3=AcB()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AcB()
fB()
o0()
Bv=JV[A8()]
Bq=Hs[A8()]
CM=JV[BT()]
CV=Hs[BT()]
DR()
if AO()==MA()
DT()
else
DS()
z=JV[AO()]
_=Hs[AO()]
endif
if QA()
nC()
AAv()
if Df<W()
Df=W()
endif
return 1
else
endif
endfunc
func Adx()
DN()
while A8()<MA()
if OJ[A8()]==1
B3=AWB()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AWB()
YM()
o0()
Bv=JV[A8()]
Bq=Hs[A8()]
CM=JV[BT()]
CV=Hs[BT()]
DR()
if AO()==MA()
DT()
else
DS()
z=JV[AO()]
_=Hs[AO()]
endif
if QA()
nC()
vW()
if Df<W()
Df=W()
endif
return 2
else
endif
endfunc
func ATx()
DN()
while A8()<MA()
if OJ[A8()]==2
B3=ASq()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func ASq()
TC()
o0()
Bv=JV[A8()]
Bq=Hs[A8()]
CM=JV[BT()]
CV=Hs[BT()]
DR()
if AO()==MA()
DT()
else
DS()
z=JV[AO()]
_=Hs[AO()]
endif
if QA()
nC()
qP()
if Df<W()
Df=W()
endif
return 3
else
endif
endfunc
func AQL()
DN()
while A8()<MA()
if OJ[A8()]==3
B3=Ajm()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Ajm()
QN()
o0()
Bv=JV[A8()]
Bq=Hs[A8()]
CM=JV[BT()]
CV=Hs[BT()]
DR()
if AO()==MA()
DT()
else
DS()
z=JV[AO()]
_=Hs[AO()]
endif
if QA()
nC()
nH()
if Df<W()
Df=W()
endif
return 4
else
endif
endfunc
func B5M()
DN()
while A8()<MA()
if OJ[A8()]==4
B3=AO_()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AO_()
QB()
o0()
Bv=JV[A8()]
Bq=Hs[A8()]
CM=JV[BT()]
CV=Hs[BT()]
DR()
if AO()==MA()
DT()
else
DS()
z=JV[AO()]
_=Hs[AO()]
endif
if QA()
nC()
mb()
if Df<W()
Df=W()
endif
return 5
else
endif
endfunc
func o0()
PH()
AF=0
while AF<A8()
A1[N()]=JV[AF]
A0[N()]=Hs[AF]
A4()
AF=AF+1
endwhile
endfunc
func nC()
AF=AO()
while AF<MA()
A1[N()]=JV[AF]
A0[N()]=Hs[AF]
A4()
AF=AF+1
endwhile
endfunc
func AhD()
O2=MA()
L_=7
while A8()
Pj()
Bv=JV[A8()]
Bq=Hs[A8()]
Md()
Pf()
if AV5<V[DP()][Dn()]
AV5=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&7
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&7
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&7
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&7
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&7
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&7
endif
Pl=Q8()
if CH()<L_
if CH()
L_=CH()
elif AO()==MA()
L_=CH()
else
L_=7
return B()
endif
endif
OJ[A8()]=CH()
endwhile
endfunc
func qP()
pl()
n0=Dn()
nc=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
KX[Mc()]=BP()
KR[Mc()]=BR()
AVC()
K[BR()][BP()]=K[BR()][BP()]|8
AF=AF+1
endwhile
endfunc
func AlJ()
Ada()
if Lx>=4
elif Lx>=2
if Lx>=3
return APZ()
else
return AoY()
endif
elif Lx
return AlH()
else
return AfJ()
endif
endfunc
func AfJ()
DN()
while A8()<Mc()
if QW[A8()]==0
B3=AZD()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AZD()
YM()
qd()
Bv=KX[A8()]
Bq=KR[A8()]
CM=KX[BT()]
CV=KR[BT()]
DR()
if AO()==Mc()
DT()
else
DS()
z=KX[AO()]
_=KR[AO()]
endif
if TD()
oH()
vW()
if Df<W()
Df=W()
endif
return 2
else
endif
endfunc
func AlH()
DN()
while A8()<Mc()
if QW[A8()]==1
B3=AJJ()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AJJ()
TC()
qd()
Bv=KX[A8()]
Bq=KR[A8()]
CM=KX[BT()]
CV=KR[BT()]
DR()
if AO()==Mc()
DT()
else
DS()
z=KX[AO()]
_=KR[AO()]
endif
if TD()
oH()
qP()
if Df<W()
Df=W()
endif
return 3
else
endif
endfunc
func AoY()
DN()
while A8()<Mc()
if QW[A8()]==2
B3=AcK()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AcK()
QN()
qd()
Bv=KX[A8()]
Bq=KR[A8()]
CM=KX[BT()]
CV=KR[BT()]
DR()
if AO()==Mc()
DT()
else
DS()
z=KX[AO()]
_=KR[AO()]
endif
if TD()
oH()
nH()
if Df<W()
Df=W()
endif
return 4
else
endif
endfunc
func APZ()
DN()
while A8()<Mc()
if QW[A8()]==3
B3=Aey()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Aey()
QB()
qd()
Bv=KX[A8()]
Bq=KR[A8()]
CM=KX[BT()]
CV=KR[BT()]
DR()
if AO()==Mc()
DT()
else
DS()
z=KX[AO()]
_=KR[AO()]
endif
if TD()
oH()
mb()
if Df<W()
Df=W()
endif
return 5
else
endif
endfunc
func qd()
PH()
AF=0
while AF<A8()
A1[N()]=KX[AF]
A0[N()]=KR[AF]
A4()
AF=AF+1
endwhile
endfunc
func oH()
AF=AO()
while AF<Mc()
A1[N()]=KX[AF]
A0[N()]=KR[AF]
A4()
AF=AF+1
endwhile
endfunc
func Ada()
O2=Mc()
Lx=7
while A8()
Pj()
Bv=KX[A8()]
Bq=KR[A8()]
Md()
Pf()
if ARC<V[DP()][Dn()]
ARC=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&15
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&15
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&15
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&15
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&15
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&15
endif
Pl=Q8()
if CH()<Lx
if CH()
Lx=CH()
elif AO()==Mc()
Lx=CH()
else
Lx=7
return B()
endif
endif
QW[A8()]=CH()
endwhile
endfunc
func nH()
pr()
nz=Dn()
lB=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
Jw[N4()]=BP()
Jh[N4()]=BR()
AkQ()
K[BR()][BP()]=K[BR()][BP()]|16
AF=AF+1
endwhile
endfunc
func Aoo()
AYZ()
if M9>=4
elif M9>=2
if M9>=3
else
return ANh()
endif
elif M9
return Alw()
else
return AhT()
endif
endfunc
func AhT()
DN()
while A8()<N4()
if UK[A8()]==0
B3=AmZ()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AmZ()
TC()
wm()
Bv=Jw[A8()]
Bq=Jh[A8()]
CM=Jw[BT()]
CV=Jh[BT()]
DR()
if AO()==N4()
DT()
else
DS()
z=Jw[AO()]
_=Jh[AO()]
endif
if Xs()
sC()
qP()
if Df<W()
Df=W()
endif
return 3
else
endif
endfunc
func Alw()
DN()
while A8()<N4()
if UK[A8()]==1
B3=ARt()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func ARt()
QN()
wm()
Bv=Jw[A8()]
Bq=Jh[A8()]
CM=Jw[BT()]
CV=Jh[BT()]
DR()
if AO()==N4()
DT()
else
DS()
z=Jw[AO()]
_=Jh[AO()]
endif
if Xs()
sC()
nH()
if Df<W()
Df=W()
endif
return 4
else
endif
endfunc
func ANh()
DN()
while A8()<N4()
if UK[A8()]==2
B3=An3()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func An3()
QB()
wm()
Bv=Jw[A8()]
Bq=Jh[A8()]
CM=Jw[BT()]
CV=Jh[BT()]
DR()
if AO()==N4()
DT()
else
DS()
z=Jw[AO()]
_=Jh[AO()]
endif
if Xs()
sC()
mb()
if Df<W()
Df=W()
endif
return 5
else
endif
endfunc
func wm()
PH()
AF=0
while AF<A8()
A1[N()]=Jw[AF]
A0[N()]=Jh[AF]
A4()
AF=AF+1
endwhile
endfunc
func sC()
AF=AO()
while AF<N4()
A1[N()]=Jw[AF]
A0[N()]=Jh[AF]
A4()
AF=AF+1
endwhile
endfunc
func AYZ()
O2=N4()
M9=7
while A8()
Pj()
Bv=Jw[A8()]
Bq=Jh[A8()]
Md()
Pf()
if AON<V[DP()][Dn()]
AON=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&31
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&31
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&31
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&31
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&31
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&31
endif
Pl=Q8()
if CH()<M9
if CH()
M9=CH()
elif AO()==N4()
M9=CH()
else
M9=7
return B()
endif
endif
UK[A8()]=CH()
endwhile
endfunc
func mb()
rf()
r7=Dn()
pa=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
Ks[ND()]=BP()
LT[ND()]=BR()
AoO()
K[BR()][BP()]=K[BR()][BP()]|32
AF=AF+1
endwhile
endfunc
func Amr()
AVe()
if M3>=4
elif M3>=2
if M3>=3
else
endif
elif M3
return ALm()
else
return AeH()
endif
endfunc
func AeH()
DN()
while A8()<ND()
if ZP[A8()]==0
B3=AY0()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AY0()
QN()
AEJ()
Bv=Ks[A8()]
Bq=LT[A8()]
CM=Ks[BT()]
CV=LT[BT()]
DR()
if AO()==ND()
DT()
else
DS()
z=Ks[AO()]
_=LT[AO()]
endif
if fC()
AD5()
nH()
if Df<W()
Df=W()
endif
return 4
else
endif
endfunc
func ALm()
DN()
while A8()<ND()
if ZP[A8()]==1
B3=AFT()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AFT()
QB()
AEJ()
Bv=Ks[A8()]
Bq=LT[A8()]
CM=Ks[BT()]
CV=LT[BT()]
DR()
if AO()==ND()
DT()
else
DS()
z=Ks[AO()]
_=LT[AO()]
endif
if fC()
AD5()
mb()
if Df<W()
Df=W()
endif
return 5
else
endif
endfunc
func AEJ()
PH()
AF=0
while AF<A8()
A1[N()]=Ks[AF]
A0[N()]=LT[AF]
A4()
AF=AF+1
endwhile
endfunc
func AD5()
AF=AO()
while AF<ND()
A1[N()]=Ks[AF]
A0[N()]=LT[AF]
A4()
AF=AF+1
endwhile
endfunc
func AVe()
O2=ND()
M3=7
while A8()
Pj()
Bv=Ks[A8()]
Bq=LT[A8()]
Md()
Pf()
if AJv<V[DP()][Dn()]
AJv=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&63
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&63
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&63
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&63
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&63
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&63
endif
Pl=Q8()
if CH()<M3
if CH()
M3=CH()
elif AO()==ND()
M3=CH()
else
M3=7
return B()
endif
endif
ZP[A8()]=CH()
endwhile
endfunc
func AWS()
A4V()
p4()
AVn()
A58()
A8_()
endfunc
func A58()
if LX()
Du=1
elif Lb()
Du=2
elif Ma()
Du=3
elif N5()
Du=4
elif NK()
Du=5
else
Du=B()
endif
while Du
if Du>=3
if Du>=5
Du=AEj()
elif Du>=4
Du=ALO()
else
Du=AK6()
endif
elif Du>=2
Du=ANT()
else
Du=AQZ()
endif
endwhile
endfunc
func A8q()
sS()
eU=Dn()
eq=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
M1[LX()]=BP()
Lf[LX()]=BR()
AnO()
K[BR()][BP()]=K[BR()][BP()]|2
AF=AF+1
endwhile
endfunc
func AQZ()
AKo()
if Lo>=4
elif Lo>=2
if Lo>=3
return AoM()
else
return AhS()
endif
elif Lo
return ALS()
else
endif
endfunc
func ALS()
DN()
while A8()<LX()
if OQ[A8()]==1
B3=AWO()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AWO()
fB()
mx()
Bv=M1[A8()]
Bq=Lf[A8()]
CM=M1[BT()]
CV=Lf[BT()]
DR()
if AO()==LX()
DT()
else
DS()
z=M1[AO()]
_=Lf[AO()]
endif
if P_()
mn()
A8q()
if Dj<W()
Dj=W()
endif
return 1
else
endif
endfunc
func AhS()
DN()
while A8()<LX()
if OQ[A8()]==2
B3=ATW()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func ATW()
YM()
mx()
Bv=M1[A8()]
Bq=Lf[A8()]
CM=M1[BT()]
CV=Lf[BT()]
DR()
if AO()==LX()
DT()
else
DS()
z=M1[AO()]
_=Lf[AO()]
endif
if P_()
mn()
ry()
if Dj<W()
Dj=W()
endif
return 2
else
endif
endfunc
func AoM()
DN()
while A8()<LX()
if OQ[A8()]==3
B3=AEr()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AEr()
TC()
mx()
Bv=M1[A8()]
Bq=Lf[A8()]
CM=M1[BT()]
CV=Lf[BT()]
DR()
if AO()==LX()
DT()
else
DS()
z=M1[AO()]
_=Lf[AO()]
endif
if P_()
mn()
o_()
if Dj<W()
Dj=W()
endif
return 3
else
endif
endfunc
func B1f()
DN()
while A8()<LX()
if OQ[A8()]==4
B3=Afw()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Afw()
QN()
mx()
Bv=M1[A8()]
Bq=Lf[A8()]
CM=M1[BT()]
CV=Lf[BT()]
DR()
if AO()==LX()
DT()
else
DS()
z=M1[AO()]
_=Lf[AO()]
endif
if P_()
mn()
mj()
if Dj<W()
Dj=W()
endif
return 4
else
endif
endfunc
func B2X()
DN()
while A8()<LX()
if OQ[A8()]==5
B3=ATr()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func ATr()
QB()
mx()
Bv=M1[A8()]
Bq=Lf[A8()]
CM=M1[BT()]
CV=Lf[BT()]
DR()
if AO()==LX()
DT()
else
DS()
z=M1[AO()]
_=Lf[AO()]
endif
if P_()
mn()
mT()
if Dj<W()
Dj=W()
endif
return 5
else
endif
endfunc
func mx()
PH()
AF=0
while AF<A8()
A1[N()]=M1[AF]
A0[N()]=Lf[AF]
A4()
AF=AF+1
endwhile
endfunc
func mn()
AF=AO()
while AF<LX()
A1[N()]=M1[AF]
A0[N()]=Lf[AF]
A4()
AF=AF+1
endwhile
endfunc
func AKo()
O2=LX()
Lo=7
while A8()
Pj()
Bv=M1[A8()]
Bq=Lf[A8()]
Md()
Pf()
if Aak<V[DP()][Dn()]
Aak=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&3
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&3
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&3
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&3
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&3
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&3
endif
Pl=Q8()
if CH()<Lo
if CH()
Lo=CH()
elif AO()==LX()
Lo=CH()
else
Lo=7
return B()
endif
endif
OQ[A8()]=CH()
endwhile
endfunc
func ry()
vd()
db=Dn()
f9=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
JD[Lb()]=BP()
JJ[Lb()]=BR()
Adr()
K[BR()][BP()]=K[BR()][BP()]|4
AF=AF+1
endwhile
endfunc
func ANT()
APt()
if L_>=4
elif L_>=2
if L_>=3
return AbL()
else
return AOa()
endif
elif L_
return ATB()
else
return AhU()
endif
endfunc
func AhU()
DN()
while A8()<Lb()
if OJ[A8()]==0
B3=ALt()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func ALt()
fB()
mC()
Bv=JD[A8()]
Bq=JJ[A8()]
CM=JD[BT()]
CV=JJ[BT()]
DR()
if AO()==Lb()
DT()
else
DS()
z=JD[AO()]
_=JJ[AO()]
endif
if QA()
la()
A8q()
if Dj<W()
Dj=W()
endif
return 1
else
endif
endfunc
func ATB()
DN()
while A8()<Lb()
if OJ[A8()]==1
B3=Apo()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Apo()
YM()
mC()
Bv=JD[A8()]
Bq=JJ[A8()]
CM=JD[BT()]
CV=JJ[BT()]
DR()
if AO()==Lb()
DT()
else
DS()
z=JD[AO()]
_=JJ[AO()]
endif
if QA()
la()
ry()
if Dj<W()
Dj=W()
endif
return 2
else
endif
endfunc
func AOa()
DN()
while A8()<Lb()
if OJ[A8()]==2
B3=AV7()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AV7()
TC()
mC()
Bv=JD[A8()]
Bq=JJ[A8()]
CM=JD[BT()]
CV=JJ[BT()]
DR()
if AO()==Lb()
DT()
else
DS()
z=JD[AO()]
_=JJ[AO()]
endif
if QA()
la()
o_()
if Dj<W()
Dj=W()
endif
return 3
else
endif
endfunc
func AbL()
DN()
while A8()<Lb()
if OJ[A8()]==3
B3=AQh()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AQh()
QN()
mC()
Bv=JD[A8()]
Bq=JJ[A8()]
CM=JD[BT()]
CV=JJ[BT()]
DR()
if AO()==Lb()
DT()
else
DS()
z=JD[AO()]
_=JJ[AO()]
endif
if QA()
la()
mj()
if Dj<W()
Dj=W()
endif
return 4
else
endif
endfunc
func Ax2()
DN()
while A8()<Lb()
if OJ[A8()]==4
B3=AV9()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AV9()
QB()
mC()
Bv=JD[A8()]
Bq=JJ[A8()]
CM=JD[BT()]
CV=JJ[BT()]
DR()
if AO()==Lb()
DT()
else
DS()
z=JD[AO()]
_=JJ[AO()]
endif
if QA()
la()
mT()
if Dj<W()
Dj=W()
endif
return 5
else
endif
endfunc
func mC()
PH()
AF=0
while AF<A8()
A1[N()]=JD[AF]
A0[N()]=JJ[AF]
A4()
AF=AF+1
endwhile
endfunc
func la()
AF=AO()
while AF<Lb()
A1[N()]=JD[AF]
A0[N()]=JJ[AF]
A4()
AF=AF+1
endwhile
endfunc
func APt()
O2=Lb()
L_=7
while A8()
Pj()
Bv=JD[A8()]
Bq=JJ[A8()]
Md()
Pf()
if AXs<V[DP()][Dn()]
AXs=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&7
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&7
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&7
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&7
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&7
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&7
endif
Pl=Q8()
if CH()<L_
if CH()
L_=CH()
elif AO()==Lb()
L_=CH()
else
L_=7
return B()
endif
endif
OJ[A8()]=CH()
endwhile
endfunc
func o_()
oZ()
lN=Dn()
mJ=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
K8[Ma()]=BP()
KS[Ma()]=BR()
AMV()
K[BR()][BP()]=K[BR()][BP()]|8
AF=AF+1
endwhile
endfunc
func AK6()
ATq()
if Lx>=4
elif Lx>=2
if Lx>=3
return And()
else
return AJT()
endif
elif Lx
return AMy()
else
return ASP()
endif
endfunc
func ASP()
DN()
while A8()<Ma()
if QW[A8()]==0
B3=AJq()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AJq()
YM()
p6()
Bv=K8[A8()]
Bq=KS[A8()]
CM=K8[BT()]
CV=KS[BT()]
DR()
if AO()==Ma()
DT()
else
DS()
z=K8[AO()]
_=KS[AO()]
endif
if TD()
q4()
ry()
if Dj<W()
Dj=W()
endif
return 2
else
endif
endfunc
func AMy()
DN()
while A8()<Ma()
if QW[A8()]==1
B3=Ab1()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Ab1()
TC()
p6()
Bv=K8[A8()]
Bq=KS[A8()]
CM=K8[BT()]
CV=KS[BT()]
DR()
if AO()==Ma()
DT()
else
DS()
z=K8[AO()]
_=KS[AO()]
endif
if TD()
q4()
o_()
if Dj<W()
Dj=W()
endif
return 3
else
endif
endfunc
func AJT()
DN()
while A8()<Ma()
if QW[A8()]==2
B3=Ajn()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Ajn()
QN()
p6()
Bv=K8[A8()]
Bq=KS[A8()]
CM=K8[BT()]
CV=KS[BT()]
DR()
if AO()==Ma()
DT()
else
DS()
z=K8[AO()]
_=KS[AO()]
endif
if TD()
q4()
mj()
if Dj<W()
Dj=W()
endif
return 4
else
endif
endfunc
func And()
DN()
while A8()<Ma()
if QW[A8()]==3
B3=Ae6()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Ae6()
QB()
p6()
Bv=K8[A8()]
Bq=KS[A8()]
CM=K8[BT()]
CV=KS[BT()]
DR()
if AO()==Ma()
DT()
else
DS()
z=K8[AO()]
_=KS[AO()]
endif
if TD()
q4()
mT()
if Dj<W()
Dj=W()
endif
return 5
else
endif
endfunc
func p6()
PH()
AF=0
while AF<A8()
A1[N()]=K8[AF]
A0[N()]=KS[AF]
A4()
AF=AF+1
endwhile
endfunc
func q4()
AF=AO()
while AF<Ma()
A1[N()]=K8[AF]
A0[N()]=KS[AF]
A4()
AF=AF+1
endwhile
endfunc
func ATq()
O2=Ma()
Lx=7
while A8()
Pj()
Bv=K8[A8()]
Bq=KS[A8()]
Md()
Pf()
if AlC<V[DP()][Dn()]
AlC=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&15
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&15
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&15
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&15
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&15
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&15
endif
Pl=Q8()
if CH()<Lx
if CH()
Lx=CH()
elif AO()==Ma()
Lx=CH()
else
Lx=7
return B()
endif
endif
QW[A8()]=CH()
endwhile
endfunc
func mj()
ou()
lm=Dn()
mc=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
Hu[N5()]=BP()
Hr[N5()]=BR()
AKW()
K[BR()][BP()]=K[BR()][BP()]|16
AF=AF+1
endwhile
endfunc
func ALO()
Ack()
if M9>=4
elif M9>=2
if M9>=3
else
return Ahs()
endif
elif M9
return Amk()
else
return AJZ()
endif
endfunc
func AJZ()
DN()
while A8()<N5()
if UK[A8()]==0
B3=AKX()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AKX()
TC()
xa()
Bv=Hu[A8()]
Bq=Hr[A8()]
CM=Hu[BT()]
CV=Hr[BT()]
DR()
if AO()==N5()
DT()
else
DS()
z=Hu[AO()]
_=Hr[AO()]
endif
if Xs()
wt()
o_()
if Dj<W()
Dj=W()
endif
return 3
else
endif
endfunc
func Amk()
DN()
while A8()<N5()
if UK[A8()]==1
B3=AFa()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AFa()
QN()
xa()
Bv=Hu[A8()]
Bq=Hr[A8()]
CM=Hu[BT()]
CV=Hr[BT()]
DR()
if AO()==N5()
DT()
else
DS()
z=Hu[AO()]
_=Hr[AO()]
endif
if Xs()
wt()
mj()
if Dj<W()
Dj=W()
endif
return 4
else
endif
endfunc
func Ahs()
DN()
while A8()<N5()
if UK[A8()]==2
B3=AnT()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AnT()
QB()
xa()
Bv=Hu[A8()]
Bq=Hr[A8()]
CM=Hu[BT()]
CV=Hr[BT()]
DR()
if AO()==N5()
DT()
else
DS()
z=Hu[AO()]
_=Hr[AO()]
endif
if Xs()
wt()
mT()
if Dj<W()
Dj=W()
endif
return 5
else
endif
endfunc
func xa()
PH()
AF=0
while AF<A8()
A1[N()]=Hu[AF]
A0[N()]=Hr[AF]
A4()
AF=AF+1
endwhile
endfunc
func wt()
AF=AO()
while AF<N5()
A1[N()]=Hu[AF]
A0[N()]=Hr[AF]
A4()
AF=AF+1
endwhile
endfunc
func Ack()
O2=N5()
M9=7
while A8()
Pj()
Bv=Hu[A8()]
Bq=Hr[A8()]
Md()
Pf()
if Aoj<V[DP()][Dn()]
Aoj=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&31
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&31
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&31
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&31
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&31
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&31
endif
Pl=Q8()
if CH()<M9
if CH()
M9=CH()
elif AO()==N5()
M9=CH()
else
M9=7
return B()
endif
endif
UK[A8()]=CH()
endwhile
endfunc
func mT()
ra()
rM=Dn()
qX=DP()
AF=0
while AF<N()
KJ=A1[AF]
KL=A0[AF]
L2[NK()]=BP()
LK[NK()]=BR()
AYu()
K[BR()][BP()]=K[BR()][BP()]|32
AF=AF+1
endwhile
endfunc
func AEj()
Al9()
if M3>=4
elif M3>=2
if M3>=3
else
endif
elif M3
return AJp()
else
return AVS()
endif
endfunc
func AVS()
DN()
while A8()<NK()
if ZP[A8()]==0
B3=AZW()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func AZW()
QN()
A7Z()
Bv=L2[A8()]
Bq=LK[A8()]
CM=L2[BT()]
CV=LK[BT()]
DR()
if AO()==NK()
DT()
else
DS()
z=L2[AO()]
_=LK[AO()]
endif
if fC()
AAm()
mj()
if Dj<W()
Dj=W()
endif
return 4
else
endif
endfunc
func AJp()
DN()
while A8()<NK()
if ZP[A8()]==1
B3=Ann()
if B3
return B3
endif
endif
DQ()
endwhile
endfunc
func Ann()
QB()
A7Z()
Bv=L2[A8()]
Bq=LK[A8()]
CM=L2[BT()]
CV=LK[BT()]
DR()
if AO()==NK()
DT()
else
DS()
z=L2[AO()]
_=LK[AO()]
endif
if fC()
AAm()
mT()
if Dj<W()
Dj=W()
endif
return 5
else
endif
endfunc
func A7Z()
PH()
AF=0
while AF<A8()
A1[N()]=L2[AF]
A0[N()]=LK[AF]
A4()
AF=AF+1
endwhile
endfunc
func AAm()
AF=AO()
while AF<NK()
A1[N()]=L2[AF]
A0[N()]=LK[AF]
A4()
AF=AF+1
endwhile
endfunc
func Al9()
O2=NK()
M3=7
while A8()
Pj()
Bv=L2[A8()]
Bq=LK[A8()]
Md()
Pf()
if AZn<V[DP()][Dn()]
AZn=V[DP()][Dn()]
endif
if A[f()][e()]
K9=1
K[f()][e()]=1
else
K9=K[f()][e()]&63
endif
if A[p()][o()]
KP=1
K[p()][o()]=1
else
KP=K[p()][o()]&63
endif
if A[j()][h()]
K6=1
K[j()][h()]=1
else
K6=K[j()][h()]&63
endif
if A[k()][l()]
KV=1
K[k()][l()]=1
else
KV=K[k()][l()]&63
endif
if A[m()][d()]
KO=1
K[m()][d()]=1
else
KO=K[m()][d()]&63
endif
if A[n()][c()]
K7=1
K[n()][c()]=1
else
K7=K[n()][c()]&63
endif
Pl=Q8()
if CH()<M3
if CH()
M3=CH()
elif AO()==NK()
M3=CH()
else
M3=7
return B()
endif
endif
ZP[A8()]=CH()
endwhile
endfunc
func P_()
Md()
if f()==CV
if e()==CM
return AJy()
endif
return AVr()
elif DP()==CV
if c()==CM
return Abc()
endif
return AFv()
elif d()==CM
return AOb()
endif
return AMB()
endfunc
func ATk()
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
return 1
endfunc
func AJy()
if K[p()][o()]
if K[n()][c()]
if y()
return ATk()
endif
else
return AX4()
endif
elif K[n()][c()]
return Ac1()
else
endif
endfunc
func Ac1()
H=y()
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
return 1
endfunc
func AX4()
H=y()
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
return 1
endfunc
func Ak7()
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
return 1
endfunc
func AVr()
if K[j()][h()]
if K[f()][e()]
if y()
return Ak7()
endif
else
return APx()
endif
elif K[f()][e()]
return AjP()
else
endif
endfunc
func AjP()
H=y()
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
return 1
endfunc
func APx()
H=y()
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
return 1
endfunc
func APM()
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
return 1
endfunc
func AFv()
if K[k()][l()]
if K[p()][o()]
if y()
return APM()
endif
else
return AeB()
endif
elif K[p()][o()]
return AYl()
else
endif
endfunc
func AYl()
H=y()
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
return 1
endfunc
func AeB()
H=y()
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
return 1
endfunc
func AHZ()
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
return 1
endfunc
func AMB()
if K[m()][d()]
if K[j()][h()]
if y()
return AHZ()
endif
else
return AJW()
endif
elif K[j()][h()]
return AXB()
else
endif
endfunc
func AXB()
H=y()
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
return 1
endfunc
func AJW()
H=y()
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
return 1
endfunc
func AO7()
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
return 1
endfunc
func AOb()
if K[n()][c()]
if K[k()][l()]
if y()
return AO7()
endif
else
return Apq()
endif
elif K[k()][l()]
return AbH()
else
endif
endfunc
func AbH()
H=y()
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
return 1
endfunc
func Apq()
H=y()
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
return 1
endfunc
func AU3()
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
return 1
endfunc
func Abc()
if K[f()][e()]
if K[m()][d()]
if y()
return AU3()
endif
else
return Ale()
endif
elif K[m()][d()]
return Al6()
else
endif
endfunc
func Al6()
H=y()
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
return 1
endfunc
func Ale()
H=y()
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
return 1
endfunc
func QA()
Md()
if f()==CV
if e()==CM
return Af1()
endif
return AbE()
elif DP()==CV
if c()==CM
return AKS()
endif
return ApB()
elif d()==CM
return AP1()
endif
return Ajh()
endfunc
func Ae_()
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
return 1
endfunc
func Af1()
if K[p()][o()]
if K[n()][c()]
if y()
return Ae_()
endif
else
return Ael()
endif
elif K[n()][c()]
return ALQ()
else
endif
endfunc
func ALQ()
H=y()
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
return 1
endfunc
func Ael()
H=y()
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
return 1
endfunc
func AHX()
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
return 1
endfunc
func AbE()
if K[j()][h()]
if K[f()][e()]
if y()
return AHX()
endif
else
return Ahj()
endif
elif K[f()][e()]
return AW4()
else
endif
endfunc
func AW4()
H=y()
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
return 1
endfunc
func Ahj()
H=y()
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
return 1
endfunc
func APB()
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
return 1
endfunc
func ApB()
if K[k()][l()]
if K[p()][o()]
if y()
return APB()
endif
else
return AFz()
endif
elif K[p()][o()]
return AaP()
else
endif
endfunc
func AaP()
H=y()
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
return 1
endfunc
func AFz()
H=y()
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
return 1
endfunc
func AeC()
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
return 1
endfunc
func Ajh()
if K[m()][d()]
if K[j()][h()]
if y()
return AeC()
endif
else
return Aa_()
endif
elif K[j()][h()]
return AHL()
else
endif
endfunc
func AHL()
H=y()
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
return 1
endfunc
func Aa_()
H=y()
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
return 1
endfunc
func AY6()
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
return 1
endfunc
func AP1()
if K[n()][c()]
if K[k()][l()]
if y()
return AY6()
endif
else
return Ac_()
endif
elif K[k()][l()]
return AO3()
else
endif
endfunc
func AO3()
H=y()
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
return 1
endfunc
func Ac_()
H=y()
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
return 1
endfunc
func ALE()
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
return 1
endfunc
func AKS()
if K[f()][e()]
if K[m()][d()]
if y()
return ALE()
endif
else
return AUx()
endif
elif K[m()][d()]
return AnH()
else
endif
endfunc
func AnH()
H=y()
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
return 1
endfunc
func AUx()
H=y()
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
return 1
endfunc
func TD()
Md()
if f()==CV
if e()==CM
return AUe()
endif
return APX()
elif DP()==CV
if c()==CM
return Akv()
endif
return AfL()
elif d()==CM
return AoX()
endif
return AaT()
endfunc
func AUS()
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
return 1
endfunc
func AUe()
if K[p()][o()]
if K[n()][c()]
if y()
return AUS()
endif
else
return Aow()
endif
elif K[n()][c()]
return AcE()
else
endif
endfunc
func AcE()
H=y()
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
return 1
endfunc
func Aow()
H=y()
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
return 1
endfunc
func AZM()
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
return 1
endfunc
func APX()
if K[j()][h()]
if K[f()][e()]
if y()
return AZM()
endif
else
return AoB()
endif
elif K[f()][e()]
return AnZ()
else
endif
endfunc
func AnZ()
H=y()
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
return 1
endfunc
func AoB()
H=y()
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
return 1
endfunc
func AR5()
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
return 1
endfunc
func AfL()
if K[k()][l()]
if K[p()][o()]
if y()
return AR5()
endif
else
return AbF()
endif
elif K[p()][o()]
return AoS()
else
endif
endfunc
func AoS()
H=y()
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
return 1
endfunc
func AbF()
H=y()
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
return 1
endfunc
func AWa()
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
return 1
endfunc
func AaT()
if K[m()][d()]
if K[j()][h()]
if y()
return AWa()
endif
else
return ATQ()
endif
elif K[j()][h()]
return Ajr()
else
endif
endfunc
func Ajr()
H=y()
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
return 1
endfunc
func ATQ()
H=y()
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
return 1
endfunc
func Aew()
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
return 1
endfunc
func AoX()
if K[n()][c()]
if K[k()][l()]
if y()
return Aew()
endif
else
return AJ2()
endif
elif K[k()][l()]
return AUL()
else
endif
endfunc
func AUL()
H=y()
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
return 1
endfunc
func AJ2()
H=y()
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
return 1
endfunc
func AM5()
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
return 1
endfunc
func Akv()
if K[f()][e()]
if K[m()][d()]
if y()
return AM5()
endif
else
return AR8()
endif
elif K[m()][d()]
return AnK()
else
endif
endfunc
func AnK()
H=y()
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
return 1
endfunc
func AR8()
H=y()
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
return 1
endfunc
func Xs()
Md()
if f()==CV
if e()==CM
return ARq()
endif
return AN4()
elif DP()==CV
if c()==CM
return AbV()
endif
return AHe()
elif d()==CM
return AMR()
endif
return Ajk()
endfunc
func AcZ()
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
return 1
endfunc
func ARq()
if K[p()][o()]
if K[n()][c()]
if y()
return AcZ()
endif
else
return AeL()
endif
elif K[n()][c()]
return AOB()
else
endif
endfunc
func AOB()
H=y()
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
return 1
endfunc
func AeL()
H=y()
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
return 1
endfunc
func AOh()
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
return 1
endfunc
func AN4()
if K[j()][h()]
if K[f()][e()]
if y()
return AOh()
endif
else
return AcA()
endif
elif K[f()][e()]
return AJS()
else
endif
endfunc
func AJS()
H=y()
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
return 1
endfunc
func AcA()
H=y()
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
return 1
endfunc
func Ad0()
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
return 1
endfunc
func AHe()
if K[k()][l()]
if K[p()][o()]
if y()
return Ad0()
endif
else
return AKU()
endif
elif K[p()][o()]
return Anl()
else
endif
endfunc
func Anl()
H=y()
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
return 1
endfunc
func AKU()
H=y()
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
return 1
endfunc
func Ah8()
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
return 1
endfunc
func Ajk()
if K[m()][d()]
if K[j()][h()]
if y()
return Ah8()
endif
else
return Ajl()
endif
elif K[j()][h()]
return AXY()
else
endif
endfunc
func AXY()
H=y()
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
return 1
endfunc
func Ajl()
H=y()
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
return 1
endfunc
func AjA()
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
return 1
endfunc
func AMR()
if K[n()][c()]
if K[k()][l()]
if y()
return AjA()
endif
else
return ASf()
endif
elif K[k()][l()]
return AJB()
else
endif
endfunc
func AJB()
H=y()
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
return 1
endfunc
func ASf()
H=y()
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
return 1
endfunc
func Akm()
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
return 1
endfunc
func AbV()
if K[f()][e()]
if K[m()][d()]
if y()
return Akm()
endif
else
return AM9()
endif
elif K[m()][d()]
return AQN()
else
endif
endfunc
func AQN()
H=y()
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
return 1
endfunc
func AM9()
H=y()
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
return 1
endfunc
func fC()
Md()
if f()==CV
if e()==CM
return AJj()
endif
return ANo()
elif DP()==CV
if c()==CM
return Ad4()
endif
return AQk()
elif d()==CM
return Adq()
endif
return AV_()
endfunc
func AJ3()
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
return 1
endfunc
func AJj()
if K[p()][o()]
if K[n()][c()]
if y()
return AJ3()
endif
else
return Adv()
endif
elif K[n()][c()]
return AS0()
else
endif
endfunc
func AS0()
H=y()
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
return 1
endfunc
func Adv()
H=y()
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
return 1
endfunc
func AKZ()
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
return 1
endfunc
func ANo()
if K[j()][h()]
if K[f()][e()]
if y()
return AKZ()
endif
else
return AHy()
endif
elif K[f()][e()]
return Abo()
else
endif
endfunc
func Abo()
H=y()
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
return 1
endfunc
func AHy()
H=y()
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
return 1
endfunc
func ATh()
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
return 1
endfunc
func AQk()
if K[k()][l()]
if K[p()][o()]
if y()
return ATh()
endif
else
return AWt()
endif
elif K[p()][o()]
return AF5()
else
endif
endfunc
func AF5()
H=y()
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
return 1
endfunc
func AWt()
H=y()
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
return 1
endfunc
func Ak_()
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
elif K[n()][c()]
else
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
return 1
endfunc
func AV_()
if K[m()][d()]
if K[j()][h()]
if y()
return Ak_()
endif
else
return AO1()
endif
elif K[j()][h()]
return Acx()
else
endif
endfunc
func Acx()
H=y()
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
return 1
endfunc
func AO1()
H=y()
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
return 1
endfunc
func Ad2()
q=V[n()][c()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[n()][c()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
elif K[f()][e()]
else
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
return 1
endfunc
func Adq()
if K[n()][c()]
if K[k()][l()]
if y()
return Ad2()
endif
else
return Aap()
endif
elif K[k()][l()]
return Any()
else
endif
endfunc
func Any()
H=y()
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
return 1
endfunc
func Aap()
H=y()
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[n()][c()]
return B()
endif
q=V[n()][c()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[n()][c()]
if H
elif _==n()
if z==c()
H=1
else
return B()
endif
else
return B()
endif
elif A[n()][c()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=c()
A0[N()]=n()
A4()
endif
return 1
endfunc
func AWQ()
q=V[f()][e()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[f()][e()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[p()][o()]
return B()
elif K[p()][o()]
else
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[j()][h()]
return B()
elif K[j()][h()]
else
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[k()][l()]
return B()
elif K[k()][l()]
else
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>=W()
B6=E()
endif
if S[m()][d()]
return B()
elif K[m()][d()]
else
return B()
endif
return 1
endfunc
func Ad4()
if K[f()][e()]
if K[m()][d()]
if y()
return AWQ()
endif
else
return Ant()
endif
elif K[m()][d()]
return ARu()
else
endif
endfunc
func ARu()
H=y()
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
return 1
endfunc
func Ant()
H=y()
if S[m()][d()]
return B()
endif
q=V[m()][d()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[m()][d()]
if H
elif _==m()
if z==d()
H=1
else
return B()
endif
else
return B()
endif
elif A[m()][d()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=d()
A0[N()]=m()
A4()
endif
if S[k()][l()]
return B()
endif
q=V[k()][l()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[k()][l()]
if H
elif _==k()
if z==l()
H=1
else
return B()
endif
else
return B()
endif
elif A[k()][l()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=l()
A0[N()]=k()
A4()
endif
if S[j()][h()]
return B()
endif
q=V[j()][h()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[j()][h()]
if H
elif _==j()
if z==h()
H=1
else
return B()
endif
else
return B()
endif
elif A[j()][h()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=h()
A0[N()]=j()
A4()
endif
if S[p()][o()]
return B()
endif
q=V[p()][o()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[p()][o()]
if H
elif _==p()
if z==o()
H=1
else
return B()
endif
else
return B()
endif
elif A[p()][o()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=o()
A0[N()]=p()
A4()
endif
if S[f()][e()]
return B()
endif
q=V[f()][e()]
if E()>=a()
return B()
elif E()>W()
AB=E()
endif
if K[f()][e()]
if H
elif _==f()
if z==e()
H=1
else
return B()
endif
else
return B()
endif
elif A[f()][e()]
if H
else
return B()
endif
elif H*(1-y())
return B()
else
A1[N()]=e()
A0[N()]=f()
A4()
endif
return 1
endfunc
func DT()
A8A=1
endfunc
func DS()
A8A=B()
endfunc
func y()
return A8A
endfunc
func W()
return AB
endfunc
func DR()
AB=B()
endfunc
func Q8()
if Adm()
if _n()
if p8()
if aH()
if OS()
if HB()
return 0
endif
return 1
elif HB()
return 1
endif
return 2
elif OS()
if HB()
return 1
endif
return 7
elif HB()
return 2
endif
return 3
elif aH()
if OS()
if HB()
return 1
endif
return 7
elif HB()
return 7
endif
return 7
elif OS()
if HB()
return 2
endif
return 7
elif HB()
return 3
endif
return 4
elif p8()
if aH()
if OS()
if HB()
return 1
endif
return 7
elif HB()
return 7
endif
return 7
elif OS()
if HB()
return 7
endif
return 7
elif HB()
return 7
endif
return 7
elif aH()
if OS()
if HB()
return 2
endif
return 7
elif HB()
return 7
endif
return 7
elif OS()
if HB()
return 3
endif
return 7
elif HB()
return 4
endif
return 5
elif _n()
if p8()
if aH()
if OS()
if HB()
return 1
endif
return 2
elif HB()
return 7
endif
return 3
elif OS()
if HB()
return 7
endif
return 7
elif HB()
return 7
endif
return 4
elif aH()
if OS()
if HB()
return 7
endif
return 7
elif HB()
return 7
endif
return 7
elif OS()
if HB()
return 7
endif
return 7
elif HB()
return 7
endif
return 5
elif p8()
if aH()
if OS()
if HB()
return 2
endif
return 3
elif HB()
return 7
endif
return 4
elif OS()
if HB()
return 7
endif
return 7
elif HB()
return 7
endif
return 5
elif aH()
if OS()
if HB()
return 3
endif
return 4
elif HB()
return 7
endif
return 5
elif OS()
if HB()
return 4
endif
return 5
elif HB()
return 5
endif
return 6
endfunc
func Md()
AWH=DP()%2
A4D=DP()-1
_t=DP()+1
AXl=Dn()+1
AjK=Dn()-1
if AWH
xd=c()
tx=Dn()
else
xd=Dn()
tx=h()
endif
endfunc
func AvU()
endfunc
func Dn()
return Bv
endfunc
func BP()
return KJ
endfunc
func e()
return xd
endfunc
func o()
return tx
endfunc
func h()
return AXl
endfunc
func l()
return tx
endfunc
func d()
return xd
endfunc
func c()
return AjK
endfunc
func DP()
return Bq
endfunc
func BR()
return KL
endfunc
func f()
return A4D
endfunc
func p()
return A4D
endfunc
func j()
return Bq
endfunc
func k()
return _t
endfunc
func m()
return _t
endfunc
func n()
return Bq
endfunc
func A8()
return O2
endfunc
func DQ()
O2=AO()
endfunc
func Pj()
O2=BT()
endfunc
func BT()
return A8()-1
endfunc
func AO()
return A8()+1
endfunc
func DN()
O2=B()
endfunc
func CH()
return Pl
endfunc
func B91()
return t3
endfunc
func Pf()
t3=B()
endfunc
func B39()
t3=t3+1
endfunc
func E()
return q
endfunc
func a()
return My
endfunc
func AtB()
Acb()
Bv=A1[N()]
Bq=A0[N()]
endfunc
func N()
return w5
endfunc
func A4()
w5=N()+1
endfunc
func Acb()
w5=N()-1
endfunc
func PH()
w5=B()
endfunc
func B5p()
A1[AA]=B_
A0[AA]=Bo
endfunc
func wL()
Anf()
Bv=Fk[CJ()]
Bq=Fj[CJ()]
endfunc
func CJ()
return s7
endfunc
func Fl()
s7=CJ()+1
endfunc
func Anf()
s7=CJ()-1
endfunc
func xh()
s7=B()
endfunc
func B2D()
Fk[AA]=Bw
Fj[AA]=Bn
endfunc
func AeU()
AVH()
Bv=Vr[Mk()]
Bq=Vs[Mk()]
endfunc
func Mk()
return tk
endfunc
func Xo()
tk=Mk()+1
endfunc
func AVH()
tk=Mk()-1
endfunc
func w8()
tk=B()
endfunc
func Ark()
Vr[AA]=C0
Vs[AA]=Bp
endfunc
func A_j()
My=B4
endfunc
func AxH()
Ahh()
Bv=La[Lh()]
Bq=Lc[Lh()]
endfunc
func Lh()
return hE
endfunc
func AQo()
hE=Lh()+1
endfunc
func Ahh()
hE=Lh()-1
endfunc
func w7()
hE=B()
endfunc
func AHQ()
La[AA]=B_
Lc[AA]=Bo
endfunc
func B6j()
ATd()
Bv=Lz[LW()]
Bq=Lv[LW()]
endfunc
func LW()
return fy
endfunc
func AnW()
fy=LW()+1
endfunc
func ATd()
fy=LW()-1
endfunc
func v7()
fy=B()
endfunc
func Apc()
Lz[AA]=Bw
Lv[AA]=Bn
endfunc
func A_P()
AOx()
Bv=M1[LX()]
Bq=Lf[LX()]
endfunc
func LX()
return hs
endfunc
func AnO()
hs=LX()+1
endfunc
func AOx()
hs=LX()-1
endfunc
func sS()
hs=B()
endfunc
func Afa()
M1[AA]=C0
Lf[AA]=Bp
endfunc
func fB()
My=AH
endfunc
func B6D()
AH0()
Bv=Hf[Ln()]
Bq=Js[Ln()]
endfunc
func Ln()
return fV
endfunc
func AlR()
fV=Ln()+1
endfunc
func AH0()
fV=Ln()-1
endfunc
func tn()
fV=B()
endfunc
func Aex()
Hf[AA]=B_
Js[AA]=Bo
endfunc
func B2O()
Aop()
Bv=JV[MA()]
Bq=Hs[MA()]
endfunc
func MA()
return ds
endfunc
func Ah1()
ds=MA()+1
endfunc
func Aop()
ds=MA()-1
endfunc
func t6()
ds=B()
endfunc
func ARR()
JV[AA]=Bw
Hs[AA]=Bn
endfunc
func B6l()
AYU()
Bv=JD[Lb()]
Bq=JJ[Lb()]
endfunc
func Lb()
return je
endfunc
func Adr()
je=Lb()+1
endfunc
func AYU()
je=Lb()-1
endfunc
func vd()
je=B()
endfunc
func AXq()
JD[AA]=C0
JJ[AA]=Bp
endfunc
func YM()
My=AR
endfunc
func Asr()
AnF()
Bv=KA[Mf()]
Bq=KW[Mf()]
endfunc
func Mf()
return mD
endfunc
func ASw()
mD=Mf()+1
endfunc
func AnF()
mD=Mf()-1
endfunc
func qn()
mD=B()
endfunc
func AnE()
KA[AA]=B_
KW[AA]=Bo
endfunc
func B7a()
Al3()
Bv=KX[Mc()]
Bq=KR[Mc()]
endfunc
func Mc()
return m8
endfunc
func AVC()
m8=Mc()+1
endfunc
func Al3()
m8=Mc()-1
endfunc
func pl()
m8=B()
endfunc
func AEm()
KX[AA]=Bw
KR[AA]=Bn
endfunc
func AzW()
AHr()
Bv=K8[Ma()]
Bq=KS[Ma()]
endfunc
func Ma()
return n2
endfunc
func AMV()
n2=Ma()+1
endfunc
func AHr()
n2=Ma()-1
endfunc
func oZ()
n2=B()
endfunc
func ARb()
K8[AA]=C0
KS[AA]=Bp
endfunc
func TC()
My=BM
endfunc
func ArA()
AHB()
Bv=Ht[N3()]
Bq=Jt[N3()]
endfunc
func N3()
return mk
endfunc
func Aee()
mk=N3()+1
endfunc
func AHB()
mk=N3()-1
endfunc
func rS()
mk=B()
endfunc
func AH4()
Ht[AA]=B_
Jt[AA]=Bo
endfunc
func B4e()
ANM()
Bv=Jw[N4()]
Bq=Jh[N4()]
endfunc
func N4()
return lW
endfunc
func AkQ()
lW=N4()+1
endfunc
func ANM()
lW=N4()-1
endfunc
func pr()
lW=B()
endfunc
func ARh()
Jw[AA]=Bw
Jh[AA]=Bn
endfunc
func Auh()
ATA()
Bv=Hu[N5()]
Bq=Hr[N5()]
endfunc
func N5()
return lr
endfunc
func AKW()
lr=N5()+1
endfunc
func ATA()
lr=N5()-1
endfunc
func ou()
lr=B()
endfunc
func Aax()
Hu[AA]=C0
Hr[AA]=Bp
endfunc
func QN()
My=BN
endfunc
func Axk()
AmB()
Bv=L1[NX()]
Bq=LA[NX()]
endfunc
func NX()
return rA
endfunc
func AbC()
rA=NX()+1
endfunc
func AmB()
rA=NX()-1
endfunc
func qw()
rA=B()
endfunc
func AWb()
L1[AA]=B_
LA[AA]=Bo
endfunc
func Atr()
AbR()
Bv=Ks[ND()]
Bq=LT[ND()]
endfunc
func ND()
return oo
endfunc
func AoO()
oo=ND()+1
endfunc
func AbR()
oo=ND()-1
endfunc
func rf()
oo=B()
endfunc
func AQH()
Ks[AA]=Bw
LT[AA]=Bn
endfunc
func B2l()
Ajs()
Bv=L2[NK()]
Bq=LK[NK()]
endfunc
func NK()
return oT
endfunc
func AYu()
oT=NK()+1
endfunc
func Ajs()
oT=NK()-1
endfunc
func ra()
oT=B()
endfunc
func ATo()
L2[AA]=C0
LK[AA]=Bp
endfunc
func QB()
My=D7
endfunc
func B9D()
ASz()
Bv=Aj5[ow()]
Bq=Aa0[ow()]
endfunc
func ow()
return xt
endfunc
func B7O()
xt=ow()+1
endfunc
func ASz()
xt=ow()-1
endfunc
func B9b()
xt=B()
endfunc
func B5s()
Aj5[AA]=B_
Aa0[AA]=Bo
endfunc
func A_d()
Aoh()
Bv=AFR[qy()]
Bq=AkV[qy()]
endfunc
func qy()
return vx
endfunc
func B16()
vx=qy()+1
endfunc
func Aoh()
vx=qy()-1
endfunc
func B4U()
vx=B()
endfunc
func AtK()
AFR[AA]=Bw
AkV[AA]=Bn
endfunc
func B6o()
AJb()
Bv=AaD[rQ()]
Bq=AFN[rQ()]
endfunc
func rQ()
return tR
endfunc
func Avp()
tR=rQ()+1
endfunc
func AJb()
tR=rQ()-1
endfunc
func BAP()
tR=B()
endfunc
func AvR()
AaD[AA]=C0
AFN[AA]=Bp
endfunc
func B9f()
My=AXH
endfunc
func AtM(AnX)
My=B4-AnX
endfunc
func HB()
return K9
endfunc
func OS()
return KP
endfunc
func aH()
return K6
endfunc
func p8()
return KV
endfunc
func _n()
return KO
endfunc
func Adm()
return K7
endfunc
func Ff()
return RR
endfunc
func A9Y()
RR=B()
endfunc
func AW7()
A9Y()
if Lh()
RR=1
return Ff()
endif
if Ln()
RR=2
return Ff()
endif
if Mf()
RR=3
return Ff()
endif
if N3()
RR=4
return Ff()
endif
if NX()
RR=5
return Ff()
endif
endfunc
func ABx()
Nu=Bo
OB=B_
A9Y()
AHQ()
w7()
Aex()
tn()
AnE()
qn()
AH4()
rS()
AWb()
qw()
ATT=b[113]
if ATT
RR=AQz()
if Ff()
if Ff()<B()
return B()
endif
return Ff()
endif
endif
AdP=b[126]
if AdP
RR=Af9()
if Ff()
return Ff()
endif
endif
ALL=b[139]
if ALL
RR=AHJ()
if Ff()
return Ff()
endif
endif
Aba=b[152]
if Aba
RR=AV8()
if Ff()
return Ff()
endif
endif
AnQ=b[165]
if AnQ
RR=An9()
if Ff()
return Ff()
endif
endif
endfunc
func AQz()
DO=b[114]
DV=b[115]
My=MO()
if a()<=1
if a()
return AWA()
else
return AA
endif
endif
endfunc
func AWA()
if A[DO][DV]
return AA
endif
Lc[0]=DO
La[0]=DV
hE=1
jk=b[117]
k6=b[116]
return 1
endfunc
func Af9()
DO=b[127]
DV=b[128]
My=MO()
if a()<=1
if a()
return Anj()
else
return AVT()
endif
endif
endfunc
func AVT()
Lc[0]=b[129]
La[0]=b[130]
hE=1
jk=b[132]
k6=b[131]
return 1
endfunc
func Anj()
if A[DO][DV]
return AA
endif
Js[0]=DO
Hf[0]=DV
Js[1]=b[129]
Hf[1]=b[130]
fV=2
l1=b[132]
eP=b[131]
return 2
endfunc
func AHJ()
DO=b[140]
DV=b[141]
My=MO()
if a()<=1
if a()
return AZB()
else
return Aj7()
endif
endif
endfunc
func Aj7()
Js[0]=b[142]
Hf[0]=b[143]
Js[1]=b[144]
Hf[1]=b[145]
fV=2
l1=b[147]
eP=b[146]
return 2
endfunc
func AZB()
if A[DO][DV]
return AA
endif
KW[0]=DO
KA[0]=DV
KW[1]=b[142]
KA[1]=b[143]
KW[2]=b[144]
KA[2]=b[145]
mD=3
nZ=b[147]
lQ=b[146]
return 3
endfunc
func AV8()
DO=b[153]
DV=b[154]
My=MO()
if a()<=1
if a()
return AZ6()
else
return AZA()
endif
endif
endfunc
func AZA()
KW[0]=b[155]
KA[0]=b[156]
KW[1]=b[157]
KA[1]=b[158]
KW[2]=b[159]
KA[2]=b[160]
mD=3
nZ=b[162]
lQ=b[161]
return 3
endfunc
func AZ6()
if A[DO][DV]
return AA
endif
Jt[0]=DO
Ht[0]=DV
Jt[1]=b[155]
Ht[1]=b[156]
Jt[2]=b[157]
Ht[2]=b[158]
Jt[3]=b[159]
Ht[3]=b[160]
mk=4
lV=b[162]
mK=b[161]
return 4
endfunc
func An9()
DO=b[166]
DV=b[167]
My=MO()
if a()<=1
if a()
return Ah4()
else
return Als()
endif
endif
endfunc
func Als()
Jt[0]=b[168]
Ht[0]=b[169]
Jt[1]=b[170]
Ht[1]=b[171]
Jt[2]=b[172]
Ht[2]=b[173]
Jt[3]=b[174]
Ht[3]=b[175]
mk=4
lV=b[177]
mK=b[176]
return 4
endfunc
func Ah4()
if A[DO][DV]
return AA
endif
LA[0]=DO
L1[0]=DV
LA[1]=b[168]
L1[1]=b[169]
LA[2]=b[170]
L1[2]=b[171]
LA[3]=b[172]
L1[3]=b[173]
LA[4]=b[174]
L1[4]=b[175]
rA=5
o8=b[177]
q1=b[176]
return 5
endfunc
func A3z()
b[113]=Lh()
if Lh()
b[114]=Lc[0]
b[115]=La[0]
b[116]=k6
b[117]=jk
endif
b[126]=Ln()
if Ln()
b[127]=Js[0]
b[128]=Hf[0]
b[129]=Js[1]
b[130]=Hf[1]
b[131]=eP
b[132]=l1
endif
b[139]=Mf()
if Mf()
b[140]=KW[0]
b[141]=KA[0]
b[142]=KW[1]
b[143]=KA[1]
b[144]=KW[2]
b[145]=KA[2]
b[146]=lQ
b[147]=nZ
endif
b[152]=N3()
if N3()
b[153]=Jt[0]
b[154]=Ht[0]
b[155]=Jt[1]
b[156]=Ht[1]
b[157]=Jt[2]
b[158]=Ht[2]
b[159]=Jt[3]
b[160]=Ht[3]
b[161]=mK
b[162]=lV
endif
b[165]=NX()
if NX()
b[166]=LA[0]
b[167]=L1[0]
b[168]=LA[1]
b[169]=L1[1]
b[170]=LA[2]
b[171]=L1[2]
b[172]=LA[3]
b[173]=L1[3]
b[174]=LA[4]
b[175]=L1[4]
b[176]=q1
b[177]=o8
endif
endfunc
func Fe()
return SK
endfunc
func A1h()
SK=B()
endfunc
func AHE()
A1h()
if LW()
SK=1
return Fe()
endif
if MA()
SK=2
return Fe()
endif
if Mc()
SK=3
return Fe()
endif
if N4()
SK=4
return Fe()
endif
if ND()
SK=5
return Fe()
endif
endfunc
func A7v()
Nu=Bn
OB=Bw
A1h()
Apc()
v7()
ARR()
t6()
AEm()
pl()
ARh()
pr()
AQH()
rf()
AQY=b[213]
if AQY
SK=Aku()
if Fe()
if Fe()<B()
return B()
endif
return Fe()
endif
endif
Ads=b[226]
if Ads
SK=AJC()
if Fe()
return Fe()
endif
endif
ARK=b[239]
if ARK
SK=AMv()
if Fe()
return Fe()
endif
endif
AQr=b[252]
if AQr
SK=ARz()
if Fe()
return Fe()
endif
endif
AL8=b[265]
if AL8
SK=AWf()
if Fe()
return Fe()
endif
endif
endfunc
func Aku()
DO=b[214]
DV=b[215]
My=MO()
if a()<=1
if a()
return AMM()
else
return AA
endif
endif
endfunc
func AMM()
if A[DO][DV]
return AA
endif
Lv[0]=DO
Lz[0]=DV
fy=1
f3=b[217]
hy=b[216]
return 1
endfunc
func AJC()
DO=b[227]
DV=b[228]
My=MO()
if a()<=1
if a()
return AOP()
else
return AT2()
endif
endif
endfunc
func AT2()
Lv[0]=b[229]
Lz[0]=b[230]
fy=1
f3=b[232]
hy=b[231]
return 1
endfunc
func AOP()
if A[DO][DV]
return AA
endif
Hs[0]=DO
JV[0]=DV
Hs[1]=b[229]
JV[1]=b[230]
ds=2
jJ=b[232]
kW=b[231]
return 2
endfunc
func AMv()
DO=b[240]
DV=b[241]
My=MO()
if a()<=1
if a()
return ANu()
else
return ARO()
endif
endif
endfunc
func ARO()
Hs[0]=b[242]
JV[0]=b[243]
Hs[1]=b[244]
JV[1]=b[245]
ds=2
jJ=b[247]
kW=b[246]
return 2
endfunc
func ANu()
if A[DO][DV]
return AA
endif
KR[0]=DO
KX[0]=DV
KR[1]=b[242]
KX[1]=b[243]
KR[2]=b[244]
KX[2]=b[245]
m8=3
n0=b[247]
nc=b[246]
return 3
endfunc
func ARz()
DO=b[253]
DV=b[254]
My=MO()
if a()<=1
if a()
return Aa1()
else
return ANF()
endif
endif
endfunc
func ANF()
KR[0]=b[255]
KX[0]=b[256]
KR[1]=b[257]
KX[1]=b[258]
KR[2]=b[259]
KX[2]=b[260]
m8=3
n0=b[262]
nc=b[261]
return 3
endfunc
func Aa1()
if A[DO][DV]
return AA
endif
Jh[0]=DO
Jw[0]=DV
Jh[1]=b[255]
Jw[1]=b[256]
Jh[2]=b[257]
Jw[2]=b[258]
Jh[3]=b[259]
Jw[3]=b[260]
lW=4
nz=b[262]
lB=b[261]
return 4
endfunc
func AWf()
DO=b[266]
DV=b[267]
My=MO()
if a()<=1
if a()
return AZd()
else
return AKt()
endif
endif
endfunc
func AKt()
Jh[0]=b[268]
Jw[0]=b[269]
Jh[1]=b[270]
Jw[1]=b[271]
Jh[2]=b[272]
Jw[2]=b[273]
Jh[3]=b[274]
Jw[3]=b[275]
lW=4
nz=b[277]
lB=b[276]
return 4
endfunc
func AZd()
if A[DO][DV]
return AA
endif
LT[0]=DO
Ks[0]=DV
LT[1]=b[268]
Ks[1]=b[269]
LT[2]=b[270]
Ks[2]=b[271]
LT[3]=b[272]
Ks[3]=b[273]
LT[4]=b[274]
Ks[4]=b[275]
oo=5
r7=b[277]
pa=b[276]
return 5
endfunc
func ACe()
b[213]=LW()
if LW()
b[214]=Lv[0]
b[215]=Lz[0]
b[216]=hy
b[217]=f3
endif
b[226]=MA()
if MA()
b[227]=Hs[0]
b[228]=JV[0]
b[229]=Hs[1]
b[230]=JV[1]
b[231]=kW
b[232]=jJ
endif
b[239]=Mc()
if Mc()
b[240]=KR[0]
b[241]=KX[0]
b[242]=KR[1]
b[243]=KX[1]
b[244]=KR[2]
b[245]=KX[2]
b[246]=nc
b[247]=n0
endif
b[252]=N4()
if N4()
b[253]=Jh[0]
b[254]=Jw[0]
b[255]=Jh[1]
b[256]=Jw[1]
b[257]=Jh[2]
b[258]=Jw[2]
b[259]=Jh[3]
b[260]=Jw[3]
b[261]=lB
b[262]=nz
endif
b[265]=ND()
if ND()
b[266]=LT[0]
b[267]=Ks[0]
b[268]=LT[1]
b[269]=Ks[1]
b[270]=LT[2]
b[271]=Ks[2]
b[272]=LT[3]
b[273]=Ks[3]
b[274]=LT[4]
b[275]=Ks[4]
b[276]=pa
b[277]=r7
endif
endfunc
func Fh()
return S9
endfunc
func A2U()
S9=B()
endfunc
func AJw()
A2U()
if LX()
S9=1
return Fh()
endif
if Lb()
S9=2
return Fh()
endif
if Ma()
S9=3
return Fh()
endif
if N5()
S9=4
return Fh()
endif
if NK()
S9=5
return Fh()
endif
endfunc
func A4V()
Nu=Bp
OB=C0
A2U()
Afa()
sS()
AXq()
vd()
ARb()
oZ()
Aax()
ou()
ATo()
ra()
AWN=b[313]
if AWN
S9=ApC()
if Fh()
if Fh()<B()
return B()
endif
return Fh()
endif
endif
AVb=b[326]
if AVb
S9=AK3()
if Fh()
return Fh()
endif
endif
AHb=b[339]
if AHb
S9=ANQ()
if Fh()
return Fh()
endif
endif
AKr=b[352]
if AKr
S9=ARr()
if Fh()
return Fh()
endif
endif
AaC=b[365]
if AaC
S9=AUd()
if Fh()
return Fh()
endif
endif
endfunc
func ApC()
DO=b[314]
DV=b[315]
My=MO()
if a()<=1
if a()
return Afx()
else
return AA
endif
endif
endfunc
func Afx()
if A[DO][DV]
return AA
endif
Lf[0]=DO
M1[0]=DV
hs=1
eU=b[317]
eq=b[316]
return 1
endfunc
func AK3()
DO=b[327]
DV=b[328]
My=MO()
if a()<=1
if a()
return AoR()
else
return AjD()
endif
endif
endfunc
func AjD()
Lf[0]=b[329]
M1[0]=b[330]
hs=1
eU=b[332]
eq=b[331]
return 1
endfunc
func AoR()
if A[DO][DV]
return AA
endif
JJ[0]=DO
JD[0]=DV
JJ[1]=b[329]
JD[1]=b[330]
je=2
db=b[332]
f9=b[331]
return 2
endfunc
func ANQ()
DO=b[340]
DV=b[341]
My=MO()
if a()<=1
if a()
return AXy()
else
return Aej()
endif
endif
endfunc
func Aej()
JJ[0]=b[342]
JD[0]=b[343]
JJ[1]=b[344]
JD[1]=b[345]
je=2
db=b[347]
f9=b[346]
return 2
endfunc
func AXy()
if A[DO][DV]
return AA
endif
KS[0]=DO
K8[0]=DV
KS[1]=b[342]
K8[1]=b[343]
KS[2]=b[344]
K8[2]=b[345]
n2=3
lN=b[347]
mJ=b[346]
return 3
endfunc
func ARr()
DO=b[353]
DV=b[354]
My=MO()
if a()<=1
if a()
return ATR()
else
return ASK()
endif
endif
endfunc
func ASK()
KS[0]=b[355]
K8[0]=b[356]
KS[1]=b[357]
K8[1]=b[358]
KS[2]=b[359]
K8[2]=b[360]
n2=3
lN=b[362]
mJ=b[361]
return 3
endfunc
func ATR()
if A[DO][DV]
return AA
endif
Hr[0]=DO
Hu[0]=DV
Hr[1]=b[355]
Hu[1]=b[356]
Hr[2]=b[357]
Hu[2]=b[358]
Hr[3]=b[359]
Hu[3]=b[360]
lr=4
lm=b[362]
mc=b[361]
return 4
endfunc
func AUd()
DO=b[366]
DV=b[367]
My=MO()
if a()<=1
if a()
return Aec()
else
return Aha()
endif
endif
endfunc
func Aha()
Hr[0]=b[368]
Hu[0]=b[369]
Hr[1]=b[370]
Hu[1]=b[371]
Hr[2]=b[372]
Hu[2]=b[373]
Hr[3]=b[374]
Hu[3]=b[375]
lr=4
lm=b[377]
mc=b[376]
return 4
endfunc
func Aec()
if A[DO][DV]
return AA
endif
LK[0]=DO
L2[0]=DV
LK[1]=b[368]
L2[1]=b[369]
LK[2]=b[370]
L2[2]=b[371]
LK[3]=b[372]
L2[3]=b[373]
LK[4]=b[374]
L2[4]=b[375]
oT=5
rM=b[377]
qX=b[376]
return 5
endfunc
func A8_()
b[313]=LX()
if LX()
b[314]=Lf[0]
b[315]=M1[0]
b[316]=eq
b[317]=eU
endif
b[326]=Lb()
if Lb()
b[327]=JJ[0]
b[328]=JD[0]
b[329]=JJ[1]
b[330]=JD[1]
b[331]=f9
b[332]=db
endif
b[339]=Ma()
if Ma()
b[340]=KS[0]
b[341]=K8[0]
b[342]=KS[1]
b[343]=K8[1]
b[344]=KS[2]
b[345]=K8[2]
b[346]=mJ
b[347]=lN
endif
b[352]=N5()
if N5()
b[353]=Hr[0]
b[354]=Hu[0]
b[355]=Hr[1]
b[356]=Hu[1]
b[357]=Hr[2]
b[358]=Hu[2]
b[359]=Hr[3]
b[360]=Hu[3]
b[361]=mc
b[362]=lm
endif
b[365]=NK()
if NK()
b[366]=LK[0]
b[367]=L2[0]
b[368]=LK[1]
b[369]=L2[1]
b[370]=LK[2]
b[371]=L2[2]
b[372]=LK[3]
b[373]=L2[3]
b[374]=LK[4]
b[375]=L2[4]
b[376]=qX
b[377]=rM
endif
endfunc
func ATz()
if AKs
return 1
endif
AjY=B()
AKs=1
MR=E2
if fK<=2
lT=5
else
lT=1
endif
AWq()
if Qy
if Qy==1
if AH<=V[SR][Rw]
Mu=Os
else
Mu=1+Os
endif
elif Ff()==1
Mu=B()
elif AR<=V[SR][Rw]
Mu=Os/2
elif AR<=V[Ys][XQ]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4
Tu=5
endif
endif
AlZ()
if SY
if SY==1
if AH<=V[Rc][Rv]
Mv=P8
else
Mv=1+P8
endif
elif Ff()==1
Mv=B()
elif AR<=V[Rc][Rv]
Mv=P8/2
elif AR<=V[Yq][Yn]
Mv=P8/2
else
Mv=P8
endif
if Mv>MR
MR=Mv
Rr=SY
S3=P8
R0=Tj
Ru=VB
Qu=Rv
S8=Rc
TE=Yn
TK=Yq
U6=5
Tu=1
endif
endif
ANP()
if SW
if SW==1
if AH<=V[RA][Sr]
Mp=Ob
else
Mp=1+Ob
endif
elif Ff()==1
Mp=B()
elif AR<=V[RA][Sr]
Mp=Ob/2
elif AR<=V[X1][X5]
Mp=Ob/2
else
Mp=Ob
endif
if Mp>MR
MR=Mp
Rr=SW
S3=Ob
R0=VL
Ru=TS
Qu=Sr
S8=RA
TE=X5
TK=X1
U6=5
Tu=5
endif
endif
if MR<B()
return 1
endif
if TL
if TL<S3
if Rr==1
A5J()
else
if TL+1<S3
zp()
else
endif
endif
else
endif
elif Rr==1
A5J()
else
zp()
endif
endfunc
func A5J()
RR=1
La[0]=Qu
Lc[0]=S8
jk=R0
k6=Ru
hE=1
tn()
qn()
rS()
qw()
oN()
endfunc
func zp()
RR=2
Hf[0]=Qu
Js[0]=S8
Hf[1]=TE
Js[1]=TK
l1=R0
eP=Ru
fV=2
w7()
qn()
rS()
qw()
oN()
endfunc
func ALw()
if Aea
return 1
endif
AKk=B()
Aea=1
MJ=E2
if fK<=2
lT=5
else
lT=1
endif
ARL()
if Re
if Re==1
if AH<=V[Sw][R3]
Mu=Oa
else
Mu=1+Oa
endif
elif Fe()==1
Mu=B()
elif AR<=V[Sw][R3]
Mu=Oa/2
elif AR<=V[XY][Ya]
Mu=Oa/2
else
Mu=Oa
endif
if Mu>MJ
MJ=Mu
S_=Re
ST=Oa
R7=Th
So=Uu
S6=R3
Rl=Sw
TJ=Ya
TB=XY
Uj=0
Uv=1
endif
endif
AY5()
if T4
if T4==1
if AH<=V[T1][RW]
Ms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Rl=Sv
TJ=Xr
TB=XN
Uj=2
Uv=5
endif
endif
Ak1()
if Rs
if Rs==1
if AH<=V[Qk][Rp]
N0=Of
else
N0=1+Of
endif
elif Fe()==1
N0=B()
elif AR<=V[Qk][Rp]
N0=Of/2
elif AR<=V[Xp][YL]
N0=Of/2
else
N0=Of
endif
if N0>MJ
MJ=N0
S_=Rs
ST=Of
R7=U7
So=V5
S6=Rp
Rl=Qk
TJ=YL
TB=Xp
Uj=3
Uv=1
endif
endif
AUZ()
if Rt
if Rt==1
if AH<=V[RN][S4]
N2=Oq
else
N2=1+Oq
endif
elif Fe()==1
N2=B()
elif AR<=V[RN][S4]
N2=Oq/2
elif AR<=V[YK][Wt]
N2=Oq/2
else
N2=Oq
endif
if N2>MJ
MJ=N2
S_=Rt
ST=Oq
R7=TT
So=TY
S6=S4
Rl=RN
TJ=Wt
TB=YK
Uj=3
Uv=5
endif
endif
Abm()
if RH
if RH==1
if AH<=V[Rq][Rn]
Mz=P0
else
Mz=1+P0
endif
elif Fe()==1
Mz=B()
elif AR<=V[Rq][Rn]
Mz=P0/2
elif AR<=V[Y4][Y1]
Mz=P0/2
else
Mz=P0
endif
if Mz>MJ
MJ=Mz
S_=RH
ST=P0
R7=TR
So=Uq
S6=Rn
Rl=Rq
TJ=Y1
TB=Y4
Uj=4
Uv=1
endif
endif
APW()
if Qd
if Qd==1
if AH<=V[RB][R5]
Mm=Oe
else
Mm=1+Oe
endif
elif Fe()==1
Mm=B()
elif AR<=V[RB][R5]
Mm=Oe/2
elif AR<=V[Xd][Y5]
Mm=Oe/2
else
Mm=Oe
endif
if Mm>MJ
MJ=Mm
S_=Qd
ST=Oe
R7=Ue
So=TZ
S6=R5
Rl=RB
TJ=Y5
TB=Xd
Uj=4
Uv=5
endif
endif
AfS()
if SQ
if SQ==1
if AH<=V[SC][SF]
Mv=On
else
Mv=1+On
endif
elif Fe()==1
Mv=B()
elif AR<=V[SC][SF]
Mv=On/2
elif AR<=V[YS][Y6]
Mv=On/2
else
Mv=On
endif
if Mv>MJ
MJ=Mv
S_=SQ
ST=On
R7=VP
So=U4
S6=SF
Rl=SC
TJ=Y6
TB=YS
Uj=5
Uv=1
endif
endif
Ab2()
if RP
if RP==1
if AH<=V[RJ][Rh]
Mp=P1
else
Mp=1+P1
endif
elif Fe()==1
Mp=B()
elif AR<=V[RJ][Rh]
Mp=P1/2
elif AR<=V[YY][Yu]
Mp=P1/2
else
Mp=P1
endif
if Mp>MJ
MJ=Mp
S_=RP
ST=P1
R7=Tw
So=U9
S6=Rh
Rl=RJ
TJ=Yu
TB=YY
Uj=5
Uv=5
endif
endif
if MJ<B()
return 1
endif
if T9
if T9<ST
if S_==1
A1r()
else
if T9+1<ST
A07()
else
endif
endif
else
endif
elif S_==1
A1r()
else
A07()
endif
endfunc
func A1r()
SK=1
Lz[0]=S6
Lv[0]=Rl
f3=R7
hy=So
fy=1
t6()
pl()
pr()
rf()
oC()
endfunc
func A07()
SK=2
JV[0]=S6
Hs[0]=Rl
JV[1]=TJ
Hs[1]=TB
jJ=R7
kW=So
ds=2
v7()
pl()
pr()
rf()
oC()
endfunc
func AVn()
if AUo
return 1
endif
AZV=B()
AUo=1
MH=E2
if fK<=2
lT=5
else
lT=1
endif
AUX()
if Qe
if Qe==1
if AH<=V[RX][SU]
Mu=Oy
else
Mu=1+Oy
endif
elif Fh()==1
Mu=B()
elif AR<=V[RX][SU]
Mu=Oy/2
elif AR<=V[Z1][Xw]
Mu=Oy/2
else
Mu=Oy
endif
if Mu>MH
MH=Mu
RM=Qe
Qo=Oy
Qs=U3
St=U1
Sf=SU
Sn=RX
TF=Xw
T8=Z1
U0=0
Tk=1
endif
endif
ASY()
if SN
if SN==1
if AH<=V[Qf][Qz]
Ms=OZ
else
Ms=1+OZ
endif
elif Fh()==1
Ms=B()
elif AR<=V[Qf][Qz]
Ms=OZ/2
elif AR<=V[Xl][Yt]
Ms=OZ/2
else
Ms=OZ
endif
if Ms>MH
MH=Ms
RM=SN
Qo=OZ
Qs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elif AR<=V[Y0][Ye]
N0=Oz/2
else
N0=Oz
endif
if N0>MH
MH=N0
RM=T3
Qo=Oz
Qs=VM
St=UT
Sf=R9
Sn=Rz
TF=Ye
T8=Y0
U0=3
Tk=1
endif
endif
AP3()
if RL
if RL==1
if AH<=V[Qq][T0]
N2=OT
else
N2=1+OT
endif
elif Fh()==1
N2=B()
elif AR<=V[Qq][T0]
N2=OT/2
elif AR<=V[Xn][Xk]
N2=OT/2
else
N2=OT
endif
if N2>MH
MH=N2
RM=RL
Qo=OT
Qs=Tc
St=UL
Sf=T0
Sn=Qq
TF=Xk
T8=Xn
U0=3
Tk=5
endif
endif
AoH()
if SV
if SV==1
if AH<=V[RS][SH]
Mz=OV
else
Mz=1+OV
endif
elif Fh()==1
Mz=B()
elif AR<=V[RS][SH]
Mz=OV/2
elif AR<=V[Xx][Yb]
Mz=OV/2
else
Mz=OV
endif
if Mz>MH
MH=Mz
RM=SV
Qo=OV
Qs=Ur
St=UM
Sf=SH
Sn=RS
TF=Yb
T8=Xx
U0=4
Tk=1
endif
endif
AJn()
if Ss
if Ss==1
if AH<=V[T2][Sk]
Mm=P9
else
Mm=1+P9
endif
elif Fh()==1
Mm=B()
elif AR<=V[T2][Sk]
Mm=P9/2
elif AR<=V[Xv][Yh]
Mm=P9/2
else
Mm=P9
endif
if Mm>MH
MH=Mm
RM=Ss
Qo=P9
Qs=UF
St=Uc
Sf=Sk
Sn=T2
TF=Yh
T8=Xv
U0=4
Tk=5
endif
endif
AHk()
if RY
if RY==1
if AH<=V[Sl][SA]
Mv=PA
else
Mv=1+PA
endif
elif Fh()==1
Mv=B()
elif AR<=V[Sl][SA]
Mv=PA/2
elif AR<=V[Y7][XR]
Mv=PA/2
else
Mv=PA
endif
if Mv>MH
MH=Mv
RM=RY
Qo=PA
Qs=Up
St=UW
Sf=SA
Sn=Sl
TF=XR
T8=Y7
U0=5
Tk=1
endif
endif
AHO()
if Sm
if Sm==1
if AH<=V[RE][Sb]
Mp=Ox
else
Mp=1+Ox
endif
elif Fh()==1
Mp=B()
elif AR<=V[RE][Sb]
Mp=Ox/2
elif AR<=V[XE][YW]
Mp=Ox/2
else
Mp=Ox
endif
if Mp>MH
MH=Mp
RM=Sm
Qo=Ox
Qs=Ux
St=UR
Sf=Sb
Sn=RE
TF=YW
T8=XE
U0=5
Tk=5
endif
endif
if MH<B()
return 1
endif
if TA
if TA<Qo
if RM==1
A7D()
else
if TA+1<Qo
A9k()
else
endif
endif
else
endif
elif RM==1
A7D()
else
A9k()
endif
endfunc
func A7D()
S9=1
M1[0]=Sf
Lf[0]=Sn
eU=Qs
eq=St
hs=1
vd()
oZ()
ou()
ra()
p4()
endfunc
func A9k()
S9=2
JD[0]=Sf
JJ[0]=Sn
JD[1]=TF
JJ[1]=T8
db=Qs
f9=St
je=2
sS()
oZ()
ou()
ra()
p4()
endfunc
func oN()
Dk=B()
K=B()
TL=B()
xh()
if Ff()>=4
if Ff()>=5
AlE()
else
AFx()
endif
elif Ff()>=2
if Ff()>=3
AST()
else
Af4()
endif
elif Ff()
Abf()
endif
endfunc
func Abf()
K[Lc[0]][La[0]]=2
K[k6][jk]=2
Fk[CJ()]=jk
Fj[CJ()]=k6
Fl()
if no()
TL=B()
return 9999
endif
endfunc
func Af4()
K[Js[0]][Hf[0]]=4
K[Js[1]][Hf[1]]=4
K[eP][l1]=2
Fk[CJ()]=l1
Fj[CJ()]=eP
Fl()
if no()
TL=B()
return 9999
endif
endfunc
func AST()
K[KW[0]][KA[0]]=8
K[KW[1]][KA[1]]=8
K[KW[2]][KA[2]]=8
K[lQ][nZ]=2
Fk[CJ()]=nZ
Fj[CJ()]=lQ
Fl()
if no()
TL=B()
return 9999
endif
endfunc
func AFx()
K[Jt[0]][Ht[0]]=16
K[Jt[1]][Ht[1]]=16
K[Jt[2]][Ht[2]]=16
K[Jt[3]][Ht[3]]=16
K[mK][lV]=2
Fk[CJ()]=lV
Fj[CJ()]=mK
Fl()
if no()
TL=B()
return 9999
endif
endfunc
func AlE()
K[LA[0]][L1[0]]=32
K[LA[1]][L1[1]]=32
K[LA[2]][L1[2]]=32
K[LA[3]][L1[3]]=32
K[LA[4]][L1[4]]=32
K[q1][o8]=2
Fk[CJ()]=o8
Fj[CJ()]=q1
Fl()
if no()
TL=B()
return 9999
endif
endfunc
func no()
while CJ()
TL=TL+1
wL()
Md()
if K[f()][e()]
elif A[f()][e()]
K[f()][e()]=1
if B5[f()][e()]>Dk
Dk=B5[f()][e()]
endif
elif S[f()][e()]>=2
return 9999
else
K[f()][e()]=2
Fk[CJ()]=e()
Fj[CJ()]=f()
Fl()
endif
if K[p()][o()]
elif A[p()][o()]
K[p()][o()]=1
if B5[p()][o()]>Dk
Dk=B5[p()][o()]
endif
elif S[p()][o()]>=2
return 9999
else
K[p()][o()]=2
Fk[CJ()]=o()
Fj[CJ()]=p()
Fl()
endif
if K[j()][h()]
elif A[j()][h()]
K[j()][h()]=1
if B5[j()][h()]>Dk
Dk=B5[j()][h()]
endif
elif S[j()][h()]>=2
return 9999
else
K[j()][h()]=2
Fk[CJ()]=h()
Fj[CJ()]=j()
Fl()
endif
if K[k()][l()]
elif A[k()][l()]
K[k()][l()]=1
if B5[k()][l()]>Dk
Dk=B5[k()][l()]
endif
elif S[k()][l()]>=2
return 9999
else
K[k()][l()]=2
Fk[CJ()]=l()
Fj[CJ()]=k()
Fl()
endif
if K[m()][d()]
elif A[m()][d()]
K[m()][d()]=1
if B5[m()][d()]>Dk
Dk=B5[m()][d()]
endif
elif S[m()][d()]>=2
return 9999
else
K[m()][d()]=2
Fk[CJ()]=d()
Fj[CJ()]=m()
Fl()
endif
if K[n()][c()]
elif A[n()][c()]
K[n()][c()]=1
if B5[n()][c()]>Dk
Dk=B5[n()][c()]
endif
elif S[n()][c()]>=2
return 9999
else
K[n()][c()]=2
Fk[CJ()]=c()
Fj[CJ()]=n()
Fl()
endif
endwhile
endfunc
func oC()
Df=B()
K=B()
T9=B()
xh()
if Fe()>=4
if Fe()>=5
ATu()
else
AKf()
endif
elif Fe()>=2
if Fe()>=3
AF6()
else
ATs()
endif
elif Fe()
APw()
endif
endfunc
func APw()
K[Lv[0]][Lz[0]]=2
K[hy][f3]=2
Fk[CJ()]=f3
Fj[CJ()]=hy
Fl()
if lF()
T9=B()
return 9999
endif
endfunc
func ATs()
K[Hs[0]][JV[0]]=4
K[Hs[1]][JV[1]]=4
K[kW][jJ]=2
Fk[CJ()]=jJ
Fj[CJ()]=kW
Fl()
if lF()
T9=B()
return 9999
endif
endfunc
func AF6()
K[KR[0]][KX[0]]=8
K[KR[1]][KX[1]]=8
K[KR[2]][KX[2]]=8
K[nc][n0]=2
Fk[CJ()]=n0
Fj[CJ()]=nc
Fl()
if lF()
T9=B()
return 9999
endif
endfunc
func AKf()
K[Jh[0]][Jw[0]]=16
K[Jh[1]][Jw[1]]=16
K[Jh[2]][Jw[2]]=16
K[Jh[3]][Jw[3]]=16
K[lB][nz]=2
Fk[CJ()]=nz
Fj[CJ()]=lB
Fl()
if lF()
T9=B()
return 9999
endif
endfunc
func ATu()
K[LT[0]][Ks[0]]=32
K[LT[1]][Ks[1]]=32
K[LT[2]][Ks[2]]=32
K[LT[3]][Ks[3]]=32
K[LT[4]][Ks[4]]=32
K[pa][r7]=2
Fk[CJ()]=r7
Fj[CJ()]=pa
Fl()
if lF()
T9=B()
return 9999
endif
endfunc
func lF()
while CJ()
T9=T9+1
wL()
Md()
if K[f()][e()]
elif A[f()][e()]
K[f()][e()]=1
if B5[f()][e()]>Df
Df=B5[f()][e()]
endif
elif S[f()][e()]>=2
return 9999
else
K[f()][e()]=2
Fk[CJ()]=e()
Fj[CJ()]=f()
Fl()
endif
if K[p()][o()]
elif A[p()][o()]
K[p()][o()]=1
if B5[p()][o()]>Df
Df=B5[p()][o()]
endif
elif S[p()][o()]>=2
return 9999
else
K[p()][o()]=2
Fk[CJ()]=o()
Fj[CJ()]=p()
Fl()
endif
if K[j()][h()]
elif A[j()][h()]
K[j()][h()]=1
if B5[j()][h()]>Df
Df=B5[j()][h()]
endif
elif S[j()][h()]>=2
return 9999
else
K[j()][h()]=2
Fk[CJ()]=h()
Fj[CJ()]=j()
Fl()
endif
if K[k()][l()]
elif A[k()][l()]
K[k()][l()]=1
if B5[k()][l()]>Df
Df=B5[k()][l()]
endif
elif S[k()][l()]>=2
return 9999
else
K[k()][l()]=2
Fk[CJ()]=l()
Fj[CJ()]=k()
Fl()
endif
if K[m()][d()]
elif A[m()][d()]
K[m()][d()]=1
if B5[m()][d()]>Df
Df=B5[m()][d()]
endif
elif S[m()][d()]>=2
return 9999
else
K[m()][d()]=2
Fk[CJ()]=d()
Fj[CJ()]=m()
Fl()
endif
if K[n()][c()]
elif A[n()][c()]
K[n()][c()]=1
if B5[n()][c()]>Df
Df=B5[n()][c()]
endif
elif S[n()][c()]>=2
return 9999
else
K[n()][c()]=2
Fk[CJ()]=c()
Fj[CJ()]=n()
Fl()
endif
endwhile
endfunc
func p4()
Dj=B()
K=B()
TA=B()
xh()
if Fh()>=4
if Fh()>=5
Ane()
else
AkF()
endif
elif Fh()>=2
if Fh()>=3
ANO()
else
AJt()
endif
elif Fh()
AWm()
endif
endfunc
func AWm()
K[Lf[0]][M1[0]]=2
K[eq][eU]=2
Fk[CJ()]=eU
Fj[CJ()]=eq
Fl()
if nD()
TA=B()
return 9999
endif
endfunc
func AJt()
K[JJ[0]][JD[0]]=4
K[JJ[1]][JD[1]]=4
K[f9][db]=2
Fk[CJ()]=db
Fj[CJ()]=f9
Fl()
if nD()
TA=B()
return 9999
endif
endfunc
func ANO()
K[KS[0]][K8[0]]=8
K[KS[1]][K8[1]]=8
K[KS[2]][K8[2]]=8
K[mJ][lN]=2
Fk[CJ()]=lN
Fj[CJ()]=mJ
Fl()
if nD()
TA=B()
return 9999
endif
endfunc
func AkF()
K[Hr[0]][Hu[0]]=16
K[Hr[1]][Hu[1]]=16
K[Hr[2]][Hu[2]]=16
K[Hr[3]][Hu[3]]=16
K[mc][lm]=2
Fk[CJ()]=lm
Fj[CJ()]=mc
Fl()
if nD()
TA=B()
return 9999
endif
endfunc
func Ane()
K[LK[0]][L2[0]]=32
K[LK[1]][L2[1]]=32
K[LK[2]][L2[2]]=32
K[LK[3]][L2[3]]=32
K[LK[4]][L2[4]]=32
K[qX][rM]=2
Fk[CJ()]=rM
Fj[CJ()]=qX
Fl()
if nD()
TA=B()
return 9999
endif
endfunc
func nD()
while CJ()
TA=TA+1
wL()
Md()
if K[f()][e()]
elif A[f()][e()]
K[f()][e()]=1
if B5[f()][e()]>Dj
Dj=B5[f()][e()]
endif
elif S[f()][e()]>=2
return 9999
else
K[f()][e()]=2
Fk[CJ()]=e()
Fj[CJ()]=f()
Fl()
endif
if K[p()][o()]
elif A[p()][o()]
K[p()][o()]=1
if B5[p()][o()]>Dj
Dj=B5[p()][o()]
endif
elif S[p()][o()]>=2
return 9999
else
K[p()][o()]=2
Fk[CJ()]=o()
Fj[CJ()]=p()
Fl()
endif
if K[j()][h()]
elif A[j()][h()]
K[j()][h()]=1
if B5[j()][h()]>Dj
Dj=B5[j()][h()]
endif
elif S[j()][h()]>=2
return 9999
else
K[j()][h()]=2
Fk[CJ()]=h()
Fj[CJ()]=j()
Fl()
endif
if K[k()][l()]
elif A[k()][l()]
K[k()][l()]=1
if B5[k()][l()]>Dj
Dj=B5[k()][l()]
endif
elif S[k()][l()]>=2
return 9999
else
K[k()][l()]=2
Fk[CJ()]=l()
Fj[CJ()]=k()
Fl()
endif
if K[m()][d()]
elif A[m()][d()]
K[m()][d()]=1
if B5[m()][d()]>Dj
Dj=B5[m()][d()]
endif
elif S[m()][d()]>=2
return 9999
else
K[m()][d()]=2
Fk[CJ()]=d()
Fj[CJ()]=m()
Fl()
endif
if K[n()][c()]
elif A[n()][c()]
K[n()][c()]=1
if B5[n()][c()]>Dj
Dj=B5[n()][c()]
endif
elif S[n()][c()]>=2
return 9999
else
K[n()][c()]=2
Fk[CJ()]=c()
Fj[CJ()]=n()
Fl()
endif
endwhile
endfunc
func B9j()
return Ayy
endfunc
func AE0()
AfZ()
Ae9()
AA3()
jU()
gb_move(AC)
AV4=1
endfunc
func Acr()
if AV4
AnM()
AA3()
jU()
gb_move(AC)
endif
endfunc
func B28()
return Tz
endfunc
func AA3()
WH()
AW7()
Tz=Ff()
Hk=B()
if Lh()
if 1<=Rd()
Tz=1
endif
endif
if Ln()
if 2<=Rd()
Tz=2
endif
endif
if Mf()
if 3<=Rd()
Tz=3
endif
endif
if N3()
if 4<=Rd()
Tz=4
endif
endif
if NX()
if 5<=Rd()
Tz=5
endif
endif
if Lh()
KL=Lc[B()]
KJ=La[B()]
if 1==Tz
Hk[BR()][BP()]=4
elif 1<=Rd()
Hk[BR()][BP()]=Hk[BR()][BP()]|2
else
Hk[BR()][BP()]=Hk[BR()][BP()]|1
endif
else
endif
if Ln()
KL=Js[B()]
KJ=Hf[B()]
if 2==Tz
Hk[BR()][BP()]=4
elif 2<=Rd()
Hk[BR()][BP()]=Hk[BR()][BP()]|2
else
Hk[BR()][BP()]=Hk[BR()][BP()]|1
endif
else
endif
if Mf()
KL=KW[B()]
KJ=KA[B()]
if 3==Tz
Hk[BR()][BP()]=4
elif 3<=Rd()
Hk[BR()][BP()]=Hk[BR()][BP()]|2
else
Hk[BR()][BP()]=Hk[BR()][BP()]|1
endif
else
endif
if N3()
KL=Jt[B()]
KJ=Ht[B()]
if 4==Tz
Hk[BR()][BP()]=4
elif 4<=Rd()
Hk[BR()][BP()]=Hk[BR()][BP()]|2
else
Hk[BR()][BP()]=Hk[BR()][BP()]|1
endif
else
endif
if NX()
KL=LA[B()]
KJ=L1[B()]
if 5==Tz
Hk[BR()][BP()]=4
elif 5<=Rd()
Hk[BR()][BP()]=Hk[BR()][BP()]|2
else
Hk[BR()][BP()]=Hk[BR()][BP()]|1
endif
else
endif
CN=Hk[AW][AY]
if CN&4
C3=oy*81
elif CN&2
C3=oy*9
elif CN
C3=oy*3
else
C3=oy
endif
CN=Hk[Ar][Ad]
if CN&4
C6=qf*81
elif CN&2
C6=qf*9
elif CN
C6=qf*3
else
C6=qf
endif
CN=Hk[B0][Ak]
if CN&4
Bz=q6*81
elif CN&2
Bz=q6*9
elif CN
Bz=q6*3
else
Bz=q6
endif
CN=Hk[AU][At]
if CN&4
Br=pn*81
elif CN&2
Br=pn*9
elif CN
Br=pn*3
else
Br=pn
endif
CN=Hk[Aj][Aw]
if CN&4
Bl=p1*81
elif CN&2
Bl=p1*9
elif CN
Bl=p1*3
else
Bl=p1
endif
CN=Hk[Ay][Am]
if CN&4
BX=qk*81
elif CN&2
BX=qk*9
elif CN
BX=qk*3
else
BX=qk
endif
WH()
endfunc
func AfZ()
oy=C3
qf=C6
q6=Bz
pn=Br
p1=Bl
qk=BX
endfunc
func AnM()
qc=B4-Un
if qc
else
qc=1
endif
if Rd()>qc
pN=qc
endif
endfunc
func Rd()
return pN
endfunc
func Ae9()
pN=AH-Dk
if Rd()>gb_remaining_turns()
pN=gb_remaining_turns()
endif
zX=gb_turns_before_enabling_syzygies()-1
if Rd()>zX
pN=zX
endif
endfunc
func A3H()
AVk()
AoW()
_x()
h8()
gb_move(AC)
AFO=1
endfunc
func AR7()
if AFO
AYO()
_x()
h8()
gb_move(AC)
endif
endfunc
func Auw()
return V0
endfunc
func _x()
W8()
AHE()
V0=Fe()
Jc=B()
if LW()
if 1<=Qt()
V0=1
endif
endif
if MA()
if 2<=Qt()
V0=2
endif
endif
if Mc()
if 3<=Qt()
V0=3
endif
endif
if N4()
if 4<=Qt()
V0=4
endif
endif
if ND()
if 5<=Qt()
V0=5
endif
endif
if LW()
KL=Lv[B()]
KJ=Lz[B()]
if 1==V0
Jc[BR()][BP()]=4
elif 1<=Qt()
Jc[BR()][BP()]=Jc[BR()][BP()]|2
else
Jc[BR()][BP()]=Jc[BR()][BP()]|1
endif
else
endif
if MA()
KL=Hs[B()]
KJ=JV[B()]
if 2==V0
Jc[BR()][BP()]=4
elif 2<=Qt()
Jc[BR()][BP()]=Jc[BR()][BP()]|2
else
Jc[BR()][BP()]=Jc[BR()][BP()]|1
endif
else
endif
if Mc()
KL=KR[B()]
KJ=KX[B()]
if 3==V0
Jc[BR()][BP()]=4
elif 3<=Qt()
Jc[BR()][BP()]=Jc[BR()][BP()]|2
else
Jc[BR()][BP()]=Jc[BR()][BP()]|1
endif
else
endif
if N4()
KL=Jh[B()]
KJ=Jw[B()]
if 4==V0
Jc[BR()][BP()]=4
elif 4<=Qt()
Jc[BR()][BP()]=Jc[BR()][BP()]|2
else
Jc[BR()][BP()]=Jc[BR()][BP()]|1
endif
else
endif
if ND()
KL=LT[B()]
KJ=Ks[B()]
if 5==V0
Jc[BR()][BP()]=4
elif 5<=Qt()
Jc[BR()][BP()]=Jc[BR()][BP()]|2
else
Jc[BR()][BP()]=Jc[BR()][BP()]|1
endif
else
endif
CN=Jc[AX][Aa]
if CN&4
C4=pj*81
elif CN&2
C4=pj*9
elif CN
C4=pj*3
else
C4=pj
endif
CN=Jc[Ap][Ab]
if CN&4
C5=rT*81
elif CN&2
C5=rT*9
elif CN
C5=rT*3
else
C5=rT
endif
CN=Jc[B2][Al]
if CN&4
By=pw*81
elif CN&2
By=pw*9
elif CN
By=pw*3
else
By=pw
endif
CN=Jc[AV][Av]
if CN&4
Bt=ot*81
elif CN&2
Bt=ot*9
elif CN
Bt=ot*3
else
Bt=ot
endif
CN=Jc[Ao][Ax]
if CN&4
Bm=qt*81
elif CN&2
Bm=qt*9
elif CN
Bm=qt*3
else
Bm=qt
endif
CN=Jc[A_][Ae]
if CN&4
BW=pv*81
elif CN&2
BW=pv*9
elif CN
BW=pv*3
else
BW=pv
endif
W8()
endfunc
func AVk()
pj=C4
rT=C5
pw=By
ot=Bt
qt=Bm
pv=BW
endfunc
func AYO()
qU=B4-Un
if qU
else
qU=1
endif
if Qt()>qU
pU=qU
endif
endfunc
func Qt()
return pU
endfunc
func AoW()
pU=AH-Df
if Qt()>gb_remaining_turns()
pU=gb_remaining_turns()
endif
yz=gb_turns_before_enabling_syzygies()-1
if Qt()>yz
pU=yz
endif
endfunc
func ADh()
ALK()
AaW()
A6b()
jb()
gb_move(AC)
AXF=1
endfunc
func Aa5()
if AXF
AOE()
A6b()
jb()
gb_move(AC)
endif
endfunc
func As1()
return To
endfunc
func A6b()
Wp()
AJw()
To=Fh()
Jo=B()
if LX()
if 1<=Qw()
To=1
endif
endif
if Lb()
if 2<=Qw()
To=2
endif
endif
if Ma()
if 3<=Qw()
To=3
endif
endif
if N5()
if 4<=Qw()
To=4
endif
endif
if NK()
if 5<=Qw()
To=5
endif
endif
if LX()
KL=Lf[B()]
KJ=M1[B()]
if 1==To
Jo[BR()][BP()]=4
elif 1<=Qw()
Jo[BR()][BP()]=Jo[BR()][BP()]|2
else
Jo[BR()][BP()]=Jo[BR()][BP()]|1
endif
else
endif
if Lb()
KL=JJ[B()]
KJ=JD[B()]
if 2==To
Jo[BR()][BP()]=4
elif 2<=Qw()
Jo[BR()][BP()]=Jo[BR()][BP()]|2
else
Jo[BR()][BP()]=Jo[BR()][BP()]|1
endif
else
endif
if Ma()
KL=KS[B()]
KJ=K8[B()]
if 3==To
Jo[BR()][BP()]=4
elif 3<=Qw()
Jo[BR()][BP()]=Jo[BR()][BP()]|2
else
Jo[BR()][BP()]=Jo[BR()][BP()]|1
endif
else
endif
if N5()
KL=Hr[B()]
KJ=Hu[B()]
if 4==To
Jo[BR()][BP()]=4
elif 4<=Qw()
Jo[BR()][BP()]=Jo[BR()][BP()]|2
else
Jo[BR()][BP()]=Jo[BR()][BP()]|1
endif
else
endif
if NK()
KL=LK[B()]
KJ=L2[B()]
if 5==To
Jo[BR()][BP()]=4
elif 5<=Qw()
Jo[BR()][BP()]=Jo[BR()][BP()]|2
else
Jo[BR()][BP()]=Jo[BR()][BP()]|1
endif
else
endif
CN=Jo[AS][AZ]
if CN&4
C2=pP*81
elif CN&2
C2=pP*9
elif CN
C2=pP*3
else
C2=pP
endif
CN=Jo[Aq][Ac]
if CN&4
C1=om*81
elif CN&2
C1=om*9
elif CN
C1=om*3
else
C1=om
endif
CN=Jo[B1][Ah]
if CN&4
Bx=oR*81
elif CN&2
Bx=oR*9
elif CN
Bx=oR*3
else
Bx=oR
endif
CN=Jo[AT][Au]
if CN&4
Bs=rU*81
elif CN&2
Bs=rU*9
elif CN
Bs=rU*3
else
Bs=rU
endif
CN=Jo[An][As]
if CN&4
Bk=qx*81
elif CN&2
Bk=qx*9
elif CN
Bk=qx*3
else
Bk=qx
endif
CN=Jo[Az][Af]
if CN&4
BV=rV*81
elif CN&2
BV=rV*9
elif CN
BV=rV*3
else
BV=rV
endif
Wp()
endfunc
func ALK()
pP=C2
om=C1
oR=Bx
rU=Bs
qx=Bk
rV=BV
endfunc
func AOE()
rW=B4-Un
if rW
else
rW=1
endif
if Qw()>rW
pf=rW
endif
endfunc
func Qw()
return pf
endfunc
func AaW()
pf=AH-Dj
if Qw()>gb_remaining_turns()
pf=gb_remaining_turns()
endif
A2y=gb_turns_before_enabling_syzygies()-1
if Qw()>A2y
pf=A2y
endif
endfunc
func AtC()
if Fm<5
return B()
endif
ABx()
A8h()
A86()
A4y()
A6q()
z_()
oN()
ADr()
A8h()
A86()
A4y()
A6q()
z_()
A3z()
endfunc
func Auy()
CP=0
while CP<N()
CP=CP+1
endwhile
endfunc
func A8h()
CP=0
while CP<Lh()
CP=CP+1
endwhile
endfunc
func A86()
CP=0
while CP<Ln()
CP=CP+1
endwhile
endfunc
func A4y()
CP=0
while CP<Mf()
CP=CP+1
endwhile
endfunc
func A6q()
CP=0
while CP<N3()
CP=CP+1
endwhile
endfunc
func z_()
CP=0
while CP<NX()
CP=CP+1
endwhile
endfunc
func Ay9()
if Fm<5
return B()
endif
A7v()
A3n()
zM()
A1W()
A9r()
ADl()
oC()
A6v()
A3n()
zM()
A1W()
A9r()
ADl()
ACe()
endfunc
func B52()
CP=0
while CP<CJ()
CP=CP+1
endwhile
endfunc
func A3n()
CP=0
while CP<LW()
CP=CP+1
endwhile
endfunc
func zM()
CP=0
while CP<MA()
CP=CP+1
endwhile
endfunc
func A1W()
CP=0
while CP<Mc()
CP=CP+1
endwhile
endfunc
func A9r()
CP=0
while CP<N4()
CP=CP+1
endwhile
endfunc
func ADl()
CP=0
while CP<ND()
CP=CP+1
endwhile
endfunc
func B6r()
if Fm<5
return B()
endif
A4V()
ACt()
AAU()
A0t()
zP()
A5W()
p4()
A58()
ACt()
AAU()
A0t()
zP()
A5W()
A8_()
endfunc
func B0r()
CP=0
while CP<Mk()
CP=CP+1
endwhile
endfunc
func ACt()
CP=0
while CP<LX()
CP=CP+1
endwhile
endfunc
func AAU()
CP=0
while CP<Lb()
CP=CP+1
endwhile
endfunc
func A0t()
CP=0
while CP<Ma()
CP=CP+1
endwhile
endfunc
func zP()
CP=0
while CP<N5()
CP=CP+1
endwhile
endfunc
func A5W()
CP=0
while CP<NK()
CP=CP+1
endwhile
endfunc
func Ap5()
b2=B()
ch=B()
AkA()
AcD()
AOc()
AmF()
ATj()
Aal()
AdD()
AX0()
endfunc
func hK()
return Zu
endfunc
func ja()
return Zd
endfunc
func AX0()
AEX()
Alj()
Ac4()
endfunc
func Ajv()
Zu=AD
Zd=0
if op()
elif hK()>OR
Zu=OR
Zd=3
endif
if oD()
elif hK()>OF
Zu=OF
Zd=2
endif
if rk()
elif hK()>OK
Zu=OK
Zd=1
endif
if ja()>=2
if ja()>=3
rb=1
else
r5=1
endif
elif ja()
rP=1
else
endif
endfunc
func A72()
Zu=AD
Zd=0
if rY()
elif hK()>Bo
Zu=Bo
Zd=1
endif
if oe()
elif hK()>Bn
Zu=Bn
Zd=2
endif
if ok()
elif hK()>Bp
Zu=Bp
Zd=3
endif
if ja()>=2
if ja()>=3
ol=1
else
qC=1
endif
elif ja()
qH=1
else
endif
endfunc
func AmF()
qH=B()
qC=B()
ol=B()
rP=B()
r5=B()
rb=B()
if ALx()
return B()
endif
if Alz()
if AC8()
A72()
endif
return Ajv()
elif AC8()
return A72()
endif
endfunc
func AX6()
WH()
if A3Z()
C3=C3*5
C6=C6*5
Bz=Bz*2
BX=BX*2
elif zj()
Bl=Bl*5
Br=Br*5
Bz=Bz*2
BX=BX*2
endif
WH()
jU()
endfunc
func B3f()
endfunc
func uK()
if rk()
if rY()
if AKK()<Afk()
qH=1
else
rP=1
endif
else
qH=1
endif
else
rP=1
endif
endfunc
func ATj()
if A0z()>=6
uK()
elif A[AW][AY]
if A[Ar][Ad]
if A[B0][Ak]
if A[AU][At]
if A[Aj][Aw]
if A[Ay][Am]
uK()
endif
endif
endif
endif
endif
endif
if AZO
uK()
endif
AjT=A3Z()|zj()
endfunc
func AkA()
w8()
Vr[Mk()]=B_
Vs[Mk()]=Bo
Xo()
rC=Bo
qj=Bo
OM=B()
OM[Bo][B_]=1
t1()
AcW()
endfunc
func AEX()
endfunc
func B30()
return ABr
endfunc
func rk()
return ABr
endfunc
func B5B()
return AWs
endfunc
func ASs()
return AMd
endfunc
func rY()
return AFM
endfunc
func AKK()
return Alc
endfunc
func Afk()
return Akz
endfunc
func AlM()
return AjT
endfunc
func A3Z()
return qH
endfunc
func zj()
return rP
endfunc
func AcW()
ASE()
AJu()
if rk()
if rY()
else
ch=1
endif
elif rY()
b2=1
else
b2=1
ch=1
xv=1
endif
endfunc
func ASE()
ABr=b8()
AWs=AD-b8()
Alc=Bo-rk()
endfunc
func AJu()
AMd=cP()
AFM=AD-cP()
Akz=ASs()-Bo
endfunc
func AdQ()
W8()
if _F()
C4=C4*5
C5=C5*5
By=By*2
BW=BW*2
elif __()
Bm=Bm*5
Bt=Bt*5
By=By*2
BW=BW*2
endif
W8()
h8()
endfunc
func B6u()
endfunc
func wk()
if oD()
if oe()
if ALA()<ALz()
qC=1
else
r5=1
endif
else
qC=1
endif
else
r5=1
endif
endfunc
func Aal()
if A81()>=6
wk()
elif A[AX][Aa]
if A[Ap][Ab]
if A[B2][Al]
if A[AV][Av]
if A[Ao][Ax]
if A[A_][Ae]
wk()
endif
endif
endif
endif
endif
endif
if AoD
wk()
endif
AeZ=_F()|__()
endfunc
func AcD()
w8()
Vr[Mk()]=Bw
Vs[Mk()]=Bn
Xo()
rC=Bn
qj=Bn
OM=B()
OM[Bn][Bw]=1
t1()
AJP()
endfunc
func Alj()
endfunc
func B05()
return A9b
endfunc
func oD()
return A9b
endfunc
func Axo()
return AdZ
endfunc
func ApD()
return ARs
endfunc
func oe()
return AKP
endfunc
func ALA()
return AWU
endfunc
func ALz()
return AUW
endfunc
func Am2()
return AeZ
endfunc
func _F()
return qC
endfunc
func __()
return r5
endfunc
func AJP()
APm()
ARo()
if oD()
if oe()
else
ch=1
endif
elif oe()
b2=1
else
b2=1
ch=1
xv=1
endif
endfunc
func APm()
A9b=b8()
AdZ=AD-b8()
AWU=Bn-oD()
endfunc
func ARo()
ARs=cP()
AKP=AD-cP()
AUW=ApD()-Bn
endfunc
func AE_()
Wp()
if A8Z()
C2=C2*5
C1=C1*5
Bx=Bx*2
BV=BV*2
elif A0T()
Bk=Bk*5
Bs=Bs*5
Bx=Bx*2
BV=BV*2
endif
Wp()
jb()
endfunc
func Asp()
endfunc
func yB()
if op()
if ok()
if AcP()<Aa4()
ol=1
else
rb=1
endif
else
ol=1
endif
else
rb=1
endif
endfunc
func AdD()
if z0()>=6
yB()
elif A[AS][AZ]
if A[Aq][Ac]
if A[B1][Ah]
if A[AT][Au]
if A[An][As]
if A[Az][Af]
yB()
endif
endif
endif
endif
endif
endif
if Aju
yB()
endif
Abn=A8Z()|A0T()
endfunc
func AOc()
w8()
Vr[Mk()]=C0
Vs[Mk()]=Bp
Xo()
rC=Bp
qj=Bp
OM=B()
OM[Bp][C0]=1
t1()
AKO()
endfunc
func Ac4()
endfunc
func AvP()
return ADd
endfunc
func op()
return ADd
endfunc
func B0D()
return ANH
endfunc
func AXL()
return Ajd
endfunc
func ok()
return AHc
endfunc
func AcP()
return AYn
endfunc
func Aa4()
return Ap9
endfunc
func AXX()
return Abn
endfunc
func A8Z()
return ol
endfunc
func A0T()
return rb
endfunc
func AKO()
Acc()
Apy()
if op()
if ok()
else
ch=1
endif
elif ok()
b2=1
else
b2=1
ch=1
xv=1
endif
endfunc
func Acc()
ADd=b8()
ANH=AD-b8()
AYn=Bp-op()
endfunc
func Apy()
Ajd=cP()
AHc=AD-cP()
Ap9=AXL()-Bp
endfunc
func b8()
return rC
endfunc
func cP()
return qj
endfunc
func Azd()
return Axm
endfunc
func ALx()
return xv
endfunc
func Alz()
return b2
endfunc
func AC8()
return ch
endfunc
func AXQ()
if b8()>DP()
rC=DP()
endif
endfunc
func Ac0()
if cP()<DP()
qj=DP()
endif
endfunc
func t1()
while Mk()
AeU()
AXQ()
Ac0()
Md()
if OM[f()][e()]
elif A[f()][e()]
OM[f()][e()]=1
Vr[Mk()]=e()
Vs[Mk()]=f()
Xo()
endif
if OM[p()][o()]
elif A[p()][o()]
OM[p()][o()]=1
Vr[Mk()]=o()
Vs[Mk()]=p()
Xo()
endif
if OM[j()][h()]
elif A[j()][h()]
OM[j()][h()]=1
Vr[Mk()]=h()
Vs[Mk()]=j()
Xo()
endif
if OM[k()][l()]
elif A[k()][l()]
OM[k()][l()]=1
Vr[Mk()]=l()
Vs[Mk()]=k()
Xo()
endif
if OM[m()][d()]
elif A[m()][d()]
OM[m()][d()]=1
Vr[Mk()]=d()
Vs[Mk()]=m()
Xo()
endif
if OM[n()][c()]
elif A[n()][c()]
OM[n()][c()]=1
Vr[Mk()]=c()
Vs[Mk()]=n()
Xo()
endif
endwhile
endfunc
func AT4()
WH()
uw=V[Bo][B_]
if S[Bo][B_]
AQ3()
elif ZB==OD
AOQ()
elif Z9==O4
AjU()
elif ZB==PP
AoT()
elif Z9==Pr
AXU()
else
ku()
endif
WH()
endfunc
func AQ3()
if ZB<OD
AmU()
elif ZB>PP 
AEw()
elif Z9<Pr 
AU5()
elif Z9>O4 
AKw()
else
ku()
endif
endfunc
func AOQ()
if DB[Bo][B_]>=BN
if hL
C6=C6*20
else
Bl=Bl*20
endif
endif
ku()
endfunc
func AmU()
if LH()
if LH()<AR
BX=B()
C3=B()
Br=Br*5
Bz=Bz*5
else
if Bo
if B_
if A[Ad][Ar]
if A[Aw][Aj]
else
C3=B()
BX=B()
endif
else
C3=B()
BX=B()
endif
elif A[Ad][Ar]
else
C3=B()
endif
else
BX=B()
endif
endif
else
C3=B()
BX=B()
endif
endfunc
func AjU()
if DB[Bo][B_]>=BN
if np
C3=C3*20
else
Br=Br*20
endif
endif
ku()
endfunc
func AKw()
if LH()
if LH()<AR
Bz=B()
C6=B()
Bl=Bl*5
BX=BX*5
else
if Bo
if Pa
if A[AY][AW]
if A[At][AU]
else
C6=B()
Bz=B()
endif
else
C6=B()
Bz=B()
endif
elif A[AY][AW]
else
C6=B()
endif
else
Bz=B()
endif
endif
else
C6=B()
Bz=B()
endif
endfunc
func AoT()
if DB[Bo][B_]>=BN
if nT
Bl=Bl*20
else
C6=C6*20
endif
endif
ku()
endfunc
func AEw()
if LH()
if LH()<AR
Bz=B()
Br=B()
C3=C3*5
BX=BX*5
else
if OK
if Pa
if A[Aw][Aj]
if A[Ad][Ar]
else
Br=B()
Bz=B()
endif
else
Br=B()
Bz=B()
endif
elif A[Aw][Aj]
else
Br=B()
endif
else
Bz=B()
endif
endif
else
Br=B()
Bz=B()
endif
endfunc
func AXU()
if DB[Bo][B_]>=BN
if lb
Br=Br*20
else
C3=C3*20
endif
endif
ku()
endfunc
func AU5()
if LH()
if LH()<AR
BX=B()
Bl=B()
C6=C6*5
Bz=Bz*5
else
if OK
if B_
if A[At][AU]
if A[AY][AW]
else
Bl=B()
BX=B()
endif
else
Bl=B()
BX=B()
endif
elif A[At][AU]
else
Bl=B()
endif
else
BX=B()
endif
endif
else
Bl=B()
BX=B()
endif
endfunc
func ku()
if LH()
if Ac5()
C3=C3*3
elif S[AW][AY]
C3=B()
else
endif
if AXM()
C6=C6*3
elif S[Ar][Ad]
C6=B()
else
endif
if Ao5()
Bz=Bz*3
elif S[B0][Ak]
Bz=B()
else
endif
if AjN()
Br=Br*3
elif S[AU][At]
Br=B()
else
endif
if AMc()
Bl=Bl*3
elif S[Aj][Aw]
Bl=B()
else
endif
if AT_()
BX=BX*3
elif S[Ay][Am]
BX=B()
else
endif
else
if S[AW][AY]
if A[AW][AY]
C3=C3/2
else
C3=C3*5/3
endif
endif
if S[Ar][Ad]
if A[Ar][Ad]
C6=C6/2
else
C6=C6*5/3
endif
endif
if S[B0][Ak]
if A[B0][Ak]
Bz=Bz/2
else
Bz=Bz*5/3
endif
endif
if S[AU][At]
if A[AU][At]
Br=Br/2
else
Br=Br*5/3
endif
endif
if S[Aj][Aw]
if A[Aj][Aw]
Bl=Bl/2
else
Bl=Bl*5/3
endif
endif
if S[Ay][Am]
if A[Ay][Am]
BX=BX/2
else
BX=BX*5/3
endif
endif
endif
endfunc
func AU4()
W8()
uw=V[Bn][Bw]
if S[Bn][Bw]
AeF()
elif ZS==OD
ANJ()
elif Zs==O4
AQa()
elif ZS==PP
ARd()
elif Zs==Pr
AX1()
else
kk()
endif
W8()
endfunc
func AeF()
if ZS<OD
AR4()
elif ZS>PP 
AZw()
elif Zs<Pr 
AeT()
elif Zs>O4 
AUn()
else
kk()
endif
endfunc
func ANJ()
if DB[Bn][Bw]>=BN
if hL
C5=C5*20
else
Bm=Bm*20
endif
endif
kk()
endfunc
func AR4()
if LH()
if LH()<AR
BW=B()
C4=B()
Bt=Bt*5
By=By*5
else
if Bn
if Bw
if A[Ab][Ap]
if A[Ax][Ao]
else
C4=B()
BW=B()
endif
else
C4=B()
BW=B()
endif
elif A[Ab][Ap]
else
C4=B()
endif
else
BW=B()
endif
endif
else
C4=B()
BW=B()
endif
endfunc
func AQa()
if DB[Bn][Bw]>=BN
if np
C4=C4*20
else
Bt=Bt*20
endif
endif
kk()
endfunc
func AUn()
if LH()
if LH()<AR
By=B()
C5=B()
Bm=Bm*5
BW=BW*5
else
if Bn
if PL
if A[Aa][AX]
if A[Av][AV]
else
C5=B()
By=B()
endif
else
C5=B()
By=B()
endif
elif A[Aa][AX]
else
C5=B()
endif
else
By=B()
endif
endif
else
C5=B()
By=B()
endif
endfunc
func ARd()
if DB[Bn][Bw]>=BN
if nT
Bm=Bm*20
else
C5=C5*20
endif
endif
kk()
endfunc
func AZw()
if LH()
if LH()<AR
By=B()
Bt=B()
C4=C4*5
BW=BW*5
else
if OF
if PL
if A[Ax][Ao]
if A[Ab][Ap]
else
Bt=B()
By=B()
endif
else
Bt=B()
By=B()
endif
elif A[Ax][Ao]
else
Bt=B()
endif
else
By=B()
endif
endif
else
Bt=B()
By=B()
endif
endfunc
func AX1()
if DB[Bn][Bw]>=BN
if lb
Bt=Bt*20
else
C4=C4*20
endif
endif
kk()
endfunc
func AeT()
if LH()
if LH()<AR
BW=B()
Bm=B()
C5=C5*5
By=By*5
else
if OF
if Bw
if A[Av][AV]
if A[Aa][AX]
else
Bm=B()
BW=B()
endif
else
Bm=B()
BW=B()
endif
elif A[Av][AV]
else
Bm=B()
endif
else
BW=B()
endif
endif
else
Bm=B()
BW=B()
endif
endfunc
func kk()
if LH()
if AQc()
C4=C4*3
elif S[AX][Aa]
C4=B()
else
endif
if AcY()
C5=C5*3
elif S[Ap][Ab]
C5=B()
else
endif
if Ak2()
By=By*3
elif S[B2][Al]
By=B()
else
endif
if Amb()
Bt=Bt*3
elif S[AV][Av]
Bt=B()
else
endif
if AK2()
Bm=Bm*3
elif S[Ao][Ax]
Bm=B()
else
endif
if AJz()
BW=BW*3
elif S[A_][Ae]
BW=B()
else
endif
else
if S[AX][Aa]
if A[AX][Aa]
C4=C4/2
else
C4=C4*5/3
endif
endif
if S[Ap][Ab]
if A[Ap][Ab]
C5=C5/2
else
C5=C5*5/3
endif
endif
if S[B2][Al]
if A[B2][Al]
By=By/2
else
By=By*5/3
endif
endif
if S[AV][Av]
if A[AV][Av]
Bt=Bt/2
else
Bt=Bt*5/3
endif
endif
if S[Ao][Ax]
if A[Ao][Ax]
Bm=Bm/2
else
Bm=Bm*5/3
endif
endif
if S[A_][Ae]
if A[A_][Ae]
BW=BW/2
else
BW=BW*5/3
endif
endif
endif
endfunc
func ANz()
Wp()
uw=V[Bp][C0]
if S[Bp][C0]
Ap7()
elif ZZ==OD
AlQ()
elif Zz==O4
Ade()
elif ZZ==PP
AaL()
elif Zz==Pr
AUl()
else
kE()
endif
Wp()
endfunc
func Ap7()
if ZZ<OD
AHu()
elif ZZ>PP 
AS7()
elif Zz<Pr 
AmK()
elif Zz>O4 
AeY()
else
kE()
endif
endfunc
func AlQ()
if DB[Bp][C0]>=BN
if hL
C1=C1*20
else
Bk=Bk*20
endif
endif
kE()
endfunc
func AHu()
if LH()
if LH()<AR
BV=B()
C2=B()
Bs=Bs*5
Bx=Bx*5
else
if Bp
if C0
if A[Ac][Aq]
if A[As][An]
else
C2=B()
BV=B()
endif
else
C2=B()
BV=B()
endif
elif A[Ac][Aq]
else
C2=B()
endif
else
BV=B()
endif
endif
else
C2=B()
BV=B()
endif
endfunc
func Ade()
if DB[Bp][C0]>=BN
if np
C2=C2*20
else
Bs=Bs*20
endif
endif
kE()
endfunc
func AeY()
if LH()
if LH()<AR
Bx=B()
C1=B()
Bk=Bk*5
BV=BV*5
else
if Bp
if PR
if A[AZ][AS]
if A[Au][AT]
else
C1=B()
Bx=B()
endif
else
C1=B()
Bx=B()
endif
elif A[AZ][AS]
else
C1=B()
endif
else
Bx=B()
endif
endif
else
C1=B()
Bx=B()
endif
endfunc
func AaL()
if DB[Bp][C0]>=BN
if nT
Bk=Bk*20
else
C1=C1*20
endif
endif
kE()
endfunc
func AS7()
if LH()
if LH()<AR
Bx=B()
Bs=B()
C2=C2*5
BV=BV*5
else
if OR
if PR
if A[As][An]
if A[Ac][Aq]
else
Bs=B()
Bx=B()
endif
else
Bs=B()
Bx=B()
endif
elif A[As][An]
else
Bs=B()
endif
else
Bx=B()
endif
endif
else
Bs=B()
Bx=B()
endif
endfunc
func AUl()
if DB[Bp][C0]>=BN
if lb
Bs=Bs*20
else
C2=C2*20
endif
endif
kE()
endfunc
func AmK()
if LH()
if LH()<AR
BV=B()
Bk=B()
C1=C1*5
Bx=Bx*5
else
if OR
if C0
if A[Au][AT]
if A[AZ][AS]
else
Bk=B()
BV=B()
endif
else
Bk=B()
BV=B()
endif
elif A[Au][AT]
else
Bk=B()
endif
else
BV=B()
endif
endif
else
Bk=B()
BV=B()
endif
endfunc
func kE()
if LH()
if AZS()
C2=C2*3
elif S[AS][AZ]
C2=B()
else
endif
if AjR()
C1=C1*3
elif S[Aq][Ac]
C1=B()
else
endif
if AoK()
Bx=Bx*3
elif S[B1][Ah]
Bx=B()
else
endif
if AHv()
Bs=Bs*3
elif S[AT][Au]
Bs=B()
else
endif
if ANE()
Bk=Bk*3
elif S[An][As]
Bk=B()
else
endif
if AW5()
BV=BV*3
elif S[Az][Af]
BV=B()
else
endif
else
if S[AS][AZ]
if A[AS][AZ]
C2=C2/2
else
C2=C2*5/3
endif
endif
if S[Aq][Ac]
if A[Aq][Ac]
C1=C1/2
else
C1=C1*5/3
endif
endif
if S[B1][Ah]
if A[B1][Ah]
Bx=Bx/2
else
Bx=Bx*5/3
endif
endif
if S[AT][Au]
if A[AT][Au]
Bs=Bs/2
else
Bs=Bs*5/3
endif
endif
if S[An][As]
if A[An][As]
Bk=Bk/2
else
Bk=Bk*5/3
endif
endif
if S[Az][Af]
if A[Az][Af]
BV=BV/2
else
BV=BV*5/3
endif
endif
endif
endfunc
func LH()
return uw
endfunc
func AMD()
if A[AW][AY]
Lq=B()
if A[Cc][Cd]
Lq=Lq+1
elif S[Cc][Cd]
Lq=Lq+1
endif
if A[Eq][EO]
Lq=Lq+1
elif S[Eq][EO]
Lq=Lq+1
endif
if A[JR][JC]
Lq=Lq+1
elif S[JR][JC]
Lq=Lq+1
endif
if A[Wh][ZM]
Lq=Lq+1
elif S[Wh][ZM]
Lq=Lq+1
endif
if A[Jn][KB]
Lq=Lq+1
elif S[Jn][KB]
Lq=Lq+1
endif
if A[F5][Ec]
Lq=Lq+1
elif S[F5][Ec]
Lq=Lq+1
endif
if Lq>1
C3=C3/Lq
endif
else
Nc=A[Cc][Cd]
NL=A[Eq][EO]
NN=A[JR][JC]
NS=A[Wh][ZM]
NH=A[Jn][KB]
NJ=A[F5][Ec]
C3=OA(C3)
if A[Cc][Cd]
elif A[Ar][Ad]
if A[Ay][Am]
elif A[F5][Ec]
else
BX=BX*3/2
endif
elif A[Eq][EO]
elif A[Ay][Am]
C6=C6*3/2
endif
endif
endfunc
func Ad5()
if A[Ar][Ad]
Lw=B()
if A[EU][EC]
Lw=Lw+1
elif S[EU][EC]
Lw=Lw+1
endif
if A[Cr][Ch]
Lw=Lw+1
elif S[Cr][Ch]
Lw=Lw+1
endif
if A[Eb][Ew]
Lw=Lw+1
elif S[Eb][Ew]
Lw=Lw+1
endif
if A[Fx][KN]
Lw=Lw+1
elif S[Fx][KN]
Lw=Lw+1
endif
if A[Xq][a1]
Lw=Lw+1
elif S[Xq][a1]
Lw=Lw+1
endif
if A[Hd][Ho]
Lw=Lw+1
elif S[Hd][Ho]
Lw=Lw+1
endif
if Lw>1
C6=C6/Lw
endif
else
Nc=A[EU][EC]
NL=A[Cr][Ch]
NN=A[Eb][Ew]
NS=A[Fx][KN]
NH=A[Xq][a1]
NJ=A[Hd][Ho]
C6=OA(C6)
if A[Cr][Ch]
elif A[B0][Ak]
if A[AW][AY]
elif A[EU][EC]
else
C3=C3*3/2
endif
elif A[Eb][Ew]
elif A[AW][AY]
Bz=Bz*3/2
endif
endif
endfunc
func AHx()
if A[B0][Ak]
Lj=B()
if A[HH][Fq]
Lj=Lj+1
elif S[HH][Fq]
Lj=Lj+1
endif
if A[F1][ET]
Lj=Lj+1
elif S[F1][ET]
Lj=Lj+1
endif
if A[Cv][Cq]
Lj=Lj+1
elif S[Cv][Cq]
Lj=Lj+1
endif
if A[E6][FA]
Lj=Lj+1
elif S[E6][FA]
Lj=Lj+1
endif
if A[J6][KH]
Lj=Lj+1
elif S[J6][KH]
Lj=Lj+1
endif
if A[YT][Xt]
Lj=Lj+1
elif S[YT][Xt]
Lj=Lj+1
endif
if Lj>1
Bz=Bz/Lj
endif
else
Nc=A[HH][Fq]
NL=A[F1][ET]
NN=A[Cv][Cq]
NS=A[E6][FA]
NH=A[J6][KH]
NJ=A[YT][Xt]
Bz=OA(Bz)
if A[Cv][Cq]
elif A[AU][At]
if A[Ar][Ad]
elif A[F1][ET]
else
C6=C6*3/2
endif
elif A[E6][FA]
elif A[Ar][Ad]
Br=Br*3/2
endif
endif
endfunc
func AhZ()
if A[AU][At]
Ll=B()
if A[W9][WB]
Ll=Ll+1
elif S[W9][WB]
Ll=Ll+1
endif
if A[HZ][F_]
Ll=Ll+1
elif S[HZ][F_]
Ll=Ll+1
endif
if A[EZ][Eu]
Ll=Ll+1
elif S[EZ][Eu]
Ll=Ll+1
endif
if A[Cm][D9]
Ll=Ll+1
elif S[Cm][D9]
Ll=Ll+1
endif
if A[Ey][FJ]
Ll=Ll+1
elif S[Ey][FJ]
Ll=Ll+1
endif
if A[Jf][Hx]
Ll=Ll+1
elif S[Jf][Hx]
Ll=Ll+1
endif
if Ll>1
Br=Br/Ll
endif
else
Nc=A[W9][WB]
NL=A[HZ][F_]
NN=A[EZ][Eu]
NS=A[Cm][D9]
NH=A[Ey][FJ]
NJ=A[Jf][Hx]
Br=OA(Br)
if A[Cm][D9]
elif A[Aj][Aw]
if A[B0][Ak]
elif A[EZ][Eu]
else
Bz=Bz*3/2
endif
elif A[Ey][FJ]
elif A[B0][Ak]
Bl=Bl*3/2
endif
endif
endfunc
func AOT()
if A[Aj][Aw]
Lr=B()
if A[Ft][Fs]
Lr=Lr+1
elif S[Ft][Fs]
Lr=Lr+1
endif
if A[Xf][Wf]
Lr=Lr+1
elif S[Xf][Wf]
Lr=Lr+1
endif
if A[J8][JF]
Lr=Lr+1
elif S[J8][JF]
Lr=Lr+1
endif
if A[EM][F8]
Lr=Lr+1
elif S[EM][F8]
Lr=Lr+1
endif
if A[Cz][DA]
Lr=Lr+1
elif S[Cz][DA]
Lr=Lr+1
endif
if A[F0][El]
Lr=Lr+1
elif S[F0][El]
Lr=Lr+1
endif
if Lr>1
Bl=Bl/Lr
endif
else
Nc=A[Ft][Fs]
NL=A[Xf][Wf]
NN=A[J8][JF]
NS=A[EM][F8]
NH=A[Cz][DA]
NJ=A[F0][El]
Bl=OA(Bl)
if A[Cz][DA]
elif A[Ay][Am]
if A[AU][At]
elif A[EM][F8]
else
Br=Br*3/2
endif
elif A[F0][El]
elif A[AU][At]
BX=BX*3/2
endif
endif
endfunc
func AHS()
if A[Ay][Am]
Ly=B()
if A[ER][EF]
Ly=Ly+1
elif S[ER][EF]
Ly=Ly+1
endif
if A[JN][H6]
Ly=Ly+1
elif S[JN][H6]
Ly=Ly+1
endif
if A[Xb][XC]
Ly=Ly+1
elif S[Xb][XC]
Ly=Ly+1
endif
if A[Fy][KD]
Ly=Ly+1
elif S[Fy][KD]
Ly=Ly+1
endif
if A[Ee][FR]
Ly=Ly+1
elif S[Ee][FR]
Ly=Ly+1
endif
if A[Co][Cp]
Ly=Ly+1
elif S[Co][Cp]
Ly=Ly+1
endif
if Ly>1
BX=BX/Ly
endif
else
Nc=A[ER][EF]
NL=A[JN][H6]
NN=A[Xb][XC]
NS=A[Fy][KD]
NH=A[Ee][FR]
NJ=A[Co][Cp]
BX=OA(BX)
if A[Co][Cp]
elif A[AW][AY]
if A[Aj][Aw]
elif A[Ee][FR]
else
Bl=Bl*3/2
endif
elif A[ER][EF]
elif A[Aj][Aw]
C3=C3*3/2
endif
endif
endfunc
func AT6()
if Bo
if OK
if B_<1
elif Pa<1
else
AMD()
Ad5()
AHx()
AhZ()
AOT()
AHS()
endif
endif
endif
yH=BY[lq]
if Bu()>=400
if lq
if lq>=2
if BY[0]<BY[1]
_6()
else
ur()
endif
elif BY[0]<BY[1]
ur()
elif BY[0]==BY[1]
if B_<PF
ur()
else
tQ()
endif
else
tQ()
endif
elif BY[1]>BY[2]
_6()
else
tQ()
endif
endif
endfunc
func ur()
Bl=Bl*Bu()/150
BX=BX*Bu()/120
C3=C3*Bu()/150
endfunc
func tQ()
C6=C6*Bu()/150
Bz=Bz*Bu()/120
Br=Br*Bu()/150
endfunc
func _6()
if Bo<ZO
if B_<PF
if Bo<=Pn
C6=C6*Bu()/200
Bz=Bz*Bu()/120
Br=Br*Bu()/120
else
C6=C6*Bu()/120
Bz=Bz*Bu()/120
Br=Br*Bu()/200
endif
elif Bo<=Pn
Bl=Bl*Bu()/120
BX=BX*Bu()/120
C3=C3*Bu()/200
else
Bl=Bl*Bu()/200
BX=BX*Bu()/120
C3=C3*Bu()/120
endif
elif B_<PF
if Bo<Qc
C6=C6*Bu()/200
Bz=Bz*Bu()/120
Br=Br*Bu()/120
else
C6=C6*Bu()/120
Bz=Bz*Bu()/120
Br=Br*Bu()/200
endif
elif Bo<Qc
Bl=Bl*Bu()/120
BX=BX*Bu()/120
C3=C3*Bu()/200
else
Bl=Bl*Bu()/200
BX=BX*Bu()/120
C3=C3*Bu()/120
endif
endfunc
func AaJ()
if A[AX][Aa]
LZ=B()
if A[Ca][Cb]
LZ=LZ+1
elif S[Ca][Cb]
LZ=LZ+1
endif
if A[Ed][ES]
LZ=LZ+1
elif S[Ed][ES]
LZ=LZ+1
endif
if A[Jm][JO]
LZ=LZ+1
elif S[Jm][JO]
LZ=LZ+1
endif
if A[Wr][Zr]
LZ=LZ+1
elif S[Wr][Zr]
LZ=LZ+1
endif
if A[JU][KM]
LZ=LZ+1
elif S[JU][KM]
LZ=LZ+1
endif
if A[Ex][F4]
LZ=LZ+1
elif S[Ex][F4]
LZ=LZ+1
endif
if LZ>1
C4=C4/LZ
endif
else
Nc=A[Ca][Cb]
NL=A[Ed][ES]
NN=A[Jm][JO]
NS=A[Wr][Zr]
NH=A[JU][KM]
NJ=A[Ex][F4]
C4=OA(C4)
if A[Ca][Cb]
elif A[Ap][Ab]
if A[A_][Ae]
elif A[Ex][F4]
else
BW=BW*3/2
endif
elif A[Ed][ES]
elif A[A_][Ae]
C5=C5*3/2
endif
endif
endfunc
func AUQ()
if A[Ap][Ab]
Le=B()
if A[E8][EB]
Le=Le+1
elif S[E8][EB]
Le=Le+1
endif
if A[D2][CZ]
Le=Le+1
elif S[D2][CZ]
Le=Le+1
endif
if A[Ez][Ef]
Le=Le+1
elif S[Ez][Ef]
Le=Le+1
endif
if A[H9][KQ]
Le=Le+1
elif S[H9][KQ]
Le=Le+1
endif
if A[Y3][aC]
Le=Le+1
elif S[Y3][aC]
Le=Le+1
endif
if A[HP][Ja]
Le=Le+1
elif S[HP][Ja]
Le=Le+1
endif
if Le>1
C5=C5/Le
endif
else
Nc=A[E8][EB]
NL=A[D2][CZ]
NN=A[Ez][Ef]
NS=A[H9][KQ]
NH=A[Y3][aC]
NJ=A[HP][Ja]
C5=OA(C5)
if A[D2][CZ]
elif A[B2][Al]
if A[AX][Aa]
elif A[E8][EB]
else
C4=C4*3/2
endif
elif A[Ez][Ef]
elif A[AX][Aa]
By=By*3/2
endif
endif
endfunc
func Adu()
if A[B2][Al]
M8=B()
if A[H1][HF]
M8=M8+1
elif S[H1][HF]
M8=M8+1
endif
if A[EY][EQ]
M8=M8+1
elif S[EY][EQ]
M8=M8+1
endif
if A[Ct][Cy]
M8=M8+1
elif S[Ct][Cy]
M8=M8+1
endif
if A[EP][FF]
M8=M8+1
elif S[EP][FF]
M8=M8+1
endif
if A[Jv][KF]
M8=M8+1
elif S[Jv][KF]
M8=M8+1
endif
if A[XP][X4]
M8=M8+1
elif S[XP][X4]
M8=M8+1
endif
if M8>1
By=By/M8
endif
else
Nc=A[H1][HF]
NL=A[EY][EQ]
NN=A[Ct][Cy]
NS=A[EP][FF]
NH=A[Jv][KF]
NJ=A[XP][X4]
By=OA(By)
if A[Ct][Cy]
elif A[AV][Av]
if A[Ap][Ab]
elif A[EY][EQ]
else
C5=C5*3/2
endif
elif A[EP][FF]
elif A[Ap][Ab]
Bt=Bt*3/2
endif
endif
endfunc
func AZa()
if A[AV][Av]
Ls=B()
if A[Vc][W6]
Ls=Ls+1
elif S[Vc][W6]
Ls=Ls+1
endif
if A[HX][H8]
Ls=Ls+1
elif S[HX][H8]
Ls=Ls+1
endif
if A[F2][Eh]
Ls=Ls+1
elif S[F2][Eh]
Ls=Ls+1
endif
if A[Cl][DC]
Ls=Ls+1
elif S[Cl][DC]
Ls=Ls+1
endif
if A[Es][FM]
Ls=Ls+1
elif S[Es][FM]
Ls=Ls+1
endif
if A[J2][Hb]
Ls=Ls+1
elif S[J2][Hb]
Ls=Ls+1
endif
if Ls>1
Bt=Bt/Ls
endif
else
Nc=A[Vc][W6]
NL=A[HX][H8]
NN=A[F2][Eh]
NS=A[Cl][DC]
NH=A[Es][FM]
NJ=A[J2][Hb]
Bt=OA(Bt)
if A[Cl][DC]
elif A[Ao][Ax]
if A[B2][Al]
elif A[F2][Eh]
else
By=By*3/2
endif
elif A[Es][FM]
elif A[B2][Al]
Bm=Bm*3/2
endif
endif
endfunc
func Aa9()
if A[Ao][Ax]
M2=B()
if A[Fr][H7]
M2=M2+1
elif S[Fr][H7]
M2=M2+1
endif
if A[XM][Vq]
M2=M2+1
elif S[XM][Vq]
M2=M2+1
endif
if A[Jq][Jr]
M2=M2+1
elif S[Jq][Jr]
M2=M2+1
endif
if A[EJ][FH]
M2=M2+1
elif S[EJ][FH]
M2=M2+1
endif
if A[D1][D5]
M2=M2+1
elif S[D1][D5]
M2=M2+1
endif
if A[Eo][Ev]
M2=M2+1
elif S[Eo][Ev]
M2=M2+1
endif
if M2>1
Bm=Bm/M2
endif
else
Nc=A[Fr][H7]
NL=A[XM][Vq]
NN=A[Jq][Jr]
NS=A[EJ][FH]
NH=A[D1][D5]
NJ=A[Eo][Ev]
Bm=OA(Bm)
if A[D1][D5]
elif A[A_][Ae]
if A[AV][Av]
elif A[EJ][FH]
else
Bt=Bt*3/2
endif
elif A[Eo][Ev]
elif A[AV][Av]
BW=BW*3/2
endif
endif
endfunc
func Ap1()
if A[A_][Ae]
M7=B()
if A[E9][EV]
M7=M7+1
elif S[E9][EV]
M7=M7+1
endif
if A[Jz][H4]
M7=M7+1
elif S[Jz][H4]
M7=M7+1
endif
if A[Wu][XB]
M7=M7+1
elif S[Wu][XB]
M7=M7+1
endif
if A[HD][KC]
M7=M7+1
elif S[HD][KC]
M7=M7+1
endif
if A[F3][FE]
M7=M7+1
elif S[F3][FE]
M7=M7+1
endif
if A[D0][D3]
M7=M7+1
elif S[D0][D3]
M7=M7+1
endif
if M7>1
BW=BW/M7
endif
else
Nc=A[E9][EV]
NL=A[Jz][H4]
NN=A[Wu][XB]
NS=A[HD][KC]
NH=A[F3][FE]
NJ=A[D0][D3]
BW=OA(BW)
if A[D0][D3]
elif A[AX][Aa]
if A[Ao][Ax]
elif A[F3][FE]
else
Bm=Bm*3/2
endif
elif A[E9][EV]
elif A[Ao][Ax]
C4=C4*3/2
endif
endif
endfunc
func ATv()
if Bn
if OF
if Bw<1
elif PL<1
else
AaJ()
AUQ()
Adu()
AZa()
Aa9()
Ap1()
endif
endif
endif
yH=BY[mw]
if Bu()>=400
if mw
if mw>=2
if BY[0]<BY[1]
A5A()
else
x3()
endif
elif BY[0]<BY[1]
x3()
elif BY[0]==BY[1]
if Bw<PF
x3()
else
uv()
endif
else
uv()
endif
elif BY[1]>BY[2]
A5A()
else
uv()
endif
endif
endfunc
func x3()
Bm=Bm*Bu()/150
BW=BW*Bu()/120
C4=C4*Bu()/150
endfunc
func uv()
C5=C5*Bu()/150
By=By*Bu()/120
Bt=Bt*Bu()/150
endfunc
func A5A()
if Bn<ZO
if Bw<PF
if Bn<=Pn
C5=C5*Bu()/200
By=By*Bu()/120
Bt=Bt*Bu()/120
else
C5=C5*Bu()/120
By=By*Bu()/120
Bt=Bt*Bu()/200
endif
elif Bn<=Pn
Bm=Bm*Bu()/120
BW=BW*Bu()/120
C4=C4*Bu()/200
else
Bm=Bm*Bu()/200
BW=BW*Bu()/120
C4=C4*Bu()/120
endif
elif Bw<PF
if Bn<Qc
C5=C5*Bu()/200
By=By*Bu()/120
Bt=Bt*Bu()/120
else
C5=C5*Bu()/120
By=By*Bu()/120
Bt=Bt*Bu()/200
endif
elif Bn<Qc
Bm=Bm*Bu()/120
BW=BW*Bu()/120
C4=C4*Bu()/200
else
Bm=Bm*Bu()/200
BW=BW*Bu()/120
C4=C4*Bu()/120
endif
endfunc
func AhE()
if A[AS][AZ]
Ld=B()
if A[Ce][Cf]
Ld=Ld+1
elif S[Ce][Cf]
Ld=Ld+1
endif
if A[Ek][EK]
Ld=Ld+1
elif S[Ek][EK]
Ld=Ld+1
endif
if A[HR][Jp]
Ld=Ld+1
elif S[HR][Jp]
Ld=Ld+1
endif
if A[VY][Zw]
Ld=Ld+1
elif S[VY][Zw]
Ld=Ld+1
endif
if A[K5][KT]
Ld=Ld+1
elif S[K5][KT]
Ld=Ld+1
endif
if A[Ea][Er]
Ld=Ld+1
elif S[Ea][Er]
Ld=Ld+1
endif
if Ld>1
C2=C2/Ld
endif
else
Nc=A[Ce][Cf]
NL=A[Ek][EK]
NN=A[HR][Jp]
NS=A[VY][Zw]
NH=A[K5][KT]
NJ=A[Ea][Er]
C2=OA(C2)
if A[Ce][Cf]
elif A[Aq][Ac]
if A[Az][Af]
elif A[Ea][Er]
else
BV=BV*3/2
endif
elif A[Ek][EK]
elif A[Az][Af]
C1=C1*3/2
endif
endif
endfunc
func AL3()
if A[Aq][Ac]
M6=B()
if A[EN][EH]
M6=M6+1
elif S[EN][EH]
M6=M6+1
endif
if A[D4][Cj]
M6=M6+1
elif S[D4][Cj]
M6=M6+1
endif
if A[E_][Em]
M6=M6+1
elif S[E_][Em]
M6=M6+1
endif
if A[HE][KK]
M6=M6+1
elif S[HE][KK]
M6=M6+1
endif
if A[Wz][Z5]
M6=M6+1
elif S[Wz][Z5]
M6=M6+1
endif
if A[J5][JM]
M6=M6+1
elif S[J5][JM]
M6=M6+1
endif
if M6>1
C1=C1/M6
endif
else
Nc=A[EN][EH]
NL=A[D4][Cj]
NN=A[E_][Em]
NS=A[HE][KK]
NH=A[Wz][Z5]
NJ=A[J5][JM]
C1=OA(C1)
if A[D4][Cj]
elif A[B1][Ah]
if A[AS][AZ]
elif A[EN][EH]
else
C2=C2*3/2
endif
elif A[E_][Em]
elif A[AS][AZ]
Bx=Bx*3/2
endif
endif
endfunc
func ASh()
if A[B1][Ah]
M0=B()
if A[Fw][H3]
M0=M0+1
elif S[Fw][H3]
M0=M0+1
endif
if A[EW][EA]
M0=M0+1
elif S[EW][EA]
M0=M0+1
endif
if A[Cw][Cu]
M0=M0+1
elif S[Cw][Cu]
M0=M0+1
endif
if A[ED][F9]
M0=M0+1
elif S[ED][F9]
M0=M0+1
endif
if A[Hm][KU]
M0=M0+1
elif S[Hm][KU]
M0=M0+1
endif
if A[W_][YB]
M0=M0+1
elif S[W_][YB]
M0=M0+1
endif
if M0>1
Bx=Bx/M0
endif
else
Nc=A[Fw][H3]
NL=A[EW][EA]
NN=A[Cw][Cu]
NS=A[ED][F9]
NH=A[Hm][KU]
NJ=A[W_][YB]
Bx=OA(Bx)
if A[Cw][Cu]
elif A[AT][Au]
if A[Aq][Ac]
elif A[EW][EA]
else
C1=C1*3/2
endif
elif A[ED][F9]
elif A[Aq][Ac]
Bs=Bs*3/2
endif
endif
endfunc
func Amd()
if A[AT][Au]
M4=B()
if A[Vy][Wm]
M4=M4+1
elif S[Vy][Wm]
M4=M4+1
endif
if A[J7][Fv]
M4=M4+1
elif S[J7][Fv]
M4=M4+1
endif
if A[Et][En]
M4=M4+1
elif S[Et][En]
M4=M4+1
endif
if A[Ck][D8]
M4=M4+1
elif S[Ck][D8]
M4=M4+1
endif
if A[Ej][FK]
M4=M4+1
elif S[Ej][FK]
M4=M4+1
endif
if A[J9][HV]
M4=M4+1
elif S[J9][HV]
M4=M4+1
endif
if M4>1
Bs=Bs/M4
endif
else
Nc=A[Vy][Wm]
NL=A[J7][Fv]
NN=A[Et][En]
NS=A[Ck][D8]
NH=A[Ej][FK]
NJ=A[J9][HV]
Bs=OA(Bs)
if A[Ck][D8]
elif A[An][As]
if A[B1][Ah]
elif A[Et][En]
else
Bx=Bx*3/2
endif
elif A[Ej][FK]
elif A[B1][Ah]
Bk=Bk*3/2
endif
endif
endfunc
func AN3()
if A[An][As]
LV=B()
if A[H0][HC]
LV=LV+1
elif S[H0][HC]
LV=LV+1
endif
if A[XV][WL]
LV=LV+1
elif S[XV][WL]
LV=LV+1
endif
if A[HY][J3]
LV=LV+1
elif S[HY][J3]
LV=LV+1
endif
if A[E7][FD]
LV=LV+1
elif S[E7][FD]
LV=LV+1
endif
if A[Cx][D6]
LV=LV+1
elif S[Cx][D6]
LV=LV+1
endif
if A[F7][Ep]
LV=LV+1
elif S[F7][Ep]
LV=LV+1
endif
if LV>1
Bk=Bk/LV
endif
else
Nc=A[H0][HC]
NL=A[XV][WL]
NN=A[HY][J3]
NS=A[E7][FD]
NH=A[Cx][D6]
NJ=A[F7][Ep]
Bk=OA(Bk)
if A[Cx][D6]
elif A[Az][Af]
if A[AT][Au]
elif A[E7][FD]
else
Bs=Bs*3/2
endif
elif A[F7][Ep]
elif A[AT][Au]
BV=BV*3/2
endif
endif
endfunc
func AnS()
if A[Az][Af]
M5=B()
if A[EE][EL]
M5=M5+1
elif S[EE][EL]
M5=M5+1
endif
if A[JP][HA]
M5=M5+1
elif S[JP][HA]
M5=M5+1
endif
if A[XZ][Ym]
M5=M5+1
elif S[XZ][Ym]
M5=M5+1
endif
if A[H2][KY]
M5=M5+1
elif S[H2][KY]
M5=M5+1
endif
if A[EX][FL]
M5=M5+1
elif S[EX][FL]
M5=M5+1
endif
if A[Cs][C_]
M5=M5+1
elif S[Cs][C_]
M5=M5+1
endif
if M5>1
BV=BV/M5
endif
else
Nc=A[EE][EL]
NL=A[JP][HA]
NN=A[XZ][Ym]
NS=A[H2][KY]
NH=A[EX][FL]
NJ=A[Cs][C_]
BV=OA(BV)
if A[Cs][C_]
elif A[AS][AZ]
if A[An][As]
elif A[EX][FL]
else
Bk=Bk*3/2
endif
elif A[EE][EL]
elif A[An][As]
C2=C2*3/2
endif
endif
endfunc
func Ano()
if Bp
if OR
if C0<1
elif PR<1
else
AhE()
AL3()
ASh()
Amd()
AN3()
AnS()
endif
endif
endif
yH=BY[mO]
if Bu()>=400
if mO
if mO>=2
if BY[0]<BY[1]
yX()
else
wj()
endif
elif BY[0]<BY[1]
wj()
elif BY[0]==BY[1]
if C0<PF
wj()
else
sO()
endif
else
sO()
endif
elif BY[1]>BY[2]
yX()
else
sO()
endif
endif
endfunc
func wj()
Bk=Bk*Bu()/150
BV=BV*Bu()/120
C2=C2*Bu()/150
endfunc
func sO()
C1=C1*Bu()/150
Bx=Bx*Bu()/120
Bs=Bs*Bu()/150
endfunc
func yX()
if Bp<ZO
if C0<PF
if Bp<=Pn
C1=C1*Bu()/200
Bx=Bx*Bu()/120
Bs=Bs*Bu()/120
else
C1=C1*Bu()/120
Bx=Bx*Bu()/120
Bs=Bs*Bu()/200
endif
elif Bp<=Pn
Bk=Bk*Bu()/120
BV=BV*Bu()/120
C2=C2*Bu()/200
else
Bk=Bk*Bu()/200
BV=BV*Bu()/120
C2=C2*Bu()/120
endif
elif C0<PF
if Bp<Qc
C1=C1*Bu()/200
Bx=Bx*Bu()/120
Bs=Bs*Bu()/120
else
C1=C1*Bu()/120
Bx=Bx*Bu()/120
Bs=Bs*Bu()/200
endif
elif Bp<Qc
Bk=Bk*Bu()/120
BV=BV*Bu()/120
C2=C2*Bu()/200
else
Bk=Bk*Bu()/200
BV=BV*Bu()/120
C2=C2*Bu()/120
endif
endfunc
func B2d()
Nc=B()
endfunc
func B7N()
Nc=1
endfunc
func H5()
return Nc
endfunc
func B7x()
NL=B()
endfunc
func B1_()
NL=1
endfunc
func P2()
return NL
endfunc
func A_a()
NN=B()
endfunc
func Auz()
NN=1
endfunc
func Zv()
return NN
endfunc
func B9z()
NS=B()
endfunc
func B5n()
NS=1
endfunc
func rN()
return NS
endfunc
func Axz()
NH=B()
endfunc
func AsF()
NH=1
endfunc
func A4v()
return NH
endfunc
func Atx()
NJ=B()
endfunc
func ArB()
NJ=1
endfunc
func AKA()
return NJ
endfunc
func AJO()
AUB=AHM/(Db+1)
if BY[AUB]<=300
Z3=rp
elif AW0
if AW0>=2
if BY[0]<BY[1]
Z3=AJ/6
else
Z3=AJ*5/6
endif
elif BY[0]<BY[1]
Z3=AJ/6
else
Z3=PF
endif
elif BY[1]<=BY[2]
Z3=PF
else
Z3=AJ*5/6
endif
B8_=Z3-6
B7D=Z3+6
endfunc
func Bu()
return yH
endfunc
func OA(CX)
if AKA()
if A4v()
if rN()
if Zv()
if P2()
if H5()
return CX/6
endif
return CX/5
elif H5()
return CX/4
endif
return CX/4
elif P2()
if H5()
return CX/3
endif
return CX*2/3
elif H5()
return CX/3
endif
return CX/3
elif Zv()
if P2()
if H5()
return CX/3
endif
return CX*2/2
elif H5()
return CX*2/2
endif
return CX*2/2
elif P2()
if H5()
return CX/2
endif
return CX*2/2
elif H5()
return CX/2
endif
return CX/2
elif rN()
if Zv()
if P2()
if H5()
return CX/4
endif
return CX*2/3
elif H5()
return CX*2/2
endif
return CX*2/2
elif P2()
if H5()
return CX*2/2
endif
return CX*3
elif H5()
return CX*2
endif
return CX*2
elif Zv()
if P2()
if H5()
return CX/3
endif
return CX*2/2
elif H5()
return CX*2
endif
return CX*2
elif P2()
if H5()
return CX/2
endif
return CX*2
elif H5()
return CX
endif
return CX
elif A4v()
if rN()
if Zv()
if P2()
if H5()
return CX/5
endif
return CX/4
elif H5()
return CX*2/3
endif
return CX/3
elif P2()
if H5()
return CX*2/2
endif
return CX*2/2
elif H5()
return CX*2/2
endif
return CX/2
elif Zv()
if P2()
if H5()
return CX*2/3
endif
return CX*2/2
elif H5()
return CX*3
endif
return CX*2
elif P2()
if H5()
return CX*2/2
endif
return CX*2
elif H5()
return CX*2
endif
return CX
elif rN()
if Zv()
if P2()
if H5()
return CX/4
endif
return CX/3
elif H5()
return CX*2/2
endif
return CX/2
elif P2()
if H5()
return CX*2/2
endif
return CX*2
elif H5()
return CX*2
endif
return CX
elif Zv()
if P2()
if H5()
return CX/3
endif
return CX/2
elif H5()
return CX*2
endif
return CX
elif P2()
if H5()
return CX/2
endif
return CX
elif H5()
return CX
endif
return CX
endfunc
Aeu()
AC[B()]=AA
AJc()
Ap5()
AJO()
AC[1]=AA
AQd()
AT4()
if gb_agent_status(gb_team_id(),1)
else
AU_=B()
jU()
endif
AC[2]=AA
AdS()
AU4()
if gb_agent_status(gb_team_id(),2)
else
AKM=B()
h8()
endif
AC[3]=AA
AJ1()
ANz()
if gb_agent_status(gb_team_id(),3)
else
Aaz=B()
jb()
endif
gb_move(AC)
AbT()
if J[qr][p2]==1
C3=B()
endif
if J[oS][pW]==1
C6=B()
endif
if J[l2][lf]==1
Bz=B()
endif
if J[b1][ah]==1
Br=B()
endif
if J[UY][Um]==1
Bl=B()
endif
if J[O0][Ns]==1
BX=B()
endif
WH()
AT6()
WH()
AU_=1
Vn=b[1011]&7
if Vn<6
VE=B()
else
VE=(b[1011]-Vn)*2
endif
if gb_agent_status(gb_team_id(),1)
C3=B()
C6=B()
Bz=B()
Br=B()
Bl=B()
BX=B()
jU()
VE=VE|8
else
if b[1011]&8
if Vn==0
if gb_random_value(2)
C3=C3/400
endif
C6=C6*gb_random_value(100)
Bz=Bz*gb_random_value(100)
Br=Br*gb_random_value(100)
Bl=Bl*gb_random_value(100)
BX=BX*gb_random_value(100)
endif
if Vn==1
C3=C3*gb_random_value(100)
if gb_random_value(2)
C6=C6/400
endif
Bz=Bz*gb_random_value(100)
Br=Br*gb_random_value(100)
Bl=Bl*gb_random_value(100)
BX=BX*gb_random_value(100)
endif
if Vn==2
C3=C3*gb_random_value(100)
C6=C6*gb_random_value(100)
if gb_random_value(2)
Bz=Bz/400
endif
Br=Br*gb_random_value(100)
Bl=Bl*gb_random_value(100)
BX=BX*gb_random_value(100)
endif
if Vn==3
C3=C3*gb_random_value(100)
C6=C6*gb_random_value(100)
Bz=Bz*gb_random_value(100)
if gb_random_value(2)
Br=Br/400
endif
Bl=Bl*gb_random_value(100)
BX=BX*gb_random_value(100)
endif
if Vn==4
C3=C3*gb_random_value(100)
C6=C6*gb_random_value(100)
Bz=Bz*gb_random_value(100)
Br=Br*gb_random_value(100)
if gb_random_value(2)
Bl=Bl/400
endif
BX=BX*gb_random_value(100)
endif
if Vn==5
C3=C3*gb_random_value(100)
C6=C6*gb_random_value(100)
Bz=Bz*gb_random_value(100)
Br=Br*gb_random_value(100)
Bl=Bl*gb_random_value(100)
if gb_random_value(2)
BX=BX/400
endif
endif
endif
AC[1]=AA
AfK()
if AlM()
if TL>1
if TL<6
Dk=AH
endif
AE0()
else
AX6()
endif
else
AE0()
endif
if AC[1]==AA
if VE>=48
Aof()
if AC[1]==AA
VE=VE|8
else
VE=B()
endif
else
VE=VE|8
endif
else
VE=B()
endif
Vn=AC[1]&7
endif
gb_move(AC)
WH()
b[1011]=VE | Vn
if J[rR][qs]==1
C4=B()
endif
if J[qa][p9]==1
C5=B()
endif
if J[lx][nU]==1
By=B()
endif
if J[aW][dJ]==1
Bt=B()
endif
if J[UU][V2]==1
Bm=B()
endif
if J[Nt][Np]==1
BW=B()
endif
W8()
ATv()
W8()
AKM=1
WC=b[1012]&7
if WC<6
VV=B()
else
VV=(b[1012]-WC)*2
endif
if gb_agent_status(gb_team_id(),2)
C4=B()
C5=B()
By=B()
Bt=B()
Bm=B()
BW=B()
h8()
VV=VV|8
else
if b[1012]&8
if WC==0
if gb_random_value(2)
C4=C4/400
endif
C5=C5*gb_random_value(100)
By=By*gb_random_value(100)
Bt=Bt*gb_random_value(100)
Bm=Bm*gb_random_value(100)
BW=BW*gb_random_value(100)
endif
if WC==1
C4=C4*gb_random_value(100)
if gb_random_value(2)
C5=C5/400
endif
By=By*gb_random_value(100)
Bt=Bt*gb_random_value(100)
Bm=Bm*gb_random_value(100)
BW=BW*gb_random_value(100)
endif
if WC==2
C4=C4*gb_random_value(100)
C5=C5*gb_random_value(100)
if gb_random_value(2)
By=By/400
endif
Bt=Bt*gb_random_value(100)
Bm=Bm*gb_random_value(100)
BW=BW*gb_random_value(100)
endif
if WC==3
C4=C4*gb_random_value(100)
C5=C5*gb_random_value(100)
By=By*gb_random_value(100)
if gb_random_value(2)
Bt=Bt/400
endif
Bm=Bm*gb_random_value(100)
BW=BW*gb_random_value(100)
endif
if WC==4
C4=C4*gb_random_value(100)
C5=C5*gb_random_value(100)
By=By*gb_random_value(100)
Bt=Bt*gb_random_value(100)
if gb_random_value(2)
Bm=Bm/400
endif
BW=BW*gb_random_value(100)
endif
if WC==5
C4=C4*gb_random_value(100)
C5=C5*gb_random_value(100)
By=By*gb_random_value(100)
Bt=Bt*gb_random_value(100)
Bm=Bm*gb_random_value(100)
if gb_random_value(2)
BW=BW/400
endif
endif
endif
AC[2]=AA
AEv()
if Am2()
if T9>1
if T9<6
Df=AH
endif
A3H()
else
AdQ()
endif
else
A3H()
endif
if AC[2]==AA
if VV>=48
AaV()
if AC[2]==AA
VV=VV|8
else
VV=B()
endif
else
VV=VV|8
endif
else
VV=B()
endif
WC=AC[2]&7
endif
gb_move(AC)
W8()
b[1012]=VV | WC
if J[qY][oA]==1
C2=B()
endif
if J[qQ][oF]==1
C1=B()
endif
if J[nB][m4]==1
Bx=B()
endif
if J[cQ][bY]==1
Bs=B()
endif
if J[TQ][Tt]==1
Bk=B()
endif
if J[No][Nl]==1
BV=B()
endif
Wp()
Ano()
Wp()
Aaz=1
W0=b[1013]&7
if W0<6
Uh=B()
else
Uh=(b[1013]-W0)*2
endif
if gb_agent_status(gb_team_id(),3)
C2=B()
C1=B()
Bx=B()
Bs=B()
Bk=B()
BV=B()
jb()
Uh=Uh|8
else
if b[1013]&8
if W0==0
if gb_random_value(2)
C2=C2/400
endif
C1=C1*gb_random_value(100)
Bx=Bx*gb_random_value(100)
Bs=Bs*gb_random_value(100)
Bk=Bk*gb_random_value(100)
BV=BV*gb_random_value(100)
endif
if W0==1
C2=C2*gb_random_value(100)
if gb_random_value(2)
C1=C1/400
endif
Bx=Bx*gb_random_value(100)
Bs=Bs*gb_random_value(100)
Bk=Bk*gb_random_value(100)
BV=BV*gb_random_value(100)
endif
if W0==2
C2=C2*gb_random_value(100)
C1=C1*gb_random_value(100)
if gb_random_value(2)
Bx=Bx/400
endif
Bs=Bs*gb_random_value(100)
Bk=Bk*gb_random_value(100)
BV=BV*gb_random_value(100)
endif
if W0==3
C2=C2*gb_random_value(100)
C1=C1*gb_random_value(100)
Bx=Bx*gb_random_value(100)
if gb_random_value(2)
Bs=Bs/400
endif
Bk=Bk*gb_random_value(100)
BV=BV*gb_random_value(100)
endif
if W0==4
C2=C2*gb_random_value(100)
C1=C1*gb_random_value(100)
Bx=Bx*gb_random_value(100)
Bs=Bs*gb_random_value(100)
if gb_random_value(2)
Bk=Bk/400
endif
BV=BV*gb_random_value(100)
endif
if W0==5
C2=C2*gb_random_value(100)
C1=C1*gb_random_value(100)
Bx=Bx*gb_random_value(100)
Bs=Bs*gb_random_value(100)
Bk=Bk*gb_random_value(100)
if gb_random_value(2)
BV=BV/400
endif
endif
endif
AC[3]=AA
AWS()
if AXX()
if TA>1
if TA<6
Dj=AH
endif
ADh()
else
AE_()
endif
else
ADh()
endif
if AC[3]==AA
if Uh>=48
Am5()
if AC[3]==AA
Uh=Uh|8
else
Uh=B()
endif
else
Uh=Uh|8
endif
else
Uh=B()
endif
W0=AC[3]&7
endif
gb_move(AC)
Wp()
b[1013]=Uh | W0
APP()
gb_move(AC)
AK5()
Acr()
AR7()
Aa5()

