my $a=10;
my $b=20;
my $c=30;
my $d=10;
my $e=5;
my $f=5;
my $g=5;
my $h=15;
my $a12=4;
my $a13=9;
my $a1 = (($a13/$a12), 9)[($a13/$a12) > 9];
my $a23 = ($a1, 0.111)[$a1 < 0.111];
my $a21 = 1/$a12;
my $a31 = 1/$a13;
my $a32 = 1/$a23;
my $ta1 = ((1/(1+$a21+$a31))+($a12/($a12+1+$a32))+($a13/($a13+$a23+1)))/3;
my $ta2 = (($a21/(1+$a21+$a31))+(1/($a12+1+$a32))+($a23/($a13+$a23+1)))/3;
my $ta3 = (($a31/(1+$a21+$a31))+($a32/($a12+1+$a32))+(1/($a13+$a23+1)))/3;
my $b12=4;
my $b13=9;
my $b1 = (($b13/$b12), 9)[($b13/$b12) > 9];
my $b23 = ($b1, 0.111)[$b1 < 0.111];
my $b21 = 1/$b12;
my $b31 = 1/$b13;
my $b32 = 1/$b23;
my $tb1 = ((1/(1+$b21+$b31))+($b12/($b12+1+$b32))+($b13/($b13+$b23+1)))/3;
my $tb2 = (($b21/(1+$b21+$b31))+(1/($b12+1+$b32))+($b23/($b13+$b23+1)))/3;
my $tb3 = (($b31/(1+$b21+$b31))+($b32/($b12+1+$b32))+(1/($b13+$b23+1)))/3;
my $c12=4;
my $c13=9;
my $c1 = (($c13/$c12), 9)[($c13/$c12) > 9];
my $c23 = ($c1, 0.111)[$c1 < 0.111];
my $c21 = 1/$c12;
my $c31 = 1/$c13;
my $c32 = 1/$c23;
my $tc1 = ((1/(1+$c21+$c31))+($c12/($c12+1+$c32))+($c13/($c13+$c23+1)))/3;
my $tc2 = (($c21/(1+$c21+$c31))+(1/($c12+1+$c32))+($c23/($c13+$c23+1)))/3;
my $tc3 = (($c31/(1+$c21+$c31))+($c32/($c12+1+$c32))+(1/($c13+$c23+1)))/3;
my $d12=4;
my $d13=9;
my $d1 = (($d13/$d12), 9)[($d13/$d12) > 9];
my $d23 = ($d1, 0.111)[$d1 < 0.111];
my $d21 = 1/$d12;
my $d31 = 1/$d13;
my $d32 = 1/$d23;
my $td1 = ((1/(1+$d21+$d31))+($d12/($d12+1+$d32))+($d13/($d13+$d23+1)))/3;
my $td2 = (($d21/(1+$d21+$d31))+(1/($d12+1+$d32))+($d23/($d13+$d23+1)))/3;
my $td3 = (($d31/(1+$d21+$d31))+($d32/($d12+1+$d32))+(1/($d13+$d23+1)))/3;
my $e12=4;
my $e13=9;
my $e1 = (($e13/$e12), 9)[($e13/$e12) > 9];
my $e23 = ($e1, 0.111)[$e1 < 0.111];
my $e21 = 1/$e12;
my $e31 = 1/$e13;
my $e32 = 1/$e23;
my $te1 = ((1/(1+$e21+$e31))+($e12/($e12+1+$e32))+($e13/($e13+$e23+1)))/3;
my $te2 = (($e21/(1+$e21+$e31))+(1/($e12+1+$e32))+($e23/($e13+$e23+1)))/3;
my $te3 = (($e31/(1+$e21+$e31))+($e32/($e12+1+$e32))+(1/($e13+$e23+1)))/3;
my $f12=4;
my $f13=9;
my $f1 = (($f13/$f12), 9)[($f13/$f12) > 9];
my $f23 = ($f1, 0.111)[$f1 < 0.111];
my $f21 = 1/$f12;
my $f31 = 1/$f13;
my $f32 = 1/$f23;
my $tf1 = ((1/(1+$f21+$f31))+($f12/($f12+1+$f32))+($f13/($f13+$f23+1)))/3;
my $tf2 = (($f21/(1+$f21+$f31))+(1/($f12+1+$f32))+($f23/($f13+$f23+1)))/3;
my $tf3 = (($f31/(1+$f21+$f31))+($f32/($f12+1+$f32))+(1/($f13+$f23+1)))/3;
my $g12=4;
my $g13=9;
my $g1 = (($g13/$g12), 9)[($g13/$g12) > 9];
my $g23 = ($g1, 0.111)[$g1 < 0.111];
my $g21 = 1/$g12;
my $g31 = 1/$g13;
my $g32 = 1/$g23;
my $tg1 = ((1/(1+$g21+$g31))+($g12/($g12+1+$g32))+($g13/($g13+$g23+1)))/3;
my $tg2 = (($g21/(1+$g21+$g31))+(1/($g12+1+$g32))+($g23/($g13+$g23+1)))/3;
my $tg3 = (($g31/(1+$g21+$g31))+($g32/($g12+1+$g32))+(1/($g13+$g23+1)))/3;
my $calcs=$a*$ta1+$b*$tb1+$c*$tc1+$d*$td1+$e*$te1+$f*$tf1+$g*$tg1;
my $c2=0;
if ($calcs<=60)
{
my $c2="ghhggh";
}
else
{
my $c2="*";
}