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%Y%/%H%k!"9TNs$J$I!K!#(B
  $B#87n!#%5%V%k!<%A%s$rH<$&%W%m%0%i%`!#(B

$B!!!!!!!!!!!!L\<!(B
  $BBh#19V(B    $B$O$8$a$K(B            $B!!!!!!!!!!(B
  $BBh#29V(B    $BC<Kv$H%(%G%$%?$NMxMQK!(B        $B!?H>J,$OBh#39V(B
  $BBh#39V(B    Pascal $B%W%m%0%i%`$NFI$_J}(B     $B!?H>J,$OBh#29V(B
  $BBh#49V(B    Pascal $B%W%m%0%i%`$N=q$-J}F~Lg(B
  $B1i=,(B
$B!!Bh#59V(B    if $B7?;^J,$+$l(B
  $BBh#69V(B    for $B7?7+$jJV$7(B
  $BBh#79V(B    while $B7?7+$jJV$7(B 
  $B1i=,(B
$B!!Bh#89V(B    $BG[Ns(B
  $BBh#99V(B    $B%5%V%k!<%A%s(B
  $BBh#1#09V(B  $B%l%3!<%I$H%?%$%W@k8@J8(B
  $B1i=,(B
$B!!Bh#1#19V!!%U%!%$%k(B
$B!!Bh#1#29V(B  Hichart $BN.$l?^$H(BHiform$B;EMM=q$N$^$H$a(B
  $BBh#1#39V(B  $B%W%m%0%i%`M}O@$NOCBj$+$i(B
$B!!$^$H$a(B


$BBh#19V(B  $B$O$8$a$K(B
$B!y;29M=q(B
$B!!#1!%!N#P#a#s#c#a#l8@8l3X=,$N$?$a$K!O:Y0f!!JY!$EgED!!7/;^Cx!"!I#P#A#S#C#A#L$K$h(B
$B$k%W%m%0%i%_%s%0F~Lg!I!";:6H?^=q!"(B $B#1#9#8#1!%(B  
$B!!#2!%!N%Q%=%3%sMQ#P#a#s#c#a#l3X=,$H$=$N<B9TK!!O(B

$B!y@_Hw$K4X$9$k$3$H!#(B
$B!!#1!%7W;;5!@_CV8D=j$H%5!<%S%9FbMF(B
$B!!!!!!>pJs2J3X2J7W;;5!<<(B
$B!!!!!!!!!!#I#B#M#4#3#6#1$NMxMQ!J;H$$J}$O<x6H$G@bL@$9$k!K(B
         $B#I#B#M#5#5#5#0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!!!!!!!!!!!!!!!,&,8,$,$,$(B $B!!%a%b%j!<!!(B $B!!!!!!!!!!(B $B!!,&,8,$,$,$!!%a%b%j!<(B
$B!!!!!!!!!!!!!!!!,&,0,$,$,$,$,4#a!!!!!!!!!!!!!!!!!!!!(B $B,&,0,$,$,$,$,4(B
$B!!!!!!!!!!!!!!!!,&,@,$,$,$,$,H#b!!!!!!!!!!!!!!!!!!!!(B $B,8,`,$,$,$,$,H(B
$B!!!!!!!!!!!!!!!!,@,`,$,$,$,$,##c!!!!!!!!!!!!!!!!!!!!(B $B!!,@,$,$,$,$,H(B     
$B!!!!!!!!!!!!!!!!,&,@,$,$,$,$,H(B
$B!!!!!!!!!!!!!!!!,&,0,$,$,$,$,$,4(B
$B!!!!!!!!!!!!!!!!,8,H%W%m%0%i%`,&(B
$B!!!!!!!!!!!!!!!!!!,8,$,$,$,$,$,<(B
         $B#A!%<B:]$K6a$$9=@.!!(B             $B#B!%%W%m%0%i%^$+$i8+$?9=@.(B

$B!yNc#3!%#1!!#P#a#s#c#a#l%W%m%0%i%`$NNc(B
$B!!!!!\!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!\(B
$B!!(B1)$B!C!!#P#R#O#G#R#A#M!!#D#i#v#i#d#e!J#I#N#P#U#T!$#O#U#T#P#U#T!K!(!C(B
$B!!(B2)$B!C!!!!!!#V#A#R!!#a!$#b!$#c!'#I#N#T#E#G#E#R!((B                  $B!C(B
  3)$B!C!!(B    $B#B#E#G#I#N(B                                            $B!C(B
  4)$B!C!!(B      $B#a!!!'!a!!#6#0!((B                                    $B!C(B
$B!!(B5)$B!C!!(B  $B!!(B  $B#b!!!'!a!!#1#2#0!((B                                  $B!C(B
$B!!(B6)$B!C!!(B   $B!!(B $B#c!!!'!a!!#b!!#D#I#V!!#a!((B                          $B!C(B
$B!!(B7)$B!C!!(B   $B!!(B $B#W#R#I#T#E#L#N!!!J#c!K(B                             $B!C(B
$B!!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,$l(B

$B#5!%#1!!@)8fJ8(B
  $B<g$J@)8fJ8!'(Bif$B7?;^J,$+$l(B
              for $B7?7+$jJV$7(B
              while $B7?7+$jJV$7(B

$B#5!%#2!!#i#f7?;^J,$+$l(B
$B!yNc!%(Bif$BJ8$,I,MW$JNc(B
$B!!!!<!$N$h$&$JLdBj!!#P#r#o#b#A#b#s!!$r9M$($k!'(B
$B!!!!!{%G!<%?(B
$B!!!!!!!!F~NO!'#A(B
$B!!!!!!!!=PNO!',&#A,&(B
$B!!!!!{%"%k%4%j%:%`(B

$B!!!!!!!!!!!!!!!!!!!!!!!!(B    $B,$,$,4(B
$B!!!!!!!!,0,$,$,$,$,4!!,0(B $B!?(B A   $B,&(B
$B!!!!!!!!,&(BAlgAbs$B!!,@,$,H,$,P,$,$,<(B
$B!!!!!!!!,8,$,$,$,$,<!!,&!!"-!!!!!!!!(B
$B!!!!!!!!!!!!!!!!!!!!!!,&(B  $B,&(B                 $B,0,$,$,$,$,$(B
$B!!!!!!!!!!!!!!!!!!!!(B  $B,&(B  $B,&(B       $B!!(B    $B!!,0,&!!(BA    $B!?(B
$B!!!!!!!!!!!!!!!!!!!!(B  $B",!!,&(B      A $B!f(B 0 $B!!,&,8,$,P,$(B
$B!!!!!!!!!!!!!!!!!!!!!!,#,0,X,$,$(B   $B,0,$,$,$,$,$,#,<(B                     
$B!!!!!!!!!!!!!!!!!!!!!!,8,H(BA:0    $B!S,H(B  $B!!!!(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,8,$,$,$(B   $B,&(B  $B!!!!(B
$B!!!!!!!!!!!!!!!!!!(B                 $B,8,$,$,$,P,$,$,4!!(B 
$B!!!!!!(B             $B!!!!!!!!!!!!!!(B        $B!!",!!!!"-!!(BA < 0 
      $B!!(B                $B!!!!!!!!!!!!(B $B!!!!!!,&,0,$,X,$,$,$,4(B 
$B!!!!!!!!!!!!!!(B                      $B!!(B $B!!!!,&,&(BABS $B"+(B -A $B,&(B
              $B!!!!!!!!!!!!!!!!!!!!!!!!!!(B $B!!,&,8,$,P,$,$,$,<(B
$B!!!!!!!!!!!!!!(B                       $B!!!!!!,&!!!!"-(B
$B!!!!(B                        $B!!!!!!!!(B $B!!!!!!,&,0,$,X,$,$,$,$(B
$B!!!!!!!!!!!!(B                        $B!!(B $B!!!!,8,&(BABS      $B!?(B
$B!!!!!!(B                        $B!!!!!!!!!!(B $B!!(B  $B,#,$,$,$,$(B
                                                          $B""!!!!!!!!!!!!!!!!!!!!!!!!(B
$B#5!%#3(B  $B#i#f7?J,4tJ8(B
  $B>e$N5-9f(B

    $B!!(B $B,0,$,$(B
    $B!!(B $B,&(B     $B!S(B
       $B,8,$,$!!(B

$B$NLr3d$r$9$kJ8$,!I#i#fJ8!I$G$"$k!#(B

$B!yJ8K!!%(Bif$BJ8(B
$B!!!{7A<0!!(B(Syntax)
$B!!!!!!!!!!!G(Bif$BJ8!G$O(B
$B!!!!!!!!!!(B  $B!!(Bif $B&E(B then P 
$B!!!!!!!!!!!!!!!!!!(B  else Q $B!!!!!!!!!J#4!%#1!K(B
$B!!!!!!!!!!$N7A$NJ8;zNs$G$"$k!#$3$3$G(B $B&E(B $B$OO@M}<0!"(BP, Q $B$OJ8!#(B
$B!!!{0UL#!!(B(Semantics)
$B!!!!!!!!!!!!!!>e$N!J#4!%#1!K$O(B
$B!!!!!!!!!!!!!!!!!!!!!!!!!!"-!!!!!!#Y#E#S(B $B!!,0"*,4(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,0,X(B   $B,0,$,$,$,$,$,H!!#P(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,&&E(B $B!S,H!!!!!!!!!!,8"+,<(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,8,P(B   $B,&!!#N#O!!!!,0"*,4(B
$B!!!!!!!!!!!!!!!!!!!!!!!!!!"-!!(B $B,8,$,$,$,$,$,H!!#Q(B
$B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!(B $B!!!!!!!!,8"+,<(B
                                                         $B""(B

$B!yCm!%>e$N!J#4!%#1!K$G!!(Belse Q $B$r6uNs$G$*$-$+$($F$h$$!"B($A(B
$B!!!!!!!!(Bif $B&E!!(Bthen P 
$B!!!!!!$O(B
$B!!!!!!!!!!!!!!!!!!!!!!!!!!"-!!!!(B $B!!#Y#E#S(B  $B,0"*,4(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,0,X(B   $B,0,$,$,$,$,$,H!!#P(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,&&E(B $B!S,H!!(B  $B!!!!!!,8"+,<(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,8,P(B   $B,&(B  $B#N#O!!!!,0"*,4(B
$B!!!!!!!!!!!!!!!!!!!!!!!!!!"-(B $B!!,8,$,$,$,$,$,H!!,&(B
$B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!(B $B!!!!!!!!,8"+,<!!2?$b$7$J$$(B
  $BJ8(Bif $B&E(B then P $B$O<!$N$h$&$K$b$+$+$l$k!'(B
$B!!!!!!!!!!!!!!!!!!!!!!!!!!"-!!!!(B $B!!(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,0,X(B   $B,0"*,4(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,&&E(B $B!S,H!!#P(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,8,P(B   $B,8"+,<(B
$B!!!!!!!!!!!!!!!!!!!!!!!!!!"-(B 
$B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!(B
                         
$B!yNc!%#A#l#g#A#b#s$N(BPascal $B%W%m%0%i%`(B
      
    $B#P#R#O#G#R#A#M!!#P#A#b#s!!!J#I#N#P#U#T!$#O#U#T#P#U#T!K!((B
        $B#V#A#R!!#a!$#A#b#s!'#R#E#A#L!((B
        $B#B#E#G#I#N(B
          $B#R#E#A#D!J#a!K!((B
          $B#I#F!!#a!!!d!a!!#0!!#T#H#E#N!!#A#b#s!!!'!a!!#a!((B
                  $B!!!!!!!!!!!!#E#L#S#E!!#A#b#s!!!'!a!!!]#a!((B
         $B#W#R#I#T#E#L#N!!!J#A#b#s!K(B
        $B#E#N#D!%(B
                                    $B!!(B                      $B"#(B

$BBh#69V!!#f#o#r7?#d#oJ8(B

$B!c!c#f#o#r7?7+$jJV$7!d!d(B
$B<!$NLdBj$r9M$($k!'(B
$B!!(B
$B!yNc(B
  $B!{%G!<%?(B
$B!!!!F~NO!!#1#0%3$N?t(BX1$B!$(BX2$B!$(B... $B!$(BX10
$B!!!!!!!!!!!J#1%G!<%?!?#1%+!<%I!K(B
$B!!!!=PNO!!(BSUM $B"+(B X1 $B!\(B... $B!\(B X10

$B!!!!>e$NLdBj$ONc$($P<!$NN.$l?^(B SUM1 $B$K$h$j7W;;$5$l$k(B
$B!!!{%"%k%4%j%:%`(B  $B#A#l#g#S#u#m(B
 
$B!!!!!!!!!!!!!!(B              $B!!,0,$,$,$,$,$,4(B
$B!!!!!!!!!!!!!!(B          $B,0,$"*,H(BSUM $B"+(B 0  $B,&(B
$B!!!!!!!!!!!!!!(B          $B,&!!!!,8,$,P,$,$,$,<(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!!!(B    $B,X,$,4(B           
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!(B $B!!!?!!(BX$B!!,&(B             $B!@(B      
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!!!,$,$,P,$,<(B               $B,&(B $B!w(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!!!,0,$,X,$,$,$,$,$,4(B       $B,&(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!!!,&(BSUM $B"+(B SUM + X$B,&(B      $B!?(B
$B!!!!!!!!!!!!!!!!!!!!(B  $B!!,&!!!!,8,$,P,$,$,$,$,$,<(B
$B!!!!!!!!!!!!!!,0,$,$,$,4,&!!!!!!!!!&(B
$B!!!!!!!!!!!!!!,&(BSUM1  $B,@,H!!!!!!!!!&(B
$B!!!!!!!!!!!!!!,8,$,$,$,<,&!!!!!!!!!&(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!!!(B    $B,X,$,4(B              
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!(B $B!!!?!!(BX$B!!,&(B              $B!@(B        
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!!!,$,$,P,$,<(B               $B,&(B $B!w(B      
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!!!,0,$,X,$,$,#,$,$,4(B       $B,&(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!!!,&(BSUM $B"+(B SUM + X$B,&(B      $B!?,!(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!!!,8,$,P,$,$,$,$,$,<(B
  $B!!!!!!!!!!!!!!!!!!!!!!,&!!!!,0,$,X,$,$,$(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!!!,&(BSUM    $B!?(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,&!!(B  $B,8,$,P,$(B
$B!!!!!!!!!!!!!!!!!!!!!!!!,8,$"+,$,$,<(B
$B!!(B
                                                             
$B!!>e$N(BSUM1$B$N7+$jJV$7ItJ,!w$r2<$N$h$&$J?^$GI=8=$9$k$3$H$r9M$($k!'(B
$B!y%"%k%4%j%:%`(B $B#A#l#g#S#u#m#F#o#r!%(B

$B!!!!!!!!!!(B       $B!!(B $B!!!!,0,$,#,$,$!],4!!!!!!!!!!(B    $B,$,$,$,4(B            
$B!!!!!!!!!!(B          $B,0"*,H(BSUM $B"+(B 0  $B,&!!!!!!,0"*(B $B!?!!(BX  $B!!,&(B
$B!!!!!!!!(B            $B,&!!,8,$,$,P,$,$,<!!!!!!,&!!,$,$,P,$,$,<(B
$B!!!!!!!!!!,0,$,$,$,4,&!!,0,$,$,X,$,$,$,$,P,4,&!!,0,$,X,$,$,$,$,$,4(B
$B!!!!!!!!!!,&(BSUM1F $B,@,H(B  $B,&#1#02s7+$jJV$9,&,@,X"+,H(BSUM $B"+(B SUM + X$B,&(B
$B!!!!!!!!!!,8,$,$,$,<,&!!,8,$,$,P,$,$,$,$,X,<!!!!,8,$,$,$,$,$,$,$,<(B
$B!!!!!!!!!!(B          $B,&!!,#,$,$,X,$,$,$(B
$B!!!!!!!!!!(B          $B,&!!,&(BSUM      $B!?(B
$B!!!!!!!!!!(B          $B,&!!,8,$,$,P,$(B
$B!!!!!!!!!!!!!!!!!!(B  $B,8"+,$,$,$,<(B
                                                                      $B""(B

$B!c!c#f#o#r7?#d#oJ8!d!d(B
$B!!>e$N5-9f(B

        $B,0,X,P,4(B
$B!!!!(B    $B,&!!,&,@(B
    $B!!!!,8,P,X,<(B

$B$KAjEv$9$k5!G=$,!G(Bfor $B7?7+$jJV$7!G$G$"$k!#(BPascal$B$G$O!I(Bfor$B7?(Bdo$BJ8!I$K$h$j<B8=$5$l$k!#>e$N(B SUM1F $B$N(BPascal $B%W%m%0%i%`$O0J2<$NDL$j!'(B

$B!yNc(B
$B!!!!#P#R#O#G#R#A#M!!#P#S#u#m#F#o#r!J#I#N#P#U#T!$#O#U#T#P#U#T!K!((B
        $B#V#A#R!!#x!$#S#u#m!'#R#E#A#L!((B
            $B#B#E#G#I#N(B
                $B#S#u#m!'!a#0!((B
$B!!!!!!!!!!!!!!!!#F#O#R!!#I!a#1!!#T#O!!#1#0!!#D#O(B
                  $B!!#B#E#G#I#N!!#R#E#A#D!J#x!K!((B
                      $B!!#S#u#m!'!a#S#u#m!\#x!((B
                  $B!!#E#N#D!((B
                $B#W#R#I#T#E#L#N!J#S#u#m!K(B
             $B#E#N#D!%(B
                                                            $B"#(B

$B!yJ8K!!%!G(Bfor$B7?(Bdo$BJ8!G$O<!$GDj$a$i$l$k!'(B
$B!!!{7A<0!'(Bfor$B!!JQ?t!a=i4|CM!!(Bto$B!!:G=*CM(B do $BJ8(B 
  $B!{0UL#!'>e$NDL$j(B
                                                            $B"#(B

$B!yCm!%>e$NJQ?t$r!G@)8fJQ?t!G$H$$$$!J#P#S#u#m#F#o#r$G$O(BI $B!K!"$=$NCM$O#12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!!!!!!!!!,8,$,$,$(B

$B!}#w#h#i#l#e7?#d#oJ8(B
$B!!>e$N5-9f(B

  $B!!!!!!!!,0,X,$,$,$,4(B
$B!!(B  $B!!!!!!,&(B      $B,0,H(B
$B!!!!!!!!!!,&(B      $B,&,@(B
$B!!!!!!!!!!,8,P,$,$,X,<(B

$B$KAjEv$9$k5!G=$r!GA0H=Dj7?7+$jJV$7!G$H$$$&!#(BPascal $B$G$O!I(Bwhile $B7?(Bdo $BJ8!I$K$h$j<B(B
$B8=$5$l$F$$$k!#(B 

$B!yNc!%#A#l#g#S#u#m#W#h$KBP$9$k(BPascal $B%W%m%0%i%`$NNc(B

$B!!!!#P#R#O#G#R#A#M!!#A#l#g#S#u#m#W#h!J#I#N#P#U#T!$#O#U#T#P#U#T!K!((B
      $B#V#A#R!!#x!$#S#u#m!'#R#E#A#L!((B
      $B!!#B#E#G#I#N!!#R#E#A#D!J#x!K!((B
          $B#S#u#m!'!a#x!((B
$B!!!!!!!!!!#W#H#I#L#E!!#x!c!d#0!%!!#D#O(B
          $B!!#B#E#G#I#N!!(B
$B!!!!!!!!!!!!!!#R#E#A#D!J#x!K!((B
            $B!!#S#u#m!'!a#S#u#m!\#x(B
          $B!!#E#N#D!((B
           $B#W#R#I#T#E#L#N!J#S#u#m!K(B
         $B#E#N#D!%(B

                                                   $B""(B
     
$B!yJ8K!!!!G(Bwhile $B7?(Bdo$BJ8!G$O0J2<$GDj$a$i$l$kJ8;zNs$G$"$k(B
$B!!!{7A<0!'#w#h#i#l#e(B  $BO@M}<0(B  $B#D#O!!J8!!!!!!!!!!!!(B
$B!!!{0UL#!'>e$NDL$j(B                                   $B""(B

$B+vM}O@!J7W;;O@!K+w(B
$B!yDjM}!%2C8:>h=|BeF~J8$H(Bwhile $B7?(Bdo $BJ8$G5-=R2DG=$J<+A3?t>e$N4X?t$NB2$O!I5"G<E*4X(B
$B?t!I$NB2$H0lCW$9$k!#""(B

$B!yDjM}!!<!$N4X?t#f$,B8:_$9$k(B
$B!!!!,0,$,$,$,$,$,$,$,$,$,$,4(B
$B!!!!,&,0,$,$,$,$,$,$,$,$,4,&(B
$B!!!!!C,&!!!!!_(B $B#f(B $B!!!!!!,`,`,$#A#c#k#e#r#m#a#n4X?t$H$$$&!!#1#9#3#0!G#S(B
$B!!!!,&,&,0,$,$,$,$,$,$,4,&,&(B
$B!!!!,&,&,&!!!!!!!!!!!!,`,#,`,$(Bif$BJ8$H(Bfor$B7?(Bdo$BJ8$G5-=R2DG=$J4X?tA4BN(B       
$B!!!!,&,&,8,$,$,$,$,$,$,<,&,&(B
$B!!!!,&,&!!!!!!!!!!!!!!!!,`,`,$(Bwhile $B7?(Bdo$BJ8$G5-=R2DG=$J4X?tA4BN(B
$B!!!!,&,8,$,$,$,$,$,$,$,$,<,&(B
    $B,&(B                    $B,`,$<+A3?t>e$N4X?tA4BN(B        
$B!!!!,#,$,$,$,$,$,$,$,$,$,$,<(B

$B!{>ZL@$N@bL@(B
  $B<!$N4X?t$r9M$($l$P$h$$!#(B
        $B!?(BAck(O, n)     =def= n + 1 
       $B,&(B Ack(m + 1, 0) =def= Ack(m, 1)
        $B!@(BAck(m+1, n+1) =def= Ack(m, Ack(m+1, n))
                                                 Q.E.D. 

                                                            $B""(B

$B!yCm!%(B
   Ack(1, n) = n + 2
   Ack(2, n) = 2n + 3
   Ack(3, n) = 2 $B",(B (n + 3) - 3
   Ack(4, n) = 2 $B",(B ... $B",(B 2 (n + 3 times) - 3
   Ack(5, n) = 2 $B",(B ... $B",(B 2 (2 $B",(B ... $B",(B 2 (n + 3 times) times) - 3
      ...
   Ack(5, 1) = 2 $B",(B ... $B",(B 2 (2$B",(B2$B",(B2$B",(B2 times) - 3
             = 2 $B",(B ... $B",(B 2 (65536 times) - 3
 
  $B$3$3$G(B 2 $B",(B 2 $B",(B 2 = 2 $B",(B (2 $B",(B 2)                        $B""(B
$BBh#89V!!G[Ns=hM}7O(B

$B!c!c$O$8$a$K!d!d(B
$B!!Bh#79V$^$G(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