Dim d
d = Array(Array(200, 180, 160, 140, 125, 110, 100, 90, 80), Array(180, 162, 144, 126, 112, 99, 90, 81, 72), Array(160, 144, 128, 112, 100, 88, 80, 72, 64), Array(140, 126, 112, 98, 88, 77, 70, 63, 56), Array(120, 108, 96, 84, 75, 66, 60, 54, 48), Array(100, 90, 80, 70, 62, 55, 50, 45, 40), Array(80, 72, 64, 56, 50, 44, 40, 36, 32), Array(60, 54, 48, 42, 37, 33, 30, 27, 24), Array(40, 36, 32, 28, 25, 22, 20, 18, 16), Array(20, 18, 16, 14, 12, 11, 10, 9, 8), Array(0, 0, 0, 0, 0, 0, 0, 0, 0), Array(-20, -18, -16, -14, -12, -11, -10, -9, -8), Array(-40, -36, -32, -28, -25, -22, -20, -18, -16), Array(-60, -54, -48, -42, -37, -33, -30, -27, -24), Array(-80, -72, -64, -56, -50, -44, -40, -36, -32), Array(-120, -108, -96, -84, -75, -66, -60, -54, -48), Array(-160, -144, -128, -112, -100, -88, -80, -72, -64), Array(-200, -180, -160, -140, -125, -110, -100, -90, -80))
If m < 1.5 Then
If DB <= 12 Then
i = 8
ElseIf DB > 12 And DB <= 25 Then
i = 7
ElseIf DB > 25 And DB <= 50 Then
i = 6
ElseIf DB > 50 And DB <= 100 Then
i = 5
ElseIf DB > 100 And DB <= 200 Then
i = 4
ElseIf DB > 200 And DB <= 400 Then
i = 3
Else: i = 2
End If
ElseIf m > 1.5 And m <= 4 Then
If DB <= 12 Then
i = 7
ElseIf DB > 12 And DB <= 25 Then
i = 6
ElseIf DB > 25 And DB <= 50 Then
i = 5
ElseIf DB > 50 And DB <= 100 Then
i = 4
ElseIf DB > 100 And DB <= 200 Then
i = 3
ElseIf DB > 200 And DB <= 400 Then
i = 2
Else: i = 1
End If
Else
If DB <= 12 Then
i = 6
ElseIf DB > 12 And DB <= 25 Then
i = 5
ElseIf DB > 25 And DB <= 50 Then
i = 4
ElseIf DB > 50 And DB <= 100 Then
i = 3
ElseIf DB > 100 And DB <= 200 Then
i = 2
ElseIf DB > 200 And DB <= 400 Then
i = 1
Else: i = 0
End If
End If
If Pc = "v" Then
j = 0
ElseIf Pc = "u" Then
j = 1
ElseIf Pc = "t" Then
j = 2
ElseIf Pc = "s" Then
j = 3
ElseIf Pc = "r" Then
j = 4
ElseIf Pc = "p" Then
j = 5
ElseIf Pc = "n" Then
j = 6
ElseIf Pc = "m" Then
j = 7
ElseIf Pc = "k" Then
j = 8
ElseIf Pc = "j" Then
j = 9
ElseIf Pc = "h" Then
j = 10
ElseIf Pc = "g" Then
j = 11
ElseIf Pc = "f" Then
j = 12
ElseIf Pc = "e" Then
j = 13
ElseIf Pc = "d" Then
j = 14
ElseIf Pc = "c" Then
j = 15
ElseIf Pc = "b" Then
j = 16
Else: j = 17
End If
Print d(j)(i)
End Sub