diff --git "a/mult_test.csv" "b/mult_test.csv" new file mode 100644--- /dev/null +++ "b/mult_test.csv" @@ -0,0 +1,12194 @@ +description,result,ground_truth +multiplying 395703 by 9: 395703*9= ,"carry=0 +digit 1 of 395703 is 3 +multiply digit 1 of 395703 which is 3 by 9: temp_mult=3*9=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+27=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result= +the result of the concatenation is 7 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 395703 is 0 +multiply digit 2 of 395703 which is 0 by 9: temp_mult=0*9=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7 + +the result of the concatenation is 27 +carry=0 +digit 3 of 395703 is 7 +multiply digit 3 of 395703 which is 7 by 9: temp_mult=7*9=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+63=63 +compare the addition result to 10: temp_add=63>=10 +the first digit of temp_add=63 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=27 +the result of the concatenation is 327 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 4 of 395703 is 5 +multiply digit 4 of 395703 which is 5 by 9: temp_mult=5*9=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+45=51 +compare the addition result to 10: temp_add=51>=10 +the first digit of temp_add=51 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=327 +the result of the concatenation is 1327 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 395703 is 9 +multiply digit 5 of 395703 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+81=86 +compare the addition result to 10: temp_add=86>=10 +the first digit of temp_add=86 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=1327 +the result of the concatenation is 61327 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +carry=8 +digit 6 of 395703 is 3 +multiply digit 6 of 395703 which is 3 by 9: temp_mult=3*9=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=8+27=35 +compare the addition result to 10: temp_add=35>=10 +the first digit of temp_add=35 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=61327 +the result of the concatenation is 561327 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 561327 +the result of the concatenation is 3561327 +the final_result is 3561327 +",3561327 +multiplying 144639 by 9: 144639*9= ,"carry=0 +digit 1 of 144639 is 9 +multiply digit 1 of 144639 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+81=81 +compare the addition result to 10: temp_add=81>=10 +the first digit of temp_add=81 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result= +the result of the concatenation is 1 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +carry=8 +digit 2 of 144639 is 3 +multiply digit 2 of 144639 which is 3 by 9: temp_mult=3*9=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=8+27=35 +compare the addition result to 10: temp_add=35>=10 +the first digit of temp_add=35 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=1 +the result of the concatenation is 51 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 144639 is 6 +multiply digit 3 of 144639 which is 6 by 9: temp_mult=6*9=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+54=57 +compare the addition result to 10: temp_add=57>=10 +the first digit of temp_add=57 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=51 +the result of the concatenation is 751 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 4 of 144639 is 4 +multiply digit 4 of 144639 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+36=41 +compare the addition result to 10: temp_add=41>=10 +the first digit of temp_add=41 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=751 +the result of the concatenation is 1751 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 144639 is 4 +multiply digit 5 of 144639 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+36=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=1751 +the result of the concatenation is 01751 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 144639 is 1 +multiply digit 6 of 144639 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+9=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=01751 +the result of the concatenation is 301751 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 301751 +the result of the concatenation is 1301751 +the final_result is 1301751 +",1301751 +multiplying 902683 by 3: 902683*3= ,"carry=0 +digit 1 of 902683 is 3 +multiply digit 1 of 902683 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 9 +carry=0 +digit 2 of 902683 is 8 +multiply digit 2 of 902683 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=9 +the result of the concatenation is 49 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 902683 is 6 +multiply digit 3 of 902683 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+18=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=49 +the result of the concatenation is 049 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 902683 is 2 +multiply digit 4 of 902683 which is 2 by 3: temp_mult=2*3=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+6=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=049 + +the result of the concatenation is 8049 +carry=0 +digit 5 of 902683 is 0 +multiply digit 5 of 902683 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8049 + +the result of the concatenation is 08049 +carry=0 +digit 6 of 902683 is 9 +multiply digit 6 of 902683 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+27=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=08049 +the result of the concatenation is 708049 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 708049 +the result of the concatenation is 2708049 +the final_result is 2708049 +",2708049 +multiplying 335923 by 7: 335923*7= ,"carry=0 +digit 1 of 335923 is 3 +multiply digit 1 of 335923 which is 3 by 7: temp_mult=3*7=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+21=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result= +the result of the concatenation is 1 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 335923 is 2 +multiply digit 2 of 335923 which is 2 by 7: temp_mult=2*7=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+14=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=1 +the result of the concatenation is 61 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 335923 is 9 +multiply digit 3 of 335923 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+63=64 +compare the addition result to 10: temp_add=64>=10 +the first digit of temp_add=64 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=61 +the result of the concatenation is 461 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 4 of 335923 is 5 +multiply digit 4 of 335923 which is 5 by 7: temp_mult=5*7=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+35=41 +compare the addition result to 10: temp_add=41>=10 +the first digit of temp_add=41 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=461 +the result of the concatenation is 1461 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 335923 is 3 +multiply digit 5 of 335923 which is 3 by 7: temp_mult=3*7=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+21=25 +compare the addition result to 10: temp_add=25>=10 +the first digit of temp_add=25 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=1461 +the result of the concatenation is 51461 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 335923 is 3 +multiply digit 6 of 335923 which is 3 by 7: temp_mult=3*7=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+21=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=51461 +the result of the concatenation is 351461 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 351461 +the result of the concatenation is 2351461 +the final_result is 2351461 +",2351461 +multiplying 104730 by 7: 104730*7= ,"carry=0 +digit 1 of 104730 is 0 +multiply digit 1 of 104730 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 104730 is 3 +multiply digit 2 of 104730 which is 3 by 7: temp_mult=3*7=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+21=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=0 +the result of the concatenation is 10 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 104730 is 7 +multiply digit 3 of 104730 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+49=51 +compare the addition result to 10: temp_add=51>=10 +the first digit of temp_add=51 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=10 +the result of the concatenation is 110 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 4 of 104730 is 4 +multiply digit 4 of 104730 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+28=33 +compare the addition result to 10: temp_add=33>=10 +the first digit of temp_add=33 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=110 +the result of the concatenation is 3110 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 104730 is 0 +multiply digit 5 of 104730 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+0=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=3110 + +the result of the concatenation is 33110 +carry=0 +digit 6 of 104730 is 1 +multiply digit 6 of 104730 which is 1 by 7: temp_mult=1*7=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=33110 + +the result of the concatenation is 733110 +the final_result is 733110 +",733110 +multiplying 806574 by 7: 806574*7= ,"carry=0 +digit 1 of 806574 is 4 +multiply digit 1 of 806574 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+28=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 806574 is 7 +multiply digit 2 of 806574 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+49=51 +compare the addition result to 10: temp_add=51>=10 +the first digit of temp_add=51 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=8 +the result of the concatenation is 18 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 3 of 806574 is 5 +multiply digit 3 of 806574 which is 5 by 7: temp_mult=5*7=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+35=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=18 +the result of the concatenation is 018 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 806574 is 6 +multiply digit 4 of 806574 which is 6 by 7: temp_mult=6*7=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+42=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=018 +the result of the concatenation is 6018 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 806574 is 0 +multiply digit 5 of 806574 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+0=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6018 + +the result of the concatenation is 46018 +carry=0 +digit 6 of 806574 is 8 +multiply digit 6 of 806574 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+56=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=46018 +the result of the concatenation is 646018 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +final carry=5>0 +the final carry which is 5 is concatenated to the left of the final result which is 646018 +the result of the concatenation is 5646018 +the final_result is 5646018 +",5646018 +multiplying 778483 by 6: 778483*6= ,"carry=0 +digit 1 of 778483 is 3 +multiply digit 1 of 778483 which is 3 by 6: temp_mult=3*6=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 778483 is 8 +multiply digit 2 of 778483 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+48=49 +compare the addition result to 10: temp_add=49>=10 +the first digit of temp_add=49 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=8 +the result of the concatenation is 98 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 778483 is 4 +multiply digit 3 of 778483 which is 4 by 6: temp_mult=4*6=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+24=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=98 +the result of the concatenation is 898 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 778483 is 8 +multiply digit 4 of 778483 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+48=50 +compare the addition result to 10: temp_add=50>=10 +the first digit of temp_add=50 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=898 +the result of the concatenation is 0898 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 778483 is 7 +multiply digit 5 of 778483 which is 7 by 6: temp_mult=7*6=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+42=47 +compare the addition result to 10: temp_add=47>=10 +the first digit of temp_add=47 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=0898 +the result of the concatenation is 70898 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 778483 is 7 +multiply digit 6 of 778483 which is 7 by 6: temp_mult=7*6=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+42=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=70898 +the result of the concatenation is 670898 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 670898 +the result of the concatenation is 4670898 +the final_result is 4670898 +",4670898 +multiplying 456825 by 6: 456825*6= ,"carry=0 +digit 1 of 456825 is 5 +multiply digit 1 of 456825 which is 5 by 6: temp_mult=5*6=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+30=30 +compare the addition result to 10: temp_add=30>=10 +the first digit of temp_add=30 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 456825 is 2 +multiply digit 2 of 456825 which is 2 by 6: temp_mult=2*6=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+12=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=0 +the result of the concatenation is 50 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 456825 is 8 +multiply digit 3 of 456825 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+48=49 +compare the addition result to 10: temp_add=49>=10 +the first digit of temp_add=49 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=50 +the result of the concatenation is 950 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 456825 is 6 +multiply digit 4 of 456825 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+36=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=950 +the result of the concatenation is 0950 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 456825 is 5 +multiply digit 5 of 456825 which is 5 by 6: temp_mult=5*6=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+30=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=0950 +the result of the concatenation is 40950 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 6 of 456825 is 4 +multiply digit 6 of 456825 which is 4 by 6: temp_mult=4*6=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+24=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=40950 +the result of the concatenation is 740950 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 740950 +the result of the concatenation is 2740950 +the final_result is 2740950 +",2740950 +multiplying 5847 by 2: 5847*2= ,"carry=0 +digit 1 of 5847 is 7 +multiply digit 1 of 5847 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 5847 is 4 +multiply digit 2 of 5847 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4 + +the result of the concatenation is 94 +carry=0 +digit 3 of 5847 is 8 +multiply digit 3 of 5847 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=94 +the result of the concatenation is 694 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 5847 is 5 +multiply digit 4 of 5847 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+10=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=694 +the result of the concatenation is 1694 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 1694 +the result of the concatenation is 11694 +the final_result is 11694 +",11694 +multiplying 603230 by 2: 603230*2= ,"carry=0 +digit 1 of 603230 is 0 +multiply digit 1 of 603230 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 603230 is 3 +multiply digit 2 of 603230 which is 3 by 2: temp_mult=3*2=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 60 +carry=0 +digit 3 of 603230 is 2 +multiply digit 3 of 603230 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=60 + +the result of the concatenation is 460 +carry=0 +digit 4 of 603230 is 3 +multiply digit 4 of 603230 which is 3 by 2: temp_mult=3*2=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=460 + +the result of the concatenation is 6460 +carry=0 +digit 5 of 603230 is 0 +multiply digit 5 of 603230 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6460 + +the result of the concatenation is 06460 +carry=0 +digit 6 of 603230 is 6 +multiply digit 6 of 603230 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=06460 +the result of the concatenation is 206460 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 206460 +the result of the concatenation is 1206460 +the final_result is 1206460 +",1206460 +multiplying 117443 by 4: 117443*4= ,"carry=0 +digit 1 of 117443 is 3 +multiply digit 1 of 117443 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 117443 is 4 +multiply digit 2 of 117443 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+16=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=2 +the result of the concatenation is 72 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 117443 is 4 +multiply digit 3 of 117443 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+16=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=72 +the result of the concatenation is 772 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 117443 is 7 +multiply digit 4 of 117443 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+28=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=772 +the result of the concatenation is 9772 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 117443 is 1 +multiply digit 5 of 117443 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+4=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=9772 + +the result of the concatenation is 69772 +carry=0 +digit 6 of 117443 is 1 +multiply digit 6 of 117443 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=69772 + +the result of the concatenation is 469772 +the final_result is 469772 +",469772 +multiplying 468458 by 8: 468458*8= ,"carry=0 +digit 1 of 468458 is 8 +multiply digit 1 of 468458 which is 8 by 8: temp_mult=8*8=64 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+64=64 +compare the addition result to 10: temp_add=64>=10 +the first digit of temp_add=64 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 2 of 468458 is 5 +multiply digit 2 of 468458 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+40=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=4 +the result of the concatenation is 64 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 468458 is 4 +multiply digit 3 of 468458 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+32=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=64 +the result of the concatenation is 664 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 468458 is 8 +multiply digit 4 of 468458 which is 8 by 8: temp_mult=8*8=64 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+64=67 +compare the addition result to 10: temp_add=67>=10 +the first digit of temp_add=67 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=664 +the result of the concatenation is 7664 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 468458 is 6 +multiply digit 5 of 468458 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+48=54 +compare the addition result to 10: temp_add=54>=10 +the first digit of temp_add=54 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=7664 +the result of the concatenation is 47664 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 468458 is 4 +multiply digit 6 of 468458 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+32=37 +compare the addition result to 10: temp_add=37>=10 +the first digit of temp_add=37 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=47664 +the result of the concatenation is 747664 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 747664 +the result of the concatenation is 3747664 +the final_result is 3747664 +",3747664 +multiplying 355406 by 2: 355406*2= ,"carry=0 +digit 1 of 355406 is 6 +multiply digit 1 of 355406 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 355406 is 0 +multiply digit 2 of 355406 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2 + +the result of the concatenation is 12 +carry=0 +digit 3 of 355406 is 4 +multiply digit 3 of 355406 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=12 + +the result of the concatenation is 812 +carry=0 +digit 4 of 355406 is 5 +multiply digit 4 of 355406 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=812 +the result of the concatenation is 0812 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 355406 is 5 +multiply digit 5 of 355406 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+10=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=0812 +the result of the concatenation is 10812 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 355406 is 3 +multiply digit 6 of 355406 which is 3 by 2: temp_mult=3*2=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+6=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=10812 + +the result of the concatenation is 710812 +the final_result is 710812 +",710812 +multiplying 309662 by 6: 309662*6= ,"carry=0 +digit 1 of 309662 is 2 +multiply digit 1 of 309662 which is 2 by 6: temp_mult=2*6=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 309662 is 6 +multiply digit 2 of 309662 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+36=37 +compare the addition result to 10: temp_add=37>=10 +the first digit of temp_add=37 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=2 +the result of the concatenation is 72 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 309662 is 6 +multiply digit 3 of 309662 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+36=39 +compare the addition result to 10: temp_add=39>=10 +the first digit of temp_add=39 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=72 +the result of the concatenation is 972 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 309662 is 9 +multiply digit 4 of 309662 which is 9 by 6: temp_mult=9*6=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+54=57 +compare the addition result to 10: temp_add=57>=10 +the first digit of temp_add=57 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=972 +the result of the concatenation is 7972 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 309662 is 0 +multiply digit 5 of 309662 which is 0 by 6: temp_mult=0*6=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+0=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7972 + +the result of the concatenation is 57972 +carry=0 +digit 6 of 309662 is 3 +multiply digit 6 of 309662 which is 3 by 6: temp_mult=3*6=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=57972 +the result of the concatenation is 857972 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 857972 +the result of the concatenation is 1857972 +the final_result is 1857972 +",1857972 +multiplying 369114 by 3: 369114*3= ,"carry=0 +digit 1 of 369114 is 4 +multiply digit 1 of 369114 which is 4 by 3: temp_mult=4*3=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 369114 is 1 +multiply digit 2 of 369114 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+3=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2 + +the result of the concatenation is 42 +carry=0 +digit 3 of 369114 is 1 +multiply digit 3 of 369114 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=42 + +the result of the concatenation is 342 +carry=0 +digit 4 of 369114 is 9 +multiply digit 4 of 369114 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+27=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=342 +the result of the concatenation is 7342 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 369114 is 6 +multiply digit 5 of 369114 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+18=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=7342 +the result of the concatenation is 07342 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 369114 is 3 +multiply digit 6 of 369114 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+9=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=07342 +the result of the concatenation is 107342 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 107342 +the result of the concatenation is 1107342 +the final_result is 1107342 +",1107342 +multiplying 621240 by 3: 621240*3= ,"carry=0 +digit 1 of 621240 is 0 +multiply digit 1 of 621240 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 621240 is 4 +multiply digit 2 of 621240 which is 4 by 3: temp_mult=4*3=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=0 +the result of the concatenation is 20 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 621240 is 2 +multiply digit 3 of 621240 which is 2 by 3: temp_mult=2*3=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+6=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=20 + +the result of the concatenation is 720 +carry=0 +digit 4 of 621240 is 1 +multiply digit 4 of 621240 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=720 + +the result of the concatenation is 3720 +carry=0 +digit 5 of 621240 is 2 +multiply digit 5 of 621240 which is 2 by 3: temp_mult=2*3=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=3720 + +the result of the concatenation is 63720 +carry=0 +digit 6 of 621240 is 6 +multiply digit 6 of 621240 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=63720 +the result of the concatenation is 863720 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 863720 +the result of the concatenation is 1863720 +the final_result is 1863720 +",1863720 +multiplying 317574 by 0: 317574*0= ,"carry=0 +digit 1 of 317574 is 4 +multiply digit 1 of 317574 which is 4 by 0: temp_mult=4*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 317574 is 7 +multiply digit 2 of 317574 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 317574 is 5 +multiply digit 3 of 317574 which is 5 by 0: temp_mult=5*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 317574 is 7 +multiply digit 4 of 317574 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 317574 is 1 +multiply digit 5 of 317574 which is 1 by 0: temp_mult=1*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 317574 is 3 +multiply digit 6 of 317574 which is 3 by 0: temp_mult=3*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 904712 by 2: 904712*2= ,"carry=0 +digit 1 of 904712 is 2 +multiply digit 1 of 904712 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 4 +carry=0 +digit 2 of 904712 is 1 +multiply digit 2 of 904712 which is 1 by 2: temp_mult=1*2=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4 + +the result of the concatenation is 24 +carry=0 +digit 3 of 904712 is 7 +multiply digit 3 of 904712 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=24 +the result of the concatenation is 424 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 904712 is 4 +multiply digit 4 of 904712 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=424 + +the result of the concatenation is 9424 +carry=0 +digit 5 of 904712 is 0 +multiply digit 5 of 904712 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=9424 + +the result of the concatenation is 09424 +carry=0 +digit 6 of 904712 is 9 +multiply digit 6 of 904712 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=09424 +the result of the concatenation is 809424 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 809424 +the result of the concatenation is 1809424 +the final_result is 1809424 +",1809424 +multiplying 104887 by 3: 104887*3= ,"carry=0 +digit 1 of 104887 is 7 +multiply digit 1 of 104887 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+21=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result= +the result of the concatenation is 1 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 104887 is 8 +multiply digit 2 of 104887 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+24=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=1 +the result of the concatenation is 61 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 104887 is 8 +multiply digit 3 of 104887 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+24=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=61 +the result of the concatenation is 661 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 104887 is 4 +multiply digit 4 of 104887 which is 4 by 3: temp_mult=4*3=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+12=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=661 +the result of the concatenation is 4661 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 104887 is 0 +multiply digit 5 of 104887 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4661 + +the result of the concatenation is 14661 +carry=0 +digit 6 of 104887 is 1 +multiply digit 6 of 104887 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=14661 + +the result of the concatenation is 314661 +the final_result is 314661 +",314661 +multiplying 371841 by 6: 371841*6= ,"carry=0 +digit 1 of 371841 is 1 +multiply digit 1 of 371841 which is 1 by 6: temp_mult=1*6=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 6 +carry=0 +digit 2 of 371841 is 4 +multiply digit 2 of 371841 which is 4 by 6: temp_mult=4*6=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=6 +the result of the concatenation is 46 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 371841 is 8 +multiply digit 3 of 371841 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+48=50 +compare the addition result to 10: temp_add=50>=10 +the first digit of temp_add=50 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=46 +the result of the concatenation is 046 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 4 of 371841 is 1 +multiply digit 4 of 371841 which is 1 by 6: temp_mult=1*6=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+6=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=046 +the result of the concatenation is 1046 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 371841 is 7 +multiply digit 5 of 371841 which is 7 by 6: temp_mult=7*6=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+42=43 +compare the addition result to 10: temp_add=43>=10 +the first digit of temp_add=43 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=1046 +the result of the concatenation is 31046 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 371841 is 3 +multiply digit 6 of 371841 which is 3 by 6: temp_mult=3*6=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+18=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=31046 +the result of the concatenation is 231046 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 231046 +the result of the concatenation is 2231046 +the final_result is 2231046 +",2231046 +multiplying 958617 by 9: 958617*9= ,"carry=0 +digit 1 of 958617 is 7 +multiply digit 1 of 958617 which is 7 by 9: temp_mult=7*9=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+63=63 +compare the addition result to 10: temp_add=63>=10 +the first digit of temp_add=63 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result= +the result of the concatenation is 3 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 2 of 958617 is 1 +multiply digit 2 of 958617 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+9=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=3 +the result of the concatenation is 53 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 958617 is 6 +multiply digit 3 of 958617 which is 6 by 9: temp_mult=6*9=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+54=55 +compare the addition result to 10: temp_add=55>=10 +the first digit of temp_add=55 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=53 +the result of the concatenation is 553 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 4 of 958617 is 8 +multiply digit 4 of 958617 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+72=77 +compare the addition result to 10: temp_add=77>=10 +the first digit of temp_add=77 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=553 +the result of the concatenation is 7553 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 5 of 958617 is 5 +multiply digit 5 of 958617 which is 5 by 9: temp_mult=5*9=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+45=52 +compare the addition result to 10: temp_add=52>=10 +the first digit of temp_add=52 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=7553 +the result of the concatenation is 27553 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 958617 is 9 +multiply digit 6 of 958617 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+81=86 +compare the addition result to 10: temp_add=86>=10 +the first digit of temp_add=86 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=27553 +the result of the concatenation is 627553 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +final carry=8>0 +the final carry which is 8 is concatenated to the left of the final result which is 627553 +the result of the concatenation is 8627553 +the final_result is 8627553 +",8627553 +multiplying 405702 by 0: 405702*0= ,"carry=0 +digit 1 of 405702 is 2 +multiply digit 1 of 405702 which is 2 by 0: temp_mult=2*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 405702 is 0 +multiply digit 2 of 405702 which is 0 by 0: temp_mult=0*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 405702 is 7 +multiply digit 3 of 405702 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 405702 is 5 +multiply digit 4 of 405702 which is 5 by 0: temp_mult=5*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 405702 is 0 +multiply digit 5 of 405702 which is 0 by 0: temp_mult=0*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 405702 is 4 +multiply digit 6 of 405702 which is 4 by 0: temp_mult=4*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 449672 by 4: 449672*4= ,"carry=0 +digit 1 of 449672 is 2 +multiply digit 1 of 449672 which is 2 by 4: temp_mult=2*4=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 8 +carry=0 +digit 2 of 449672 is 7 +multiply digit 2 of 449672 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+28=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=8 +the result of the concatenation is 88 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 449672 is 6 +multiply digit 3 of 449672 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+24=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=88 +the result of the concatenation is 688 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 449672 is 9 +multiply digit 4 of 449672 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+36=38 +compare the addition result to 10: temp_add=38>=10 +the first digit of temp_add=38 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=688 +the result of the concatenation is 8688 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 449672 is 4 +multiply digit 5 of 449672 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+16=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=8688 +the result of the concatenation is 98688 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 449672 is 4 +multiply digit 6 of 449672 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+16=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=98688 +the result of the concatenation is 798688 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 798688 +the result of the concatenation is 1798688 +the final_result is 1798688 +",1798688 +multiplying 112427 by 8: 112427*8= ,"carry=0 +digit 1 of 112427 is 7 +multiply digit 1 of 112427 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+56=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 2 of 112427 is 2 +multiply digit 2 of 112427 which is 2 by 8: temp_mult=2*8=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+16=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=6 +the result of the concatenation is 16 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 112427 is 4 +multiply digit 3 of 112427 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+32=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=16 +the result of the concatenation is 416 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 112427 is 2 +multiply digit 4 of 112427 which is 2 by 8: temp_mult=2*8=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+16=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=416 +the result of the concatenation is 9416 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 112427 is 1 +multiply digit 5 of 112427 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=9416 + +the result of the concatenation is 99416 +carry=0 +digit 6 of 112427 is 1 +multiply digit 6 of 112427 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=99416 + +the result of the concatenation is 899416 +the final_result is 899416 +",899416 +multiplying 577917 by 4: 577917*4= ,"carry=0 +digit 1 of 577917 is 7 +multiply digit 1 of 577917 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+28=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 577917 is 1 +multiply digit 2 of 577917 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+4=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8 + +the result of the concatenation is 68 +carry=0 +digit 3 of 577917 is 9 +multiply digit 3 of 577917 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+36=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=68 +the result of the concatenation is 668 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 577917 is 7 +multiply digit 4 of 577917 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+28=31 +compare the addition result to 10: temp_add=31>=10 +the first digit of temp_add=31 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=668 +the result of the concatenation is 1668 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 577917 is 7 +multiply digit 5 of 577917 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+28=31 +compare the addition result to 10: temp_add=31>=10 +the first digit of temp_add=31 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=1668 +the result of the concatenation is 11668 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 6 of 577917 is 5 +multiply digit 6 of 577917 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+20=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=11668 +the result of the concatenation is 311668 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 311668 +the result of the concatenation is 2311668 +the final_result is 2311668 +",2311668 +multiplying 458049 by 8: 458049*8= ,"carry=0 +digit 1 of 458049 is 9 +multiply digit 1 of 458049 which is 9 by 8: temp_mult=9*8=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+72=72 +compare the addition result to 10: temp_add=72>=10 +the first digit of temp_add=72 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 2 of 458049 is 4 +multiply digit 2 of 458049 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+32=39 +compare the addition result to 10: temp_add=39>=10 +the first digit of temp_add=39 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=2 +the result of the concatenation is 92 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 458049 is 0 +multiply digit 3 of 458049 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+0=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=92 + +the result of the concatenation is 392 +carry=0 +digit 4 of 458049 is 8 +multiply digit 4 of 458049 which is 8 by 8: temp_mult=8*8=64 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+64=64 +compare the addition result to 10: temp_add=64>=10 +the first digit of temp_add=64 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=392 +the result of the concatenation is 4392 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 458049 is 5 +multiply digit 5 of 458049 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+40=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=4392 +the result of the concatenation is 64392 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 458049 is 4 +multiply digit 6 of 458049 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+32=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=64392 +the result of the concatenation is 664392 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 664392 +the result of the concatenation is 3664392 +the final_result is 3664392 +",3664392 +multiplying 26412 by 9: 26412*9= ,"carry=0 +digit 1 of 26412 is 2 +multiply digit 1 of 26412 which is 2 by 9: temp_mult=2*9=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 26412 is 1 +multiply digit 2 of 26412 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+9=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=8 +the result of the concatenation is 08 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 26412 is 4 +multiply digit 3 of 26412 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+36=37 +compare the addition result to 10: temp_add=37>=10 +the first digit of temp_add=37 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=08 +the result of the concatenation is 708 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 26412 is 6 +multiply digit 4 of 26412 which is 6 by 9: temp_mult=6*9=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+54=57 +compare the addition result to 10: temp_add=57>=10 +the first digit of temp_add=57 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=708 +the result of the concatenation is 7708 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 26412 is 2 +multiply digit 5 of 26412 which is 2 by 9: temp_mult=2*9=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+18=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=7708 +the result of the concatenation is 37708 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 37708 +the result of the concatenation is 237708 +the final_result is 237708 +",237708 +multiplying 360933 by 5: 360933*5= ,"carry=0 +digit 1 of 360933 is 3 +multiply digit 1 of 360933 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+15=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 360933 is 3 +multiply digit 2 of 360933 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+15=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=5 +the result of the concatenation is 65 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 360933 is 9 +multiply digit 3 of 360933 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+45=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=65 +the result of the concatenation is 665 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 360933 is 0 +multiply digit 4 of 360933 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+0=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=665 + +the result of the concatenation is 4665 +carry=0 +digit 5 of 360933 is 6 +multiply digit 5 of 360933 which is 6 by 5: temp_mult=6*5=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+30=30 +compare the addition result to 10: temp_add=30>=10 +the first digit of temp_add=30 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=4665 +the result of the concatenation is 04665 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 6 of 360933 is 3 +multiply digit 6 of 360933 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+15=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=04665 +the result of the concatenation is 804665 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 804665 +the result of the concatenation is 1804665 +the final_result is 1804665 +",1804665 +multiplying 874589 by 5: 874589*5= ,"carry=0 +digit 1 of 874589 is 9 +multiply digit 1 of 874589 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+45=45 +compare the addition result to 10: temp_add=45>=10 +the first digit of temp_add=45 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 874589 is 8 +multiply digit 2 of 874589 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+40=44 +compare the addition result to 10: temp_add=44>=10 +the first digit of temp_add=44 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=5 +the result of the concatenation is 45 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 874589 is 5 +multiply digit 3 of 874589 which is 5 by 5: temp_mult=5*5=25 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+25=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=45 +the result of the concatenation is 945 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 874589 is 4 +multiply digit 4 of 874589 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+20=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=945 +the result of the concatenation is 2945 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 874589 is 7 +multiply digit 5 of 874589 which is 7 by 5: temp_mult=7*5=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+35=37 +compare the addition result to 10: temp_add=37>=10 +the first digit of temp_add=37 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=2945 +the result of the concatenation is 72945 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 6 of 874589 is 8 +multiply digit 6 of 874589 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+40=43 +compare the addition result to 10: temp_add=43>=10 +the first digit of temp_add=43 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=72945 +the result of the concatenation is 372945 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 372945 +the result of the concatenation is 4372945 +the final_result is 4372945 +",4372945 +multiplying 359684 by 9: 359684*9= ,"carry=0 +digit 1 of 359684 is 4 +multiply digit 1 of 359684 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+36=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 359684 is 8 +multiply digit 2 of 359684 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+72=75 +compare the addition result to 10: temp_add=75>=10 +the first digit of temp_add=75 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=6 +the result of the concatenation is 56 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 3 of 359684 is 6 +multiply digit 3 of 359684 which is 6 by 9: temp_mult=6*9=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+54=61 +compare the addition result to 10: temp_add=61>=10 +the first digit of temp_add=61 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=56 +the result of the concatenation is 156 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 4 of 359684 is 9 +multiply digit 4 of 359684 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+81=87 +compare the addition result to 10: temp_add=87>=10 +the first digit of temp_add=87 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=156 +the result of the concatenation is 7156 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +carry=8 +digit 5 of 359684 is 5 +multiply digit 5 of 359684 which is 5 by 9: temp_mult=5*9=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=8+45=53 +compare the addition result to 10: temp_add=53>=10 +the first digit of temp_add=53 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=7156 +the result of the concatenation is 37156 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 359684 is 3 +multiply digit 6 of 359684 which is 3 by 9: temp_mult=3*9=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+27=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=37156 +the result of the concatenation is 237156 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 237156 +the result of the concatenation is 3237156 +the final_result is 3237156 +",3237156 +multiplying 472757 by 0: 472757*0= ,"carry=0 +digit 1 of 472757 is 7 +multiply digit 1 of 472757 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 472757 is 5 +multiply digit 2 of 472757 which is 5 by 0: temp_mult=5*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 472757 is 7 +multiply digit 3 of 472757 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 472757 is 2 +multiply digit 4 of 472757 which is 2 by 0: temp_mult=2*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 472757 is 7 +multiply digit 5 of 472757 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 472757 is 4 +multiply digit 6 of 472757 which is 4 by 0: temp_mult=4*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 115437 by 8: 115437*8= ,"carry=0 +digit 1 of 115437 is 7 +multiply digit 1 of 115437 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+56=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 2 of 115437 is 3 +multiply digit 2 of 115437 which is 3 by 8: temp_mult=3*8=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+24=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=6 +the result of the concatenation is 96 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 115437 is 4 +multiply digit 3 of 115437 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+32=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=96 +the result of the concatenation is 496 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 115437 is 5 +multiply digit 4 of 115437 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+40=43 +compare the addition result to 10: temp_add=43>=10 +the first digit of temp_add=43 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=496 +the result of the concatenation is 3496 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 115437 is 1 +multiply digit 5 of 115437 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+8=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=3496 +the result of the concatenation is 23496 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 115437 is 1 +multiply digit 6 of 115437 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=23496 + +the result of the concatenation is 923496 +the final_result is 923496 +",923496 +multiplying 719182 by 5: 719182*5= ,"carry=0 +digit 1 of 719182 is 2 +multiply digit 1 of 719182 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 719182 is 8 +multiply digit 2 of 719182 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+40=41 +compare the addition result to 10: temp_add=41>=10 +the first digit of temp_add=41 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=0 +the result of the concatenation is 10 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 719182 is 1 +multiply digit 3 of 719182 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+5=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=10 + +the result of the concatenation is 910 +carry=0 +digit 4 of 719182 is 9 +multiply digit 4 of 719182 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+45=45 +compare the addition result to 10: temp_add=45>=10 +the first digit of temp_add=45 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=910 +the result of the concatenation is 5910 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 719182 is 1 +multiply digit 5 of 719182 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+5=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5910 + +the result of the concatenation is 95910 +carry=0 +digit 6 of 719182 is 7 +multiply digit 6 of 719182 which is 7 by 5: temp_mult=7*5=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+35=35 +compare the addition result to 10: temp_add=35>=10 +the first digit of temp_add=35 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=95910 +the result of the concatenation is 595910 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 595910 +the result of the concatenation is 3595910 +the final_result is 3595910 +",3595910 +multiplying 98169 by 4: 98169*4= ,"carry=0 +digit 1 of 98169 is 9 +multiply digit 1 of 98169 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+36=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 98169 is 6 +multiply digit 2 of 98169 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+24=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=6 +the result of the concatenation is 76 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 98169 is 1 +multiply digit 3 of 98169 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+4=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=76 + +the result of the concatenation is 676 +carry=0 +digit 4 of 98169 is 8 +multiply digit 4 of 98169 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=676 +the result of the concatenation is 2676 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 98169 is 9 +multiply digit 5 of 98169 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+36=39 +compare the addition result to 10: temp_add=39>=10 +the first digit of temp_add=39 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=2676 +the result of the concatenation is 92676 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 92676 +the result of the concatenation is 392676 +the final_result is 392676 +",392676 +multiplying 384758 by 5: 384758*5= ,"carry=0 +digit 1 of 384758 is 8 +multiply digit 1 of 384758 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+40=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 384758 is 5 +multiply digit 2 of 384758 which is 5 by 5: temp_mult=5*5=25 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+25=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=0 +the result of the concatenation is 90 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 384758 is 7 +multiply digit 3 of 384758 which is 7 by 5: temp_mult=7*5=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+35=37 +compare the addition result to 10: temp_add=37>=10 +the first digit of temp_add=37 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=90 +the result of the concatenation is 790 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 384758 is 4 +multiply digit 4 of 384758 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+20=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=790 +the result of the concatenation is 3790 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 384758 is 8 +multiply digit 5 of 384758 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+40=42 +compare the addition result to 10: temp_add=42>=10 +the first digit of temp_add=42 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=3790 +the result of the concatenation is 23790 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 384758 is 3 +multiply digit 6 of 384758 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+15=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=23790 +the result of the concatenation is 923790 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 923790 +the result of the concatenation is 1923790 +the final_result is 1923790 +",1923790 +multiplying 942928 by 2: 942928*2= ,"carry=0 +digit 1 of 942928 is 8 +multiply digit 1 of 942928 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 942928 is 2 +multiply digit 2 of 942928 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+4=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6 + +the result of the concatenation is 56 +carry=0 +digit 3 of 942928 is 9 +multiply digit 3 of 942928 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=56 +the result of the concatenation is 856 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 942928 is 2 +multiply digit 4 of 942928 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+4=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=856 + +the result of the concatenation is 5856 +carry=0 +digit 5 of 942928 is 4 +multiply digit 5 of 942928 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5856 + +the result of the concatenation is 85856 +carry=0 +digit 6 of 942928 is 9 +multiply digit 6 of 942928 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=85856 +the result of the concatenation is 885856 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 885856 +the result of the concatenation is 1885856 +the final_result is 1885856 +",1885856 +multiplying 249468 by 5: 249468*5= ,"carry=0 +digit 1 of 249468 is 8 +multiply digit 1 of 249468 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+40=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 249468 is 6 +multiply digit 2 of 249468 which is 6 by 5: temp_mult=6*5=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+30=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=0 +the result of the concatenation is 40 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 249468 is 4 +multiply digit 3 of 249468 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+20=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=40 +the result of the concatenation is 340 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 249468 is 9 +multiply digit 4 of 249468 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+45=47 +compare the addition result to 10: temp_add=47>=10 +the first digit of temp_add=47 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=340 +the result of the concatenation is 7340 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 249468 is 4 +multiply digit 5 of 249468 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+20=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=7340 +the result of the concatenation is 47340 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 249468 is 2 +multiply digit 6 of 249468 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+10=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=47340 +the result of the concatenation is 247340 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 247340 +the result of the concatenation is 1247340 +the final_result is 1247340 +",1247340 +multiplying 32864 by 1: 32864*1= ,"carry=0 +digit 1 of 32864 is 4 +multiply digit 1 of 32864 which is 4 by 1: temp_mult=4*1=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 4 +carry=0 +digit 2 of 32864 is 6 +multiply digit 2 of 32864 which is 6 by 1: temp_mult=6*1=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4 + +the result of the concatenation is 64 +carry=0 +digit 3 of 32864 is 8 +multiply digit 3 of 32864 which is 8 by 1: temp_mult=8*1=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=64 + +the result of the concatenation is 864 +carry=0 +digit 4 of 32864 is 2 +multiply digit 4 of 32864 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=864 + +the result of the concatenation is 2864 +carry=0 +digit 5 of 32864 is 3 +multiply digit 5 of 32864 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2864 + +the result of the concatenation is 32864 +the final_result is 32864 +",32864 +multiplying 79567 by 4: 79567*4= ,"carry=0 +digit 1 of 79567 is 7 +multiply digit 1 of 79567 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+28=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 79567 is 6 +multiply digit 2 of 79567 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+24=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=8 +the result of the concatenation is 68 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 79567 is 5 +multiply digit 3 of 79567 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+20=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=68 +the result of the concatenation is 268 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 79567 is 9 +multiply digit 4 of 79567 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+36=38 +compare the addition result to 10: temp_add=38>=10 +the first digit of temp_add=38 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=268 +the result of the concatenation is 8268 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 79567 is 7 +multiply digit 5 of 79567 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+28=31 +compare the addition result to 10: temp_add=31>=10 +the first digit of temp_add=31 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=8268 +the result of the concatenation is 18268 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 18268 +the result of the concatenation is 318268 +the final_result is 318268 +",318268 +multiplying 615555 by 4: 615555*4= ,"carry=0 +digit 1 of 615555 is 5 +multiply digit 1 of 615555 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 615555 is 5 +multiply digit 2 of 615555 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+20=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=0 +the result of the concatenation is 20 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 615555 is 5 +multiply digit 3 of 615555 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+20=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=20 +the result of the concatenation is 220 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 615555 is 5 +multiply digit 4 of 615555 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+20=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=220 +the result of the concatenation is 2220 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 615555 is 1 +multiply digit 5 of 615555 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+4=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2220 + +the result of the concatenation is 62220 +carry=0 +digit 6 of 615555 is 6 +multiply digit 6 of 615555 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=62220 +the result of the concatenation is 462220 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 462220 +the result of the concatenation is 2462220 +the final_result is 2462220 +",2462220 +multiplying 575067 by 3: 575067*3= ,"carry=0 +digit 1 of 575067 is 7 +multiply digit 1 of 575067 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+21=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result= +the result of the concatenation is 1 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 575067 is 6 +multiply digit 2 of 575067 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+18=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=1 +the result of the concatenation is 01 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 575067 is 0 +multiply digit 3 of 575067 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=01 + +the result of the concatenation is 201 +carry=0 +digit 4 of 575067 is 5 +multiply digit 4 of 575067 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+15=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=201 +the result of the concatenation is 5201 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 575067 is 7 +multiply digit 5 of 575067 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+21=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=5201 +the result of the concatenation is 25201 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 575067 is 5 +multiply digit 6 of 575067 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+15=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=25201 +the result of the concatenation is 725201 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 725201 +the result of the concatenation is 1725201 +the final_result is 1725201 +",1725201 +multiplying 436682 by 7: 436682*7= ,"carry=0 +digit 1 of 436682 is 2 +multiply digit 1 of 436682 which is 2 by 7: temp_mult=2*7=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 436682 is 8 +multiply digit 2 of 436682 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+56=57 +compare the addition result to 10: temp_add=57>=10 +the first digit of temp_add=57 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=4 +the result of the concatenation is 74 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 3 of 436682 is 6 +multiply digit 3 of 436682 which is 6 by 7: temp_mult=6*7=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+42=47 +compare the addition result to 10: temp_add=47>=10 +the first digit of temp_add=47 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=74 +the result of the concatenation is 774 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 436682 is 6 +multiply digit 4 of 436682 which is 6 by 7: temp_mult=6*7=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+42=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=774 +the result of the concatenation is 6774 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 436682 is 3 +multiply digit 5 of 436682 which is 3 by 7: temp_mult=3*7=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+21=25 +compare the addition result to 10: temp_add=25>=10 +the first digit of temp_add=25 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=6774 +the result of the concatenation is 56774 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 436682 is 4 +multiply digit 6 of 436682 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+28=30 +compare the addition result to 10: temp_add=30>=10 +the first digit of temp_add=30 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=56774 +the result of the concatenation is 056774 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 056774 +the result of the concatenation is 3056774 +the final_result is 3056774 +",3056774 +multiplying 94884 by 9: 94884*9= ,"carry=0 +digit 1 of 94884 is 4 +multiply digit 1 of 94884 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+36=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 94884 is 8 +multiply digit 2 of 94884 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+72=75 +compare the addition result to 10: temp_add=75>=10 +the first digit of temp_add=75 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=6 +the result of the concatenation is 56 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 3 of 94884 is 8 +multiply digit 3 of 94884 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+72=79 +compare the addition result to 10: temp_add=79>=10 +the first digit of temp_add=79 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=56 +the result of the concatenation is 956 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 4 of 94884 is 4 +multiply digit 4 of 94884 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+36=43 +compare the addition result to 10: temp_add=43>=10 +the first digit of temp_add=43 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=956 +the result of the concatenation is 3956 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 94884 is 9 +multiply digit 5 of 94884 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+81=85 +compare the addition result to 10: temp_add=85>=10 +the first digit of temp_add=85 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=3956 +the result of the concatenation is 53956 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +final carry=8>0 +the final carry which is 8 is concatenated to the left of the final result which is 53956 +the result of the concatenation is 853956 +the final_result is 853956 +",853956 +multiplying 306308 by 4: 306308*4= ,"carry=0 +digit 1 of 306308 is 8 +multiply digit 1 of 306308 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 306308 is 0 +multiply digit 2 of 306308 which is 0 by 4: temp_mult=0*4=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+0=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2 + +the result of the concatenation is 32 +carry=0 +digit 3 of 306308 is 3 +multiply digit 3 of 306308 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=32 +the result of the concatenation is 232 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 306308 is 6 +multiply digit 4 of 306308 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+24=25 +compare the addition result to 10: temp_add=25>=10 +the first digit of temp_add=25 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=232 +the result of the concatenation is 5232 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 306308 is 0 +multiply digit 5 of 306308 which is 0 by 4: temp_mult=0*4=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5232 + +the result of the concatenation is 25232 +carry=0 +digit 6 of 306308 is 3 +multiply digit 6 of 306308 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=25232 +the result of the concatenation is 225232 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 225232 +the result of the concatenation is 1225232 +the final_result is 1225232 +",1225232 +multiplying 968949 by 3: 968949*3= ,"carry=0 +digit 1 of 968949 is 9 +multiply digit 1 of 968949 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+27=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result= +the result of the concatenation is 7 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 968949 is 4 +multiply digit 2 of 968949 which is 4 by 3: temp_mult=4*3=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+12=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=7 +the result of the concatenation is 47 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 968949 is 9 +multiply digit 3 of 968949 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+27=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=47 +the result of the concatenation is 847 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 968949 is 8 +multiply digit 4 of 968949 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+24=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=847 +the result of the concatenation is 6847 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 968949 is 6 +multiply digit 5 of 968949 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+18=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=6847 +the result of the concatenation is 06847 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 968949 is 9 +multiply digit 6 of 968949 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+27=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=06847 +the result of the concatenation is 906847 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 906847 +the result of the concatenation is 2906847 +the final_result is 2906847 +",2906847 +multiplying 662430 by 1: 662430*1= ,"carry=0 +digit 1 of 662430 is 0 +multiply digit 1 of 662430 which is 0 by 1: temp_mult=0*1=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 662430 is 3 +multiply digit 2 of 662430 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 30 +carry=0 +digit 3 of 662430 is 4 +multiply digit 3 of 662430 which is 4 by 1: temp_mult=4*1=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=30 + +the result of the concatenation is 430 +carry=0 +digit 4 of 662430 is 2 +multiply digit 4 of 662430 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=430 + +the result of the concatenation is 2430 +carry=0 +digit 5 of 662430 is 6 +multiply digit 5 of 662430 which is 6 by 1: temp_mult=6*1=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2430 + +the result of the concatenation is 62430 +carry=0 +digit 6 of 662430 is 6 +multiply digit 6 of 662430 which is 6 by 1: temp_mult=6*1=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=62430 + +the result of the concatenation is 662430 +the final_result is 662430 +",662430 +multiplying 774050 by 8: 774050*8= ,"carry=0 +digit 1 of 774050 is 0 +multiply digit 1 of 774050 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 774050 is 5 +multiply digit 2 of 774050 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+40=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=0 +the result of the concatenation is 00 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 774050 is 0 +multiply digit 3 of 774050 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+0=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 400 +carry=0 +digit 4 of 774050 is 4 +multiply digit 4 of 774050 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=400 +the result of the concatenation is 2400 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 774050 is 7 +multiply digit 5 of 774050 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+56=59 +compare the addition result to 10: temp_add=59>=10 +the first digit of temp_add=59 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=2400 +the result of the concatenation is 92400 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 774050 is 7 +multiply digit 6 of 774050 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+56=61 +compare the addition result to 10: temp_add=61>=10 +the first digit of temp_add=61 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=92400 +the result of the concatenation is 192400 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +final carry=6>0 +the final carry which is 6 is concatenated to the left of the final result which is 192400 +the result of the concatenation is 6192400 +the final_result is 6192400 +",6192400 +multiplying 822589 by 0: 822589*0= ,"carry=0 +digit 1 of 822589 is 9 +multiply digit 1 of 822589 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 822589 is 8 +multiply digit 2 of 822589 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 822589 is 5 +multiply digit 3 of 822589 which is 5 by 0: temp_mult=5*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 822589 is 2 +multiply digit 4 of 822589 which is 2 by 0: temp_mult=2*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 822589 is 2 +multiply digit 5 of 822589 which is 2 by 0: temp_mult=2*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 822589 is 8 +multiply digit 6 of 822589 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 374835 by 4: 374835*4= ,"carry=0 +digit 1 of 374835 is 5 +multiply digit 1 of 374835 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 374835 is 3 +multiply digit 2 of 374835 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+12=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=0 +the result of the concatenation is 40 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 374835 is 8 +multiply digit 3 of 374835 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+32=33 +compare the addition result to 10: temp_add=33>=10 +the first digit of temp_add=33 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=40 +the result of the concatenation is 340 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 374835 is 4 +multiply digit 4 of 374835 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+16=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=340 +the result of the concatenation is 9340 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 374835 is 7 +multiply digit 5 of 374835 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+28=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=9340 +the result of the concatenation is 99340 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 374835 is 3 +multiply digit 6 of 374835 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+12=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=99340 +the result of the concatenation is 499340 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 499340 +the result of the concatenation is 1499340 +the final_result is 1499340 +",1499340 +multiplying 148840 by 9: 148840*9= ,"carry=0 +digit 1 of 148840 is 0 +multiply digit 1 of 148840 which is 0 by 9: temp_mult=0*9=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 148840 is 4 +multiply digit 2 of 148840 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+36=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=0 +the result of the concatenation is 60 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 148840 is 8 +multiply digit 3 of 148840 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+72=75 +compare the addition result to 10: temp_add=75>=10 +the first digit of temp_add=75 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=60 +the result of the concatenation is 560 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 4 of 148840 is 8 +multiply digit 4 of 148840 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+72=79 +compare the addition result to 10: temp_add=79>=10 +the first digit of temp_add=79 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=560 +the result of the concatenation is 9560 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 5 of 148840 is 4 +multiply digit 5 of 148840 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+36=43 +compare the addition result to 10: temp_add=43>=10 +the first digit of temp_add=43 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=9560 +the result of the concatenation is 39560 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 148840 is 1 +multiply digit 6 of 148840 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+9=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=39560 +the result of the concatenation is 339560 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 339560 +the result of the concatenation is 1339560 +the final_result is 1339560 +",1339560 +multiplying 773314 by 4: 773314*4= ,"carry=0 +digit 1 of 773314 is 4 +multiply digit 1 of 773314 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 773314 is 1 +multiply digit 2 of 773314 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+4=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6 + +the result of the concatenation is 56 +carry=0 +digit 3 of 773314 is 3 +multiply digit 3 of 773314 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=56 +the result of the concatenation is 256 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 773314 is 3 +multiply digit 4 of 773314 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+12=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=256 +the result of the concatenation is 3256 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 773314 is 7 +multiply digit 5 of 773314 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+28=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=3256 +the result of the concatenation is 93256 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 773314 is 7 +multiply digit 6 of 773314 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+28=30 +compare the addition result to 10: temp_add=30>=10 +the first digit of temp_add=30 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=93256 +the result of the concatenation is 093256 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 093256 +the result of the concatenation is 3093256 +the final_result is 3093256 +",3093256 +multiplying 887825 by 0: 887825*0= ,"carry=0 +digit 1 of 887825 is 5 +multiply digit 1 of 887825 which is 5 by 0: temp_mult=5*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 887825 is 2 +multiply digit 2 of 887825 which is 2 by 0: temp_mult=2*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 887825 is 8 +multiply digit 3 of 887825 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 887825 is 7 +multiply digit 4 of 887825 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 887825 is 8 +multiply digit 5 of 887825 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 887825 is 8 +multiply digit 6 of 887825 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 511111 by 4: 511111*4= ,"carry=0 +digit 1 of 511111 is 1 +multiply digit 1 of 511111 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 4 +carry=0 +digit 2 of 511111 is 1 +multiply digit 2 of 511111 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4 + +the result of the concatenation is 44 +carry=0 +digit 3 of 511111 is 1 +multiply digit 3 of 511111 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=44 + +the result of the concatenation is 444 +carry=0 +digit 4 of 511111 is 1 +multiply digit 4 of 511111 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=444 + +the result of the concatenation is 4444 +carry=0 +digit 5 of 511111 is 1 +multiply digit 5 of 511111 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4444 + +the result of the concatenation is 44444 +carry=0 +digit 6 of 511111 is 5 +multiply digit 6 of 511111 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=44444 +the result of the concatenation is 044444 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 044444 +the result of the concatenation is 2044444 +the final_result is 2044444 +",2044444 +multiplying 840641 by 2: 840641*2= ,"carry=0 +digit 1 of 840641 is 1 +multiply digit 1 of 840641 which is 1 by 2: temp_mult=1*2=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 2 +carry=0 +digit 2 of 840641 is 4 +multiply digit 2 of 840641 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2 + +the result of the concatenation is 82 +carry=0 +digit 3 of 840641 is 6 +multiply digit 3 of 840641 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=82 +the result of the concatenation is 282 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 840641 is 0 +multiply digit 4 of 840641 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=282 + +the result of the concatenation is 1282 +carry=0 +digit 5 of 840641 is 4 +multiply digit 5 of 840641 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=1282 + +the result of the concatenation is 81282 +carry=0 +digit 6 of 840641 is 8 +multiply digit 6 of 840641 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=81282 +the result of the concatenation is 681282 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 681282 +the result of the concatenation is 1681282 +the final_result is 1681282 +",1681282 +multiplying 354363 by 3: 354363*3= ,"carry=0 +digit 1 of 354363 is 3 +multiply digit 1 of 354363 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 9 +carry=0 +digit 2 of 354363 is 6 +multiply digit 2 of 354363 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=9 +the result of the concatenation is 89 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 354363 is 3 +multiply digit 3 of 354363 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+9=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=89 +the result of the concatenation is 089 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 354363 is 4 +multiply digit 4 of 354363 which is 4 by 3: temp_mult=4*3=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+12=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=089 +the result of the concatenation is 3089 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 354363 is 5 +multiply digit 5 of 354363 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+15=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=3089 +the result of the concatenation is 63089 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 354363 is 3 +multiply digit 6 of 354363 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+9=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=63089 +the result of the concatenation is 063089 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 063089 +the result of the concatenation is 1063089 +the final_result is 1063089 +",1063089 +multiplying 858238 by 4: 858238*4= ,"carry=0 +digit 1 of 858238 is 8 +multiply digit 1 of 858238 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 858238 is 3 +multiply digit 2 of 858238 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+12=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=2 +the result of the concatenation is 52 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 858238 is 2 +multiply digit 3 of 858238 which is 2 by 4: temp_mult=2*4=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=52 + +the result of the concatenation is 952 +carry=0 +digit 4 of 858238 is 8 +multiply digit 4 of 858238 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=952 +the result of the concatenation is 2952 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 858238 is 5 +multiply digit 5 of 858238 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+20=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=2952 +the result of the concatenation is 32952 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 858238 is 8 +multiply digit 6 of 858238 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+32=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=32952 +the result of the concatenation is 432952 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 432952 +the result of the concatenation is 3432952 +the final_result is 3432952 +",3432952 +multiplying 529656 by 3: 529656*3= ,"carry=0 +digit 1 of 529656 is 6 +multiply digit 1 of 529656 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 529656 is 5 +multiply digit 2 of 529656 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+15=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=8 +the result of the concatenation is 68 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 529656 is 6 +multiply digit 3 of 529656 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+18=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=68 +the result of the concatenation is 968 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 529656 is 9 +multiply digit 4 of 529656 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+27=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=968 +the result of the concatenation is 8968 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 529656 is 2 +multiply digit 5 of 529656 which is 2 by 3: temp_mult=2*3=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+6=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8968 + +the result of the concatenation is 88968 +carry=0 +digit 6 of 529656 is 5 +multiply digit 6 of 529656 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+15=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=88968 +the result of the concatenation is 588968 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 588968 +the result of the concatenation is 1588968 +the final_result is 1588968 +",1588968 +multiplying 854038 by 3: 854038*3= ,"carry=0 +digit 1 of 854038 is 8 +multiply digit 1 of 854038 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 854038 is 3 +multiply digit 2 of 854038 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+9=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=4 +the result of the concatenation is 14 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 854038 is 0 +multiply digit 3 of 854038 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=14 + +the result of the concatenation is 114 +carry=0 +digit 4 of 854038 is 4 +multiply digit 4 of 854038 which is 4 by 3: temp_mult=4*3=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=114 +the result of the concatenation is 2114 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 854038 is 5 +multiply digit 5 of 854038 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+15=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=2114 +the result of the concatenation is 62114 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 854038 is 8 +multiply digit 6 of 854038 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+24=25 +compare the addition result to 10: temp_add=25>=10 +the first digit of temp_add=25 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=62114 +the result of the concatenation is 562114 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 562114 +the result of the concatenation is 2562114 +the final_result is 2562114 +",2562114 +multiplying 512403 by 8: 512403*8= ,"carry=0 +digit 1 of 512403 is 3 +multiply digit 1 of 512403 which is 3 by 8: temp_mult=3*8=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 512403 is 0 +multiply digit 2 of 512403 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4 + +the result of the concatenation is 24 +carry=0 +digit 3 of 512403 is 4 +multiply digit 3 of 512403 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=24 +the result of the concatenation is 224 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 512403 is 2 +multiply digit 4 of 512403 which is 2 by 8: temp_mult=2*8=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+16=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=224 +the result of the concatenation is 9224 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 512403 is 1 +multiply digit 5 of 512403 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=9224 + +the result of the concatenation is 99224 +carry=0 +digit 6 of 512403 is 5 +multiply digit 6 of 512403 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+40=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=99224 +the result of the concatenation is 099224 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 099224 +the result of the concatenation is 4099224 +the final_result is 4099224 +",4099224 +multiplying 407655 by 6: 407655*6= ,"carry=0 +digit 1 of 407655 is 5 +multiply digit 1 of 407655 which is 5 by 6: temp_mult=5*6=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+30=30 +compare the addition result to 10: temp_add=30>=10 +the first digit of temp_add=30 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 407655 is 5 +multiply digit 2 of 407655 which is 5 by 6: temp_mult=5*6=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+30=33 +compare the addition result to 10: temp_add=33>=10 +the first digit of temp_add=33 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=0 +the result of the concatenation is 30 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 407655 is 6 +multiply digit 3 of 407655 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+36=39 +compare the addition result to 10: temp_add=39>=10 +the first digit of temp_add=39 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=30 +the result of the concatenation is 930 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 407655 is 7 +multiply digit 4 of 407655 which is 7 by 6: temp_mult=7*6=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+42=45 +compare the addition result to 10: temp_add=45>=10 +the first digit of temp_add=45 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=930 +the result of the concatenation is 5930 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 407655 is 0 +multiply digit 5 of 407655 which is 0 by 6: temp_mult=0*6=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+0=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5930 + +the result of the concatenation is 45930 +carry=0 +digit 6 of 407655 is 4 +multiply digit 6 of 407655 which is 4 by 6: temp_mult=4*6=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=45930 +the result of the concatenation is 445930 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 445930 +the result of the concatenation is 2445930 +the final_result is 2445930 +",2445930 +multiplying 985202 by 7: 985202*7= ,"carry=0 +digit 1 of 985202 is 2 +multiply digit 1 of 985202 which is 2 by 7: temp_mult=2*7=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 985202 is 0 +multiply digit 2 of 985202 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4 + +the result of the concatenation is 14 +carry=0 +digit 3 of 985202 is 2 +multiply digit 3 of 985202 which is 2 by 7: temp_mult=2*7=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=14 +the result of the concatenation is 414 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 985202 is 5 +multiply digit 4 of 985202 which is 5 by 7: temp_mult=5*7=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+35=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=414 +the result of the concatenation is 6414 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 985202 is 8 +multiply digit 5 of 985202 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+56=59 +compare the addition result to 10: temp_add=59>=10 +the first digit of temp_add=59 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=6414 +the result of the concatenation is 96414 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 985202 is 9 +multiply digit 6 of 985202 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+63=68 +compare the addition result to 10: temp_add=68>=10 +the first digit of temp_add=68 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=96414 +the result of the concatenation is 896414 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +final carry=6>0 +the final carry which is 6 is concatenated to the left of the final result which is 896414 +the result of the concatenation is 6896414 +the final_result is 6896414 +",6896414 +multiplying 228924 by 2: 228924*2= ,"carry=0 +digit 1 of 228924 is 4 +multiply digit 1 of 228924 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 8 +carry=0 +digit 2 of 228924 is 2 +multiply digit 2 of 228924 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8 + +the result of the concatenation is 48 +carry=0 +digit 3 of 228924 is 9 +multiply digit 3 of 228924 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=48 +the result of the concatenation is 848 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 228924 is 8 +multiply digit 4 of 228924 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+16=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=848 +the result of the concatenation is 7848 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 228924 is 2 +multiply digit 5 of 228924 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+4=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7848 + +the result of the concatenation is 57848 +carry=0 +digit 6 of 228924 is 2 +multiply digit 6 of 228924 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=57848 + +the result of the concatenation is 457848 +the final_result is 457848 +",457848 +multiplying 602199 by 8: 602199*8= ,"carry=0 +digit 1 of 602199 is 9 +multiply digit 1 of 602199 which is 9 by 8: temp_mult=9*8=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+72=72 +compare the addition result to 10: temp_add=72>=10 +the first digit of temp_add=72 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 2 of 602199 is 9 +multiply digit 2 of 602199 which is 9 by 8: temp_mult=9*8=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+72=79 +compare the addition result to 10: temp_add=79>=10 +the first digit of temp_add=79 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=2 +the result of the concatenation is 92 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 3 of 602199 is 1 +multiply digit 3 of 602199 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+8=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=92 +the result of the concatenation is 592 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 602199 is 2 +multiply digit 4 of 602199 which is 2 by 8: temp_mult=2*8=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+16=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=592 +the result of the concatenation is 7592 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 602199 is 0 +multiply digit 5 of 602199 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7592 + +the result of the concatenation is 17592 +carry=0 +digit 6 of 602199 is 6 +multiply digit 6 of 602199 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+48=48 +compare the addition result to 10: temp_add=48>=10 +the first digit of temp_add=48 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=17592 +the result of the concatenation is 817592 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 817592 +the result of the concatenation is 4817592 +the final_result is 4817592 +",4817592 +multiplying 803094 by 4: 803094*4= ,"carry=0 +digit 1 of 803094 is 4 +multiply digit 1 of 803094 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 803094 is 9 +multiply digit 2 of 803094 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+36=37 +compare the addition result to 10: temp_add=37>=10 +the first digit of temp_add=37 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=6 +the result of the concatenation is 76 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 803094 is 0 +multiply digit 3 of 803094 which is 0 by 4: temp_mult=0*4=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+0=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=76 + +the result of the concatenation is 376 +carry=0 +digit 4 of 803094 is 3 +multiply digit 4 of 803094 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=376 +the result of the concatenation is 2376 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 803094 is 0 +multiply digit 5 of 803094 which is 0 by 4: temp_mult=0*4=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2376 + +the result of the concatenation is 12376 +carry=0 +digit 6 of 803094 is 8 +multiply digit 6 of 803094 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=12376 +the result of the concatenation is 212376 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 212376 +the result of the concatenation is 3212376 +the final_result is 3212376 +",3212376 +multiplying 533914 by 0: 533914*0= ,"carry=0 +digit 1 of 533914 is 4 +multiply digit 1 of 533914 which is 4 by 0: temp_mult=4*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 533914 is 1 +multiply digit 2 of 533914 which is 1 by 0: temp_mult=1*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 533914 is 9 +multiply digit 3 of 533914 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 533914 is 3 +multiply digit 4 of 533914 which is 3 by 0: temp_mult=3*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 533914 is 3 +multiply digit 5 of 533914 which is 3 by 0: temp_mult=3*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 533914 is 5 +multiply digit 6 of 533914 which is 5 by 0: temp_mult=5*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 406791 by 7: 406791*7= ,"carry=0 +digit 1 of 406791 is 1 +multiply digit 1 of 406791 which is 1 by 7: temp_mult=1*7=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 7 +carry=0 +digit 2 of 406791 is 9 +multiply digit 2 of 406791 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+63=63 +compare the addition result to 10: temp_add=63>=10 +the first digit of temp_add=63 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=7 +the result of the concatenation is 37 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 3 of 406791 is 7 +multiply digit 3 of 406791 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+49=55 +compare the addition result to 10: temp_add=55>=10 +the first digit of temp_add=55 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=37 +the result of the concatenation is 537 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 4 of 406791 is 6 +multiply digit 4 of 406791 which is 6 by 7: temp_mult=6*7=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+42=47 +compare the addition result to 10: temp_add=47>=10 +the first digit of temp_add=47 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=537 +the result of the concatenation is 7537 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 406791 is 0 +multiply digit 5 of 406791 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+0=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7537 + +the result of the concatenation is 47537 +carry=0 +digit 6 of 406791 is 4 +multiply digit 6 of 406791 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+28=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=47537 +the result of the concatenation is 847537 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 847537 +the result of the concatenation is 2847537 +the final_result is 2847537 +",2847537 +multiplying 382422 by 5: 382422*5= ,"carry=0 +digit 1 of 382422 is 2 +multiply digit 1 of 382422 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 382422 is 2 +multiply digit 2 of 382422 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+10=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=0 +the result of the concatenation is 10 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 382422 is 4 +multiply digit 3 of 382422 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+20=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=10 +the result of the concatenation is 110 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 382422 is 2 +multiply digit 4 of 382422 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+10=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=110 +the result of the concatenation is 2110 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 382422 is 8 +multiply digit 5 of 382422 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+40=41 +compare the addition result to 10: temp_add=41>=10 +the first digit of temp_add=41 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=2110 +the result of the concatenation is 12110 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 382422 is 3 +multiply digit 6 of 382422 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+15=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=12110 +the result of the concatenation is 912110 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 912110 +the result of the concatenation is 1912110 +the final_result is 1912110 +",1912110 +multiplying 182781 by 6: 182781*6= ,"carry=0 +digit 1 of 182781 is 1 +multiply digit 1 of 182781 which is 1 by 6: temp_mult=1*6=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 6 +carry=0 +digit 2 of 182781 is 8 +multiply digit 2 of 182781 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+48=48 +compare the addition result to 10: temp_add=48>=10 +the first digit of temp_add=48 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=6 +the result of the concatenation is 86 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 182781 is 7 +multiply digit 3 of 182781 which is 7 by 6: temp_mult=7*6=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+42=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=86 +the result of the concatenation is 686 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 182781 is 2 +multiply digit 4 of 182781 which is 2 by 6: temp_mult=2*6=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+12=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=686 +the result of the concatenation is 6686 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 182781 is 8 +multiply digit 5 of 182781 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+48=49 +compare the addition result to 10: temp_add=49>=10 +the first digit of temp_add=49 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=6686 +the result of the concatenation is 96686 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 182781 is 1 +multiply digit 6 of 182781 which is 1 by 6: temp_mult=1*6=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+6=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=96686 +the result of the concatenation is 096686 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 096686 +the result of the concatenation is 1096686 +the final_result is 1096686 +",1096686 +multiplying 901982 by 4: 901982*4= ,"carry=0 +digit 1 of 901982 is 2 +multiply digit 1 of 901982 which is 2 by 4: temp_mult=2*4=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 8 +carry=0 +digit 2 of 901982 is 8 +multiply digit 2 of 901982 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=8 +the result of the concatenation is 28 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 901982 is 9 +multiply digit 3 of 901982 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+36=39 +compare the addition result to 10: temp_add=39>=10 +the first digit of temp_add=39 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=28 +the result of the concatenation is 928 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 901982 is 1 +multiply digit 4 of 901982 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+4=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=928 + +the result of the concatenation is 7928 +carry=0 +digit 5 of 901982 is 0 +multiply digit 5 of 901982 which is 0 by 4: temp_mult=0*4=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7928 + +the result of the concatenation is 07928 +carry=0 +digit 6 of 901982 is 9 +multiply digit 6 of 901982 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+36=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=07928 +the result of the concatenation is 607928 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 607928 +the result of the concatenation is 3607928 +the final_result is 3607928 +",3607928 +multiplying 876087 by 2: 876087*2= ,"carry=0 +digit 1 of 876087 is 7 +multiply digit 1 of 876087 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 876087 is 8 +multiply digit 2 of 876087 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+16=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=4 +the result of the concatenation is 74 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 876087 is 0 +multiply digit 3 of 876087 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=74 + +the result of the concatenation is 174 +carry=0 +digit 4 of 876087 is 6 +multiply digit 4 of 876087 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=174 +the result of the concatenation is 2174 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 876087 is 7 +multiply digit 5 of 876087 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+14=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=2174 +the result of the concatenation is 52174 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 876087 is 8 +multiply digit 6 of 876087 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+16=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=52174 +the result of the concatenation is 752174 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 752174 +the result of the concatenation is 1752174 +the final_result is 1752174 +",1752174 +multiplying 120934 by 9: 120934*9= ,"carry=0 +digit 1 of 120934 is 4 +multiply digit 1 of 120934 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+36=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 120934 is 3 +multiply digit 2 of 120934 which is 3 by 9: temp_mult=3*9=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+27=30 +compare the addition result to 10: temp_add=30>=10 +the first digit of temp_add=30 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=6 +the result of the concatenation is 06 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 120934 is 9 +multiply digit 3 of 120934 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+81=84 +compare the addition result to 10: temp_add=84>=10 +the first digit of temp_add=84 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=06 +the result of the concatenation is 406 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +carry=8 +digit 4 of 120934 is 0 +multiply digit 4 of 120934 which is 0 by 9: temp_mult=0*9=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=8+0=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=406 + +the result of the concatenation is 8406 +carry=0 +digit 5 of 120934 is 2 +multiply digit 5 of 120934 which is 2 by 9: temp_mult=2*9=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=8406 +the result of the concatenation is 88406 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 120934 is 1 +multiply digit 6 of 120934 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+9=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=88406 +the result of the concatenation is 088406 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 088406 +the result of the concatenation is 1088406 +the final_result is 1088406 +",1088406 +multiplying 547376 by 2: 547376*2= ,"carry=0 +digit 1 of 547376 is 6 +multiply digit 1 of 547376 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 547376 is 7 +multiply digit 2 of 547376 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+14=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=2 +the result of the concatenation is 52 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 547376 is 3 +multiply digit 3 of 547376 which is 3 by 2: temp_mult=3*2=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+6=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=52 + +the result of the concatenation is 752 +carry=0 +digit 4 of 547376 is 7 +multiply digit 4 of 547376 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=752 +the result of the concatenation is 4752 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 547376 is 4 +multiply digit 5 of 547376 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4752 + +the result of the concatenation is 94752 +carry=0 +digit 6 of 547376 is 5 +multiply digit 6 of 547376 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=94752 +the result of the concatenation is 094752 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 094752 +the result of the concatenation is 1094752 +the final_result is 1094752 +",1094752 +multiplying 131338 by 3: 131338*3= ,"carry=0 +digit 1 of 131338 is 8 +multiply digit 1 of 131338 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 131338 is 3 +multiply digit 2 of 131338 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+9=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=4 +the result of the concatenation is 14 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 131338 is 3 +multiply digit 3 of 131338 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+9=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=14 +the result of the concatenation is 014 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 131338 is 1 +multiply digit 4 of 131338 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+3=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=014 + +the result of the concatenation is 4014 +carry=0 +digit 5 of 131338 is 3 +multiply digit 5 of 131338 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4014 + +the result of the concatenation is 94014 +carry=0 +digit 6 of 131338 is 1 +multiply digit 6 of 131338 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=94014 + +the result of the concatenation is 394014 +the final_result is 394014 +",394014 +multiplying 764349 by 2: 764349*2= ,"carry=0 +digit 1 of 764349 is 9 +multiply digit 1 of 764349 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 764349 is 4 +multiply digit 2 of 764349 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8 + +the result of the concatenation is 98 +carry=0 +digit 3 of 764349 is 3 +multiply digit 3 of 764349 which is 3 by 2: temp_mult=3*2=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=98 + +the result of the concatenation is 698 +carry=0 +digit 4 of 764349 is 4 +multiply digit 4 of 764349 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=698 + +the result of the concatenation is 8698 +carry=0 +digit 5 of 764349 is 6 +multiply digit 5 of 764349 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=8698 +the result of the concatenation is 28698 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 764349 is 7 +multiply digit 6 of 764349 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+14=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=28698 +the result of the concatenation is 528698 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 528698 +the result of the concatenation is 1528698 +the final_result is 1528698 +",1528698 +multiplying 262184 by 9: 262184*9= ,"carry=0 +digit 1 of 262184 is 4 +multiply digit 1 of 262184 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+36=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 262184 is 8 +multiply digit 2 of 262184 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+72=75 +compare the addition result to 10: temp_add=75>=10 +the first digit of temp_add=75 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=6 +the result of the concatenation is 56 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 3 of 262184 is 1 +multiply digit 3 of 262184 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+9=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=56 +the result of the concatenation is 656 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 262184 is 2 +multiply digit 4 of 262184 which is 2 by 9: temp_mult=2*9=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+18=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=656 +the result of the concatenation is 9656 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 262184 is 6 +multiply digit 5 of 262184 which is 6 by 9: temp_mult=6*9=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+54=55 +compare the addition result to 10: temp_add=55>=10 +the first digit of temp_add=55 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=9656 +the result of the concatenation is 59656 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 262184 is 2 +multiply digit 6 of 262184 which is 2 by 9: temp_mult=2*9=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+18=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=59656 +the result of the concatenation is 359656 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 359656 +the result of the concatenation is 2359656 +the final_result is 2359656 +",2359656 +multiplying 858499 by 4: 858499*4= ,"carry=0 +digit 1 of 858499 is 9 +multiply digit 1 of 858499 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+36=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 858499 is 9 +multiply digit 2 of 858499 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+36=39 +compare the addition result to 10: temp_add=39>=10 +the first digit of temp_add=39 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=6 +the result of the concatenation is 96 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 858499 is 4 +multiply digit 3 of 858499 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+16=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=96 +the result of the concatenation is 996 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 858499 is 8 +multiply digit 4 of 858499 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+32=33 +compare the addition result to 10: temp_add=33>=10 +the first digit of temp_add=33 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=996 +the result of the concatenation is 3996 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 858499 is 5 +multiply digit 5 of 858499 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+20=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=3996 +the result of the concatenation is 33996 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 858499 is 8 +multiply digit 6 of 858499 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+32=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=33996 +the result of the concatenation is 433996 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 433996 +the result of the concatenation is 3433996 +the final_result is 3433996 +",3433996 +multiplying 96577 by 1: 96577*1= ,"carry=0 +digit 1 of 96577 is 7 +multiply digit 1 of 96577 which is 7 by 1: temp_mult=7*1=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 7 +carry=0 +digit 2 of 96577 is 7 +multiply digit 2 of 96577 which is 7 by 1: temp_mult=7*1=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7 + +the result of the concatenation is 77 +carry=0 +digit 3 of 96577 is 5 +multiply digit 3 of 96577 which is 5 by 1: temp_mult=5*1=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+5=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=77 + +the result of the concatenation is 577 +carry=0 +digit 4 of 96577 is 6 +multiply digit 4 of 96577 which is 6 by 1: temp_mult=6*1=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=577 + +the result of the concatenation is 6577 +carry=0 +digit 5 of 96577 is 9 +multiply digit 5 of 96577 which is 9 by 1: temp_mult=9*1=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6577 + +the result of the concatenation is 96577 +the final_result is 96577 +",96577 +multiplying 971819 by 7: 971819*7= ,"carry=0 +digit 1 of 971819 is 9 +multiply digit 1 of 971819 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+63=63 +compare the addition result to 10: temp_add=63>=10 +the first digit of temp_add=63 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result= +the result of the concatenation is 3 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 2 of 971819 is 1 +multiply digit 2 of 971819 which is 1 by 7: temp_mult=1*7=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+7=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=3 +the result of the concatenation is 33 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 971819 is 8 +multiply digit 3 of 971819 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+56=57 +compare the addition result to 10: temp_add=57>=10 +the first digit of temp_add=57 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=33 +the result of the concatenation is 733 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 4 of 971819 is 1 +multiply digit 4 of 971819 which is 1 by 7: temp_mult=1*7=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+7=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=733 +the result of the concatenation is 2733 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 971819 is 7 +multiply digit 5 of 971819 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+49=50 +compare the addition result to 10: temp_add=50>=10 +the first digit of temp_add=50 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=2733 +the result of the concatenation is 02733 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 971819 is 9 +multiply digit 6 of 971819 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+63=68 +compare the addition result to 10: temp_add=68>=10 +the first digit of temp_add=68 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=02733 +the result of the concatenation is 802733 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +final carry=6>0 +the final carry which is 6 is concatenated to the left of the final result which is 802733 +the result of the concatenation is 6802733 +the final_result is 6802733 +",6802733 +multiplying 592619 by 0: 592619*0= ,"carry=0 +digit 1 of 592619 is 9 +multiply digit 1 of 592619 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 592619 is 1 +multiply digit 2 of 592619 which is 1 by 0: temp_mult=1*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 592619 is 6 +multiply digit 3 of 592619 which is 6 by 0: temp_mult=6*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 592619 is 2 +multiply digit 4 of 592619 which is 2 by 0: temp_mult=2*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 592619 is 9 +multiply digit 5 of 592619 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 592619 is 5 +multiply digit 6 of 592619 which is 5 by 0: temp_mult=5*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 206117 by 5: 206117*5= ,"carry=0 +digit 1 of 206117 is 7 +multiply digit 1 of 206117 which is 7 by 5: temp_mult=7*5=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+35=35 +compare the addition result to 10: temp_add=35>=10 +the first digit of temp_add=35 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 206117 is 1 +multiply digit 2 of 206117 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+5=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5 + +the result of the concatenation is 85 +carry=0 +digit 3 of 206117 is 1 +multiply digit 3 of 206117 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+5=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=85 + +the result of the concatenation is 585 +carry=0 +digit 4 of 206117 is 6 +multiply digit 4 of 206117 which is 6 by 5: temp_mult=6*5=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+30=30 +compare the addition result to 10: temp_add=30>=10 +the first digit of temp_add=30 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=585 +the result of the concatenation is 0585 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 206117 is 0 +multiply digit 5 of 206117 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+0=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0585 + +the result of the concatenation is 30585 +carry=0 +digit 6 of 206117 is 2 +multiply digit 6 of 206117 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=30585 +the result of the concatenation is 030585 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 030585 +the result of the concatenation is 1030585 +the final_result is 1030585 +",1030585 +multiplying 347857 by 7: 347857*7= ,"carry=0 +digit 1 of 347857 is 7 +multiply digit 1 of 347857 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+49=49 +compare the addition result to 10: temp_add=49>=10 +the first digit of temp_add=49 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result= +the result of the concatenation is 9 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 347857 is 5 +multiply digit 2 of 347857 which is 5 by 7: temp_mult=5*7=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+35=39 +compare the addition result to 10: temp_add=39>=10 +the first digit of temp_add=39 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=9 +the result of the concatenation is 99 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 347857 is 8 +multiply digit 3 of 347857 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+56=59 +compare the addition result to 10: temp_add=59>=10 +the first digit of temp_add=59 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=99 +the result of the concatenation is 999 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 4 of 347857 is 7 +multiply digit 4 of 347857 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+49=54 +compare the addition result to 10: temp_add=54>=10 +the first digit of temp_add=54 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=999 +the result of the concatenation is 4999 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 347857 is 4 +multiply digit 5 of 347857 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+28=33 +compare the addition result to 10: temp_add=33>=10 +the first digit of temp_add=33 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=4999 +the result of the concatenation is 34999 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 6 of 347857 is 3 +multiply digit 6 of 347857 which is 3 by 7: temp_mult=3*7=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+21=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=34999 +the result of the concatenation is 434999 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 434999 +the result of the concatenation is 2434999 +the final_result is 2434999 +",2434999 +multiplying 740956 by 8: 740956*8= ,"carry=0 +digit 1 of 740956 is 6 +multiply digit 1 of 740956 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+48=48 +compare the addition result to 10: temp_add=48>=10 +the first digit of temp_add=48 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 740956 is 5 +multiply digit 2 of 740956 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+40=44 +compare the addition result to 10: temp_add=44>=10 +the first digit of temp_add=44 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=8 +the result of the concatenation is 48 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 740956 is 9 +multiply digit 3 of 740956 which is 9 by 8: temp_mult=9*8=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+72=76 +compare the addition result to 10: temp_add=76>=10 +the first digit of temp_add=76 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=48 +the result of the concatenation is 648 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 4 of 740956 is 0 +multiply digit 4 of 740956 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+0=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=648 + +the result of the concatenation is 7648 +carry=0 +digit 5 of 740956 is 4 +multiply digit 5 of 740956 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=7648 +the result of the concatenation is 27648 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 6 of 740956 is 7 +multiply digit 6 of 740956 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+56=59 +compare the addition result to 10: temp_add=59>=10 +the first digit of temp_add=59 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=27648 +the result of the concatenation is 927648 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +final carry=5>0 +the final carry which is 5 is concatenated to the left of the final result which is 927648 +the result of the concatenation is 5927648 +the final_result is 5927648 +",5927648 +multiplying 194703 by 2: 194703*2= ,"carry=0 +digit 1 of 194703 is 3 +multiply digit 1 of 194703 which is 3 by 2: temp_mult=3*2=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 6 +carry=0 +digit 2 of 194703 is 0 +multiply digit 2 of 194703 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6 + +the result of the concatenation is 06 +carry=0 +digit 3 of 194703 is 7 +multiply digit 3 of 194703 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=06 +the result of the concatenation is 406 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 194703 is 4 +multiply digit 4 of 194703 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=406 + +the result of the concatenation is 9406 +carry=0 +digit 5 of 194703 is 9 +multiply digit 5 of 194703 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=9406 +the result of the concatenation is 89406 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 194703 is 1 +multiply digit 6 of 194703 which is 1 by 2: temp_mult=1*2=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+2=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=89406 + +the result of the concatenation is 389406 +the final_result is 389406 +",389406 +multiplying 925592 by 2: 925592*2= ,"carry=0 +digit 1 of 925592 is 2 +multiply digit 1 of 925592 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 4 +carry=0 +digit 2 of 925592 is 9 +multiply digit 2 of 925592 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=4 +the result of the concatenation is 84 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 925592 is 5 +multiply digit 3 of 925592 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+10=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=84 +the result of the concatenation is 184 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 925592 is 5 +multiply digit 4 of 925592 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+10=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=184 +the result of the concatenation is 1184 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 925592 is 2 +multiply digit 5 of 925592 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+4=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=1184 + +the result of the concatenation is 51184 +carry=0 +digit 6 of 925592 is 9 +multiply digit 6 of 925592 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=51184 +the result of the concatenation is 851184 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 851184 +the result of the concatenation is 1851184 +the final_result is 1851184 +",1851184 +multiplying 206568 by 2: 206568*2= ,"carry=0 +digit 1 of 206568 is 8 +multiply digit 1 of 206568 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 206568 is 6 +multiply digit 2 of 206568 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+12=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=6 +the result of the concatenation is 36 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 206568 is 5 +multiply digit 3 of 206568 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+10=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=36 +the result of the concatenation is 136 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 206568 is 6 +multiply digit 4 of 206568 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+12=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=136 +the result of the concatenation is 3136 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 206568 is 0 +multiply digit 5 of 206568 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=3136 + +the result of the concatenation is 13136 +carry=0 +digit 6 of 206568 is 2 +multiply digit 6 of 206568 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=13136 + +the result of the concatenation is 413136 +the final_result is 413136 +",413136 +multiplying 443438 by 0: 443438*0= ,"carry=0 +digit 1 of 443438 is 8 +multiply digit 1 of 443438 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 443438 is 3 +multiply digit 2 of 443438 which is 3 by 0: temp_mult=3*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 443438 is 4 +multiply digit 3 of 443438 which is 4 by 0: temp_mult=4*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 443438 is 3 +multiply digit 4 of 443438 which is 3 by 0: temp_mult=3*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 443438 is 4 +multiply digit 5 of 443438 which is 4 by 0: temp_mult=4*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 443438 is 4 +multiply digit 6 of 443438 which is 4 by 0: temp_mult=4*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 465088 by 0: 465088*0= ,"carry=0 +digit 1 of 465088 is 8 +multiply digit 1 of 465088 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 465088 is 8 +multiply digit 2 of 465088 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 465088 is 0 +multiply digit 3 of 465088 which is 0 by 0: temp_mult=0*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 465088 is 5 +multiply digit 4 of 465088 which is 5 by 0: temp_mult=5*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 465088 is 6 +multiply digit 5 of 465088 which is 6 by 0: temp_mult=6*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 465088 is 4 +multiply digit 6 of 465088 which is 4 by 0: temp_mult=4*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 296774 by 6: 296774*6= ,"carry=0 +digit 1 of 296774 is 4 +multiply digit 1 of 296774 which is 4 by 6: temp_mult=4*6=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 296774 is 7 +multiply digit 2 of 296774 which is 7 by 6: temp_mult=7*6=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+42=44 +compare the addition result to 10: temp_add=44>=10 +the first digit of temp_add=44 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=4 +the result of the concatenation is 44 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 296774 is 7 +multiply digit 3 of 296774 which is 7 by 6: temp_mult=7*6=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+42=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=44 +the result of the concatenation is 644 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 296774 is 6 +multiply digit 4 of 296774 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+36=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=644 +the result of the concatenation is 0644 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 296774 is 9 +multiply digit 5 of 296774 which is 9 by 6: temp_mult=9*6=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+54=58 +compare the addition result to 10: temp_add=58>=10 +the first digit of temp_add=58 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=0644 +the result of the concatenation is 80644 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 296774 is 2 +multiply digit 6 of 296774 which is 2 by 6: temp_mult=2*6=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+12=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=80644 +the result of the concatenation is 780644 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 780644 +the result of the concatenation is 1780644 +the final_result is 1780644 +",1780644 +multiplying 58088 by 3: 58088*3= ,"carry=0 +digit 1 of 58088 is 8 +multiply digit 1 of 58088 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 58088 is 8 +multiply digit 2 of 58088 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+24=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=4 +the result of the concatenation is 64 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 58088 is 0 +multiply digit 3 of 58088 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=64 + +the result of the concatenation is 264 +carry=0 +digit 4 of 58088 is 8 +multiply digit 4 of 58088 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=264 +the result of the concatenation is 4264 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 58088 is 5 +multiply digit 5 of 58088 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+15=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=4264 +the result of the concatenation is 74264 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 74264 +the result of the concatenation is 174264 +the final_result is 174264 +",174264 +multiplying 88319 by 9: 88319*9= ,"carry=0 +digit 1 of 88319 is 9 +multiply digit 1 of 88319 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+81=81 +compare the addition result to 10: temp_add=81>=10 +the first digit of temp_add=81 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result= +the result of the concatenation is 1 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +carry=8 +digit 2 of 88319 is 1 +multiply digit 2 of 88319 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=8+9=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=1 +the result of the concatenation is 71 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 88319 is 3 +multiply digit 3 of 88319 which is 3 by 9: temp_mult=3*9=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+27=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=71 +the result of the concatenation is 871 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 88319 is 8 +multiply digit 4 of 88319 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+72=74 +compare the addition result to 10: temp_add=74>=10 +the first digit of temp_add=74 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=871 +the result of the concatenation is 4871 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 5 of 88319 is 8 +multiply digit 5 of 88319 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+72=79 +compare the addition result to 10: temp_add=79>=10 +the first digit of temp_add=79 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=4871 +the result of the concatenation is 94871 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +final carry=7>0 +the final carry which is 7 is concatenated to the left of the final result which is 94871 +the result of the concatenation is 794871 +the final_result is 794871 +",794871 +multiplying 19363 by 6: 19363*6= ,"carry=0 +digit 1 of 19363 is 3 +multiply digit 1 of 19363 which is 3 by 6: temp_mult=3*6=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 19363 is 6 +multiply digit 2 of 19363 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+36=37 +compare the addition result to 10: temp_add=37>=10 +the first digit of temp_add=37 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=8 +the result of the concatenation is 78 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 19363 is 3 +multiply digit 3 of 19363 which is 3 by 6: temp_mult=3*6=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+18=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=78 +the result of the concatenation is 178 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 19363 is 9 +multiply digit 4 of 19363 which is 9 by 6: temp_mult=9*6=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+54=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=178 +the result of the concatenation is 6178 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 19363 is 1 +multiply digit 5 of 19363 which is 1 by 6: temp_mult=1*6=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+6=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=6178 +the result of the concatenation is 16178 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 16178 +the result of the concatenation is 116178 +the final_result is 116178 +",116178 +multiplying 141012 by 5: 141012*5= ,"carry=0 +digit 1 of 141012 is 2 +multiply digit 1 of 141012 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 141012 is 1 +multiply digit 2 of 141012 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+5=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 60 +carry=0 +digit 3 of 141012 is 0 +multiply digit 3 of 141012 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=60 + +the result of the concatenation is 060 +carry=0 +digit 4 of 141012 is 1 +multiply digit 4 of 141012 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+5=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=060 + +the result of the concatenation is 5060 +carry=0 +digit 5 of 141012 is 4 +multiply digit 5 of 141012 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=5060 +the result of the concatenation is 05060 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 141012 is 1 +multiply digit 6 of 141012 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+5=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=05060 + +the result of the concatenation is 705060 +the final_result is 705060 +",705060 +multiplying 401768 by 5: 401768*5= ,"carry=0 +digit 1 of 401768 is 8 +multiply digit 1 of 401768 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+40=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 401768 is 6 +multiply digit 2 of 401768 which is 6 by 5: temp_mult=6*5=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+30=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=0 +the result of the concatenation is 40 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 401768 is 7 +multiply digit 3 of 401768 which is 7 by 5: temp_mult=7*5=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+35=38 +compare the addition result to 10: temp_add=38>=10 +the first digit of temp_add=38 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=40 +the result of the concatenation is 840 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 401768 is 1 +multiply digit 4 of 401768 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+5=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=840 + +the result of the concatenation is 8840 +carry=0 +digit 5 of 401768 is 0 +multiply digit 5 of 401768 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8840 + +the result of the concatenation is 08840 +carry=0 +digit 6 of 401768 is 4 +multiply digit 6 of 401768 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=08840 +the result of the concatenation is 008840 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 008840 +the result of the concatenation is 2008840 +the final_result is 2008840 +",2008840 +multiplying 678414 by 6: 678414*6= ,"carry=0 +digit 1 of 678414 is 4 +multiply digit 1 of 678414 which is 4 by 6: temp_mult=4*6=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 678414 is 1 +multiply digit 2 of 678414 which is 1 by 6: temp_mult=1*6=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+6=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4 + +the result of the concatenation is 84 +carry=0 +digit 3 of 678414 is 4 +multiply digit 3 of 678414 which is 4 by 6: temp_mult=4*6=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=84 +the result of the concatenation is 484 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 678414 is 8 +multiply digit 4 of 678414 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+48=50 +compare the addition result to 10: temp_add=50>=10 +the first digit of temp_add=50 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=484 +the result of the concatenation is 0484 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 678414 is 7 +multiply digit 5 of 678414 which is 7 by 6: temp_mult=7*6=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+42=47 +compare the addition result to 10: temp_add=47>=10 +the first digit of temp_add=47 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=0484 +the result of the concatenation is 70484 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 678414 is 6 +multiply digit 6 of 678414 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+36=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=70484 +the result of the concatenation is 070484 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 070484 +the result of the concatenation is 4070484 +the final_result is 4070484 +",4070484 +multiplying 672248 by 2: 672248*2= ,"carry=0 +digit 1 of 672248 is 8 +multiply digit 1 of 672248 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 672248 is 4 +multiply digit 2 of 672248 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6 + +the result of the concatenation is 96 +carry=0 +digit 3 of 672248 is 2 +multiply digit 3 of 672248 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=96 + +the result of the concatenation is 496 +carry=0 +digit 4 of 672248 is 2 +multiply digit 4 of 672248 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=496 + +the result of the concatenation is 4496 +carry=0 +digit 5 of 672248 is 7 +multiply digit 5 of 672248 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=4496 +the result of the concatenation is 44496 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 672248 is 6 +multiply digit 6 of 672248 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+12=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=44496 +the result of the concatenation is 344496 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 344496 +the result of the concatenation is 1344496 +the final_result is 1344496 +",1344496 +multiplying 122623 by 1: 122623*1= ,"carry=0 +digit 1 of 122623 is 3 +multiply digit 1 of 122623 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 3 +carry=0 +digit 2 of 122623 is 2 +multiply digit 2 of 122623 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=3 + +the result of the concatenation is 23 +carry=0 +digit 3 of 122623 is 6 +multiply digit 3 of 122623 which is 6 by 1: temp_mult=6*1=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=23 + +the result of the concatenation is 623 +carry=0 +digit 4 of 122623 is 2 +multiply digit 4 of 122623 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=623 + +the result of the concatenation is 2623 +carry=0 +digit 5 of 122623 is 2 +multiply digit 5 of 122623 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2623 + +the result of the concatenation is 22623 +carry=0 +digit 6 of 122623 is 1 +multiply digit 6 of 122623 which is 1 by 1: temp_mult=1*1=1 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+1=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=22623 + +the result of the concatenation is 122623 +the final_result is 122623 +",122623 +multiplying 579134 by 2: 579134*2= ,"carry=0 +digit 1 of 579134 is 4 +multiply digit 1 of 579134 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 8 +carry=0 +digit 2 of 579134 is 3 +multiply digit 2 of 579134 which is 3 by 2: temp_mult=3*2=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8 + +the result of the concatenation is 68 +carry=0 +digit 3 of 579134 is 1 +multiply digit 3 of 579134 which is 1 by 2: temp_mult=1*2=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=68 + +the result of the concatenation is 268 +carry=0 +digit 4 of 579134 is 9 +multiply digit 4 of 579134 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=268 +the result of the concatenation is 8268 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 579134 is 7 +multiply digit 5 of 579134 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+14=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=8268 +the result of the concatenation is 58268 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 579134 is 5 +multiply digit 6 of 579134 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+10=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=58268 +the result of the concatenation is 158268 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 158268 +the result of the concatenation is 1158268 +the final_result is 1158268 +",1158268 +multiplying 637405 by 3: 637405*3= ,"carry=0 +digit 1 of 637405 is 5 +multiply digit 1 of 637405 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+15=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 637405 is 0 +multiply digit 2 of 637405 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5 + +the result of the concatenation is 15 +carry=0 +digit 3 of 637405 is 4 +multiply digit 3 of 637405 which is 4 by 3: temp_mult=4*3=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=15 +the result of the concatenation is 215 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 637405 is 7 +multiply digit 4 of 637405 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+21=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=215 +the result of the concatenation is 2215 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 637405 is 3 +multiply digit 5 of 637405 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+9=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=2215 +the result of the concatenation is 12215 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 637405 is 6 +multiply digit 6 of 637405 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+18=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=12215 +the result of the concatenation is 912215 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 912215 +the result of the concatenation is 1912215 +the final_result is 1912215 +",1912215 +multiplying 807633 by 9: 807633*9= ,"carry=0 +digit 1 of 807633 is 3 +multiply digit 1 of 807633 which is 3 by 9: temp_mult=3*9=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+27=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result= +the result of the concatenation is 7 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 807633 is 3 +multiply digit 2 of 807633 which is 3 by 9: temp_mult=3*9=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+27=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=7 +the result of the concatenation is 97 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 807633 is 6 +multiply digit 3 of 807633 which is 6 by 9: temp_mult=6*9=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+54=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=97 +the result of the concatenation is 697 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 4 of 807633 is 7 +multiply digit 4 of 807633 which is 7 by 9: temp_mult=7*9=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+63=68 +compare the addition result to 10: temp_add=68>=10 +the first digit of temp_add=68 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=697 +the result of the concatenation is 8697 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 807633 is 0 +multiply digit 5 of 807633 which is 0 by 9: temp_mult=0*9=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+0=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8697 + +the result of the concatenation is 68697 +carry=0 +digit 6 of 807633 is 8 +multiply digit 6 of 807633 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+72=72 +compare the addition result to 10: temp_add=72>=10 +the first digit of temp_add=72 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=68697 +the result of the concatenation is 268697 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +final carry=7>0 +the final carry which is 7 is concatenated to the left of the final result which is 268697 +the result of the concatenation is 7268697 +the final_result is 7268697 +",7268697 +multiplying 709455 by 8: 709455*8= ,"carry=0 +digit 1 of 709455 is 5 +multiply digit 1 of 709455 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+40=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 709455 is 5 +multiply digit 2 of 709455 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+40=44 +compare the addition result to 10: temp_add=44>=10 +the first digit of temp_add=44 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=0 +the result of the concatenation is 40 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 709455 is 4 +multiply digit 3 of 709455 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+32=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=40 +the result of the concatenation is 640 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 709455 is 9 +multiply digit 4 of 709455 which is 9 by 8: temp_mult=9*8=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+72=75 +compare the addition result to 10: temp_add=75>=10 +the first digit of temp_add=75 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=640 +the result of the concatenation is 5640 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 5 of 709455 is 0 +multiply digit 5 of 709455 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+0=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5640 + +the result of the concatenation is 75640 +carry=0 +digit 6 of 709455 is 7 +multiply digit 6 of 709455 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+56=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=75640 +the result of the concatenation is 675640 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +final carry=5>0 +the final carry which is 5 is concatenated to the left of the final result which is 675640 +the result of the concatenation is 5675640 +the final_result is 5675640 +",5675640 +multiplying 493536 by 3: 493536*3= ,"carry=0 +digit 1 of 493536 is 6 +multiply digit 1 of 493536 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 493536 is 3 +multiply digit 2 of 493536 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+9=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=8 +the result of the concatenation is 08 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 493536 is 5 +multiply digit 3 of 493536 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+15=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=08 +the result of the concatenation is 608 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 493536 is 3 +multiply digit 4 of 493536 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+9=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=608 +the result of the concatenation is 0608 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 493536 is 9 +multiply digit 5 of 493536 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+27=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=0608 +the result of the concatenation is 80608 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 493536 is 4 +multiply digit 6 of 493536 which is 4 by 3: temp_mult=4*3=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+12=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=80608 +the result of the concatenation is 480608 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 480608 +the result of the concatenation is 1480608 +the final_result is 1480608 +",1480608 +multiplying 570419 by 9: 570419*9= ,"carry=0 +digit 1 of 570419 is 9 +multiply digit 1 of 570419 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+81=81 +compare the addition result to 10: temp_add=81>=10 +the first digit of temp_add=81 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result= +the result of the concatenation is 1 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +carry=8 +digit 2 of 570419 is 1 +multiply digit 2 of 570419 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=8+9=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=1 +the result of the concatenation is 71 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 570419 is 4 +multiply digit 3 of 570419 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+36=37 +compare the addition result to 10: temp_add=37>=10 +the first digit of temp_add=37 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=71 +the result of the concatenation is 771 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 570419 is 0 +multiply digit 4 of 570419 which is 0 by 9: temp_mult=0*9=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+0=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=771 + +the result of the concatenation is 3771 +carry=0 +digit 5 of 570419 is 7 +multiply digit 5 of 570419 which is 7 by 9: temp_mult=7*9=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+63=63 +compare the addition result to 10: temp_add=63>=10 +the first digit of temp_add=63 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=3771 +the result of the concatenation is 33771 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 6 of 570419 is 5 +multiply digit 6 of 570419 which is 5 by 9: temp_mult=5*9=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+45=51 +compare the addition result to 10: temp_add=51>=10 +the first digit of temp_add=51 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=33771 +the result of the concatenation is 133771 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +final carry=5>0 +the final carry which is 5 is concatenated to the left of the final result which is 133771 +the result of the concatenation is 5133771 +the final_result is 5133771 +",5133771 +multiplying 388405 by 8: 388405*8= ,"carry=0 +digit 1 of 388405 is 5 +multiply digit 1 of 388405 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+40=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 388405 is 0 +multiply digit 2 of 388405 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+0=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 40 +carry=0 +digit 3 of 388405 is 4 +multiply digit 3 of 388405 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=40 +the result of the concatenation is 240 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 388405 is 8 +multiply digit 4 of 388405 which is 8 by 8: temp_mult=8*8=64 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+64=67 +compare the addition result to 10: temp_add=67>=10 +the first digit of temp_add=67 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=240 +the result of the concatenation is 7240 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 388405 is 8 +multiply digit 5 of 388405 which is 8 by 8: temp_mult=8*8=64 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+64=70 +compare the addition result to 10: temp_add=70>=10 +the first digit of temp_add=70 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=7240 +the result of the concatenation is 07240 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 6 of 388405 is 3 +multiply digit 6 of 388405 which is 3 by 8: temp_mult=3*8=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+24=31 +compare the addition result to 10: temp_add=31>=10 +the first digit of temp_add=31 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=07240 +the result of the concatenation is 107240 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 107240 +the result of the concatenation is 3107240 +the final_result is 3107240 +",3107240 +multiplying 134072 by 8: 134072*8= ,"carry=0 +digit 1 of 134072 is 2 +multiply digit 1 of 134072 which is 2 by 8: temp_mult=2*8=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 134072 is 7 +multiply digit 2 of 134072 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+56=57 +compare the addition result to 10: temp_add=57>=10 +the first digit of temp_add=57 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=6 +the result of the concatenation is 76 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 3 of 134072 is 0 +multiply digit 3 of 134072 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+0=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=76 + +the result of the concatenation is 576 +carry=0 +digit 4 of 134072 is 4 +multiply digit 4 of 134072 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=576 +the result of the concatenation is 2576 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 134072 is 3 +multiply digit 5 of 134072 which is 3 by 8: temp_mult=3*8=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+24=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=2576 +the result of the concatenation is 72576 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 134072 is 1 +multiply digit 6 of 134072 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+8=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=72576 +the result of the concatenation is 072576 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 072576 +the result of the concatenation is 1072576 +the final_result is 1072576 +",1072576 +multiplying 683038 by 6: 683038*6= ,"carry=0 +digit 1 of 683038 is 8 +multiply digit 1 of 683038 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+48=48 +compare the addition result to 10: temp_add=48>=10 +the first digit of temp_add=48 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 683038 is 3 +multiply digit 2 of 683038 which is 3 by 6: temp_mult=3*6=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+18=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=8 +the result of the concatenation is 28 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 683038 is 0 +multiply digit 3 of 683038 which is 0 by 6: temp_mult=0*6=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=28 + +the result of the concatenation is 228 +carry=0 +digit 4 of 683038 is 3 +multiply digit 4 of 683038 which is 3 by 6: temp_mult=3*6=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=228 +the result of the concatenation is 8228 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 683038 is 8 +multiply digit 5 of 683038 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+48=49 +compare the addition result to 10: temp_add=49>=10 +the first digit of temp_add=49 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=8228 +the result of the concatenation is 98228 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 683038 is 6 +multiply digit 6 of 683038 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+36=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=98228 +the result of the concatenation is 098228 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 098228 +the result of the concatenation is 4098228 +the final_result is 4098228 +",4098228 +multiplying 209885 by 2: 209885*2= ,"carry=0 +digit 1 of 209885 is 5 +multiply digit 1 of 209885 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 209885 is 8 +multiply digit 2 of 209885 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+16=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=0 +the result of the concatenation is 70 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 209885 is 8 +multiply digit 3 of 209885 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+16=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=70 +the result of the concatenation is 770 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 209885 is 9 +multiply digit 4 of 209885 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+18=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=770 +the result of the concatenation is 9770 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 209885 is 0 +multiply digit 5 of 209885 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=9770 + +the result of the concatenation is 19770 +carry=0 +digit 6 of 209885 is 2 +multiply digit 6 of 209885 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=19770 + +the result of the concatenation is 419770 +the final_result is 419770 +",419770 +multiplying 831394 by 3: 831394*3= ,"carry=0 +digit 1 of 831394 is 4 +multiply digit 1 of 831394 which is 4 by 3: temp_mult=4*3=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 831394 is 9 +multiply digit 2 of 831394 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+27=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=2 +the result of the concatenation is 82 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 831394 is 3 +multiply digit 3 of 831394 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+9=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=82 +the result of the concatenation is 182 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 831394 is 1 +multiply digit 4 of 831394 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+3=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=182 + +the result of the concatenation is 4182 +carry=0 +digit 5 of 831394 is 3 +multiply digit 5 of 831394 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4182 + +the result of the concatenation is 94182 +carry=0 +digit 6 of 831394 is 8 +multiply digit 6 of 831394 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=94182 +the result of the concatenation is 494182 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 494182 +the result of the concatenation is 2494182 +the final_result is 2494182 +",2494182 +multiplying 413515 by 9: 413515*9= ,"carry=0 +digit 1 of 413515 is 5 +multiply digit 1 of 413515 which is 5 by 9: temp_mult=5*9=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+45=45 +compare the addition result to 10: temp_add=45>=10 +the first digit of temp_add=45 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 413515 is 1 +multiply digit 2 of 413515 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+9=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=5 +the result of the concatenation is 35 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 413515 is 5 +multiply digit 3 of 413515 which is 5 by 9: temp_mult=5*9=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+45=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=35 +the result of the concatenation is 635 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 413515 is 3 +multiply digit 4 of 413515 which is 3 by 9: temp_mult=3*9=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+27=31 +compare the addition result to 10: temp_add=31>=10 +the first digit of temp_add=31 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=635 +the result of the concatenation is 1635 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 413515 is 1 +multiply digit 5 of 413515 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+9=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=1635 +the result of the concatenation is 21635 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 413515 is 4 +multiply digit 6 of 413515 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+36=37 +compare the addition result to 10: temp_add=37>=10 +the first digit of temp_add=37 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=21635 +the result of the concatenation is 721635 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 721635 +the result of the concatenation is 3721635 +the final_result is 3721635 +",3721635 +multiplying 588958 by 7: 588958*7= ,"carry=0 +digit 1 of 588958 is 8 +multiply digit 1 of 588958 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+56=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 2 of 588958 is 5 +multiply digit 2 of 588958 which is 5 by 7: temp_mult=5*7=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+35=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=6 +the result of the concatenation is 06 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 588958 is 9 +multiply digit 3 of 588958 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+63=67 +compare the addition result to 10: temp_add=67>=10 +the first digit of temp_add=67 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=06 +the result of the concatenation is 706 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 4 of 588958 is 8 +multiply digit 4 of 588958 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+56=62 +compare the addition result to 10: temp_add=62>=10 +the first digit of temp_add=62 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=706 +the result of the concatenation is 2706 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 588958 is 8 +multiply digit 5 of 588958 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+56=62 +compare the addition result to 10: temp_add=62>=10 +the first digit of temp_add=62 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=2706 +the result of the concatenation is 22706 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 6 of 588958 is 5 +multiply digit 6 of 588958 which is 5 by 7: temp_mult=5*7=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+35=41 +compare the addition result to 10: temp_add=41>=10 +the first digit of temp_add=41 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=22706 +the result of the concatenation is 122706 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 122706 +the result of the concatenation is 4122706 +the final_result is 4122706 +",4122706 +multiplying 588324 by 7: 588324*7= ,"carry=0 +digit 1 of 588324 is 4 +multiply digit 1 of 588324 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+28=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 588324 is 2 +multiply digit 2 of 588324 which is 2 by 7: temp_mult=2*7=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+14=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=8 +the result of the concatenation is 68 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 588324 is 3 +multiply digit 3 of 588324 which is 3 by 7: temp_mult=3*7=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+21=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=68 +the result of the concatenation is 268 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 588324 is 8 +multiply digit 4 of 588324 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+56=58 +compare the addition result to 10: temp_add=58>=10 +the first digit of temp_add=58 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=268 +the result of the concatenation is 8268 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 588324 is 8 +multiply digit 5 of 588324 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+56=61 +compare the addition result to 10: temp_add=61>=10 +the first digit of temp_add=61 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=8268 +the result of the concatenation is 18268 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 6 of 588324 is 5 +multiply digit 6 of 588324 which is 5 by 7: temp_mult=5*7=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+35=41 +compare the addition result to 10: temp_add=41>=10 +the first digit of temp_add=41 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=18268 +the result of the concatenation is 118268 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 118268 +the result of the concatenation is 4118268 +the final_result is 4118268 +",4118268 +multiplying 924771 by 1: 924771*1= ,"carry=0 +digit 1 of 924771 is 1 +multiply digit 1 of 924771 which is 1 by 1: temp_mult=1*1=1 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+1=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 1 +carry=0 +digit 2 of 924771 is 7 +multiply digit 2 of 924771 which is 7 by 1: temp_mult=7*1=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=1 + +the result of the concatenation is 71 +carry=0 +digit 3 of 924771 is 7 +multiply digit 3 of 924771 which is 7 by 1: temp_mult=7*1=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=71 + +the result of the concatenation is 771 +carry=0 +digit 4 of 924771 is 4 +multiply digit 4 of 924771 which is 4 by 1: temp_mult=4*1=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=771 + +the result of the concatenation is 4771 +carry=0 +digit 5 of 924771 is 2 +multiply digit 5 of 924771 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4771 + +the result of the concatenation is 24771 +carry=0 +digit 6 of 924771 is 9 +multiply digit 6 of 924771 which is 9 by 1: temp_mult=9*1=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=24771 + +the result of the concatenation is 924771 +the final_result is 924771 +",924771 +multiplying 881509 by 3: 881509*3= ,"carry=0 +digit 1 of 881509 is 9 +multiply digit 1 of 881509 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+27=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result= +the result of the concatenation is 7 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 881509 is 0 +multiply digit 2 of 881509 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7 + +the result of the concatenation is 27 +carry=0 +digit 3 of 881509 is 5 +multiply digit 3 of 881509 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+15=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=27 +the result of the concatenation is 527 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 881509 is 1 +multiply digit 4 of 881509 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+3=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=527 + +the result of the concatenation is 4527 +carry=0 +digit 5 of 881509 is 8 +multiply digit 5 of 881509 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=4527 +the result of the concatenation is 44527 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 881509 is 8 +multiply digit 6 of 881509 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+24=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=44527 +the result of the concatenation is 644527 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 644527 +the result of the concatenation is 2644527 +the final_result is 2644527 +",2644527 +multiplying 36571 by 8: 36571*8= ,"carry=0 +digit 1 of 36571 is 1 +multiply digit 1 of 36571 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 8 +carry=0 +digit 2 of 36571 is 7 +multiply digit 2 of 36571 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+56=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=8 +the result of the concatenation is 68 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 3 of 36571 is 5 +multiply digit 3 of 36571 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+40=45 +compare the addition result to 10: temp_add=45>=10 +the first digit of temp_add=45 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=68 +the result of the concatenation is 568 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 36571 is 6 +multiply digit 4 of 36571 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+48=52 +compare the addition result to 10: temp_add=52>=10 +the first digit of temp_add=52 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=568 +the result of the concatenation is 2568 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 36571 is 3 +multiply digit 5 of 36571 which is 3 by 8: temp_mult=3*8=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+24=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=2568 +the result of the concatenation is 92568 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 92568 +the result of the concatenation is 292568 +the final_result is 292568 +",292568 +multiplying 33000 by 5: 33000*5= ,"carry=0 +digit 1 of 33000 is 0 +multiply digit 1 of 33000 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 33000 is 0 +multiply digit 2 of 33000 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 33000 is 0 +multiply digit 3 of 33000 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 33000 is 3 +multiply digit 4 of 33000 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+15=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=000 +the result of the concatenation is 5000 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 33000 is 3 +multiply digit 5 of 33000 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+15=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=5000 +the result of the concatenation is 65000 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 65000 +the result of the concatenation is 165000 +the final_result is 165000 +",165000 +multiplying 610596 by 4: 610596*4= ,"carry=0 +digit 1 of 610596 is 6 +multiply digit 1 of 610596 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 610596 is 9 +multiply digit 2 of 610596 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+36=38 +compare the addition result to 10: temp_add=38>=10 +the first digit of temp_add=38 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=4 +the result of the concatenation is 84 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 610596 is 5 +multiply digit 3 of 610596 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+20=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=84 +the result of the concatenation is 384 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 610596 is 0 +multiply digit 4 of 610596 which is 0 by 4: temp_mult=0*4=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=384 + +the result of the concatenation is 2384 +carry=0 +digit 5 of 610596 is 1 +multiply digit 5 of 610596 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2384 + +the result of the concatenation is 42384 +carry=0 +digit 6 of 610596 is 6 +multiply digit 6 of 610596 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=42384 +the result of the concatenation is 442384 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 442384 +the result of the concatenation is 2442384 +the final_result is 2442384 +",2442384 +multiplying 643420 by 2: 643420*2= ,"carry=0 +digit 1 of 643420 is 0 +multiply digit 1 of 643420 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 643420 is 2 +multiply digit 2 of 643420 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 40 +carry=0 +digit 3 of 643420 is 4 +multiply digit 3 of 643420 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=40 + +the result of the concatenation is 840 +carry=0 +digit 4 of 643420 is 3 +multiply digit 4 of 643420 which is 3 by 2: temp_mult=3*2=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=840 + +the result of the concatenation is 6840 +carry=0 +digit 5 of 643420 is 4 +multiply digit 5 of 643420 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6840 + +the result of the concatenation is 86840 +carry=0 +digit 6 of 643420 is 6 +multiply digit 6 of 643420 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=86840 +the result of the concatenation is 286840 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 286840 +the result of the concatenation is 1286840 +the final_result is 1286840 +",1286840 +multiplying 660629 by 4: 660629*4= ,"carry=0 +digit 1 of 660629 is 9 +multiply digit 1 of 660629 which is 9 by 4: temp_mult=9*4=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+36=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 660629 is 2 +multiply digit 2 of 660629 which is 2 by 4: temp_mult=2*4=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+8=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=6 +the result of the concatenation is 16 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 660629 is 6 +multiply digit 3 of 660629 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+24=25 +compare the addition result to 10: temp_add=25>=10 +the first digit of temp_add=25 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=16 +the result of the concatenation is 516 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 660629 is 0 +multiply digit 4 of 660629 which is 0 by 4: temp_mult=0*4=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=516 + +the result of the concatenation is 2516 +carry=0 +digit 5 of 660629 is 6 +multiply digit 5 of 660629 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=2516 +the result of the concatenation is 42516 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 660629 is 6 +multiply digit 6 of 660629 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+24=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=42516 +the result of the concatenation is 642516 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 642516 +the result of the concatenation is 2642516 +the final_result is 2642516 +",2642516 +multiplying 315042 by 3: 315042*3= ,"carry=0 +digit 1 of 315042 is 2 +multiply digit 1 of 315042 which is 2 by 3: temp_mult=2*3=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 6 +carry=0 +digit 2 of 315042 is 4 +multiply digit 2 of 315042 which is 4 by 3: temp_mult=4*3=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=6 +the result of the concatenation is 26 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 315042 is 0 +multiply digit 3 of 315042 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=26 + +the result of the concatenation is 126 +carry=0 +digit 4 of 315042 is 5 +multiply digit 4 of 315042 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+15=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=126 +the result of the concatenation is 5126 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 315042 is 1 +multiply digit 5 of 315042 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+3=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5126 + +the result of the concatenation is 45126 +carry=0 +digit 6 of 315042 is 3 +multiply digit 6 of 315042 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=45126 + +the result of the concatenation is 945126 +the final_result is 945126 +",945126 +multiplying 307090 by 1: 307090*1= ,"carry=0 +digit 1 of 307090 is 0 +multiply digit 1 of 307090 which is 0 by 1: temp_mult=0*1=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 307090 is 9 +multiply digit 2 of 307090 which is 9 by 1: temp_mult=9*1=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 90 +carry=0 +digit 3 of 307090 is 0 +multiply digit 3 of 307090 which is 0 by 1: temp_mult=0*1=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=90 + +the result of the concatenation is 090 +carry=0 +digit 4 of 307090 is 7 +multiply digit 4 of 307090 which is 7 by 1: temp_mult=7*1=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=090 + +the result of the concatenation is 7090 +carry=0 +digit 5 of 307090 is 0 +multiply digit 5 of 307090 which is 0 by 1: temp_mult=0*1=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7090 + +the result of the concatenation is 07090 +carry=0 +digit 6 of 307090 is 3 +multiply digit 6 of 307090 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=07090 + +the result of the concatenation is 307090 +the final_result is 307090 +",307090 +multiplying 244519 by 2: 244519*2= ,"carry=0 +digit 1 of 244519 is 9 +multiply digit 1 of 244519 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 244519 is 1 +multiply digit 2 of 244519 which is 1 by 2: temp_mult=1*2=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+2=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8 + +the result of the concatenation is 38 +carry=0 +digit 3 of 244519 is 5 +multiply digit 3 of 244519 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=38 +the result of the concatenation is 038 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 244519 is 4 +multiply digit 4 of 244519 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=038 + +the result of the concatenation is 9038 +carry=0 +digit 5 of 244519 is 4 +multiply digit 5 of 244519 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=9038 + +the result of the concatenation is 89038 +carry=0 +digit 6 of 244519 is 2 +multiply digit 6 of 244519 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=89038 + +the result of the concatenation is 489038 +the final_result is 489038 +",489038 +multiplying 616544 by 2: 616544*2= ,"carry=0 +digit 1 of 616544 is 4 +multiply digit 1 of 616544 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 8 +carry=0 +digit 2 of 616544 is 4 +multiply digit 2 of 616544 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8 + +the result of the concatenation is 88 +carry=0 +digit 3 of 616544 is 5 +multiply digit 3 of 616544 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=88 +the result of the concatenation is 088 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 616544 is 6 +multiply digit 4 of 616544 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+12=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=088 +the result of the concatenation is 3088 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 616544 is 1 +multiply digit 5 of 616544 which is 1 by 2: temp_mult=1*2=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+2=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=3088 + +the result of the concatenation is 33088 +carry=0 +digit 6 of 616544 is 6 +multiply digit 6 of 616544 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=33088 +the result of the concatenation is 233088 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 233088 +the result of the concatenation is 1233088 +the final_result is 1233088 +",1233088 +multiplying 641065 by 1: 641065*1= ,"carry=0 +digit 1 of 641065 is 5 +multiply digit 1 of 641065 which is 5 by 1: temp_mult=5*1=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+5=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 5 +carry=0 +digit 2 of 641065 is 6 +multiply digit 2 of 641065 which is 6 by 1: temp_mult=6*1=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5 + +the result of the concatenation is 65 +carry=0 +digit 3 of 641065 is 0 +multiply digit 3 of 641065 which is 0 by 1: temp_mult=0*1=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=65 + +the result of the concatenation is 065 +carry=0 +digit 4 of 641065 is 1 +multiply digit 4 of 641065 which is 1 by 1: temp_mult=1*1=1 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+1=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=065 + +the result of the concatenation is 1065 +carry=0 +digit 5 of 641065 is 4 +multiply digit 5 of 641065 which is 4 by 1: temp_mult=4*1=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=1065 + +the result of the concatenation is 41065 +carry=0 +digit 6 of 641065 is 6 +multiply digit 6 of 641065 which is 6 by 1: temp_mult=6*1=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=41065 + +the result of the concatenation is 641065 +the final_result is 641065 +",641065 +multiplying 470188 by 7: 470188*7= ,"carry=0 +digit 1 of 470188 is 8 +multiply digit 1 of 470188 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+56=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 2 of 470188 is 8 +multiply digit 2 of 470188 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+56=61 +compare the addition result to 10: temp_add=61>=10 +the first digit of temp_add=61 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=6 +the result of the concatenation is 16 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 3 of 470188 is 1 +multiply digit 3 of 470188 which is 1 by 7: temp_mult=1*7=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+7=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=16 +the result of the concatenation is 316 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 470188 is 0 +multiply digit 4 of 470188 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=316 + +the result of the concatenation is 1316 +carry=0 +digit 5 of 470188 is 7 +multiply digit 5 of 470188 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+49=49 +compare the addition result to 10: temp_add=49>=10 +the first digit of temp_add=49 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=1316 +the result of the concatenation is 91316 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 470188 is 4 +multiply digit 6 of 470188 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+28=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=91316 +the result of the concatenation is 291316 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 291316 +the result of the concatenation is 3291316 +the final_result is 3291316 +",3291316 +multiplying 172610 by 3: 172610*3= ,"carry=0 +digit 1 of 172610 is 0 +multiply digit 1 of 172610 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 172610 is 1 +multiply digit 2 of 172610 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 30 +carry=0 +digit 3 of 172610 is 6 +multiply digit 3 of 172610 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=30 +the result of the concatenation is 830 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 172610 is 2 +multiply digit 4 of 172610 which is 2 by 3: temp_mult=2*3=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+6=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=830 + +the result of the concatenation is 7830 +carry=0 +digit 5 of 172610 is 7 +multiply digit 5 of 172610 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+21=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=7830 +the result of the concatenation is 17830 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 172610 is 1 +multiply digit 6 of 172610 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+3=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=17830 + +the result of the concatenation is 517830 +the final_result is 517830 +",517830 +multiplying 144809 by 9: 144809*9= ,"carry=0 +digit 1 of 144809 is 9 +multiply digit 1 of 144809 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+81=81 +compare the addition result to 10: temp_add=81>=10 +the first digit of temp_add=81 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result= +the result of the concatenation is 1 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +carry=8 +digit 2 of 144809 is 0 +multiply digit 2 of 144809 which is 0 by 9: temp_mult=0*9=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=8+0=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=1 + +the result of the concatenation is 81 +carry=0 +digit 3 of 144809 is 8 +multiply digit 3 of 144809 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+72=72 +compare the addition result to 10: temp_add=72>=10 +the first digit of temp_add=72 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=81 +the result of the concatenation is 281 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 4 of 144809 is 4 +multiply digit 4 of 144809 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+36=43 +compare the addition result to 10: temp_add=43>=10 +the first digit of temp_add=43 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=281 +the result of the concatenation is 3281 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 144809 is 4 +multiply digit 5 of 144809 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+36=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=3281 +the result of the concatenation is 03281 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 144809 is 1 +multiply digit 6 of 144809 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+9=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=03281 +the result of the concatenation is 303281 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 303281 +the result of the concatenation is 1303281 +the final_result is 1303281 +",1303281 +multiplying 470776 by 2: 470776*2= ,"carry=0 +digit 1 of 470776 is 6 +multiply digit 1 of 470776 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 470776 is 7 +multiply digit 2 of 470776 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+14=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=2 +the result of the concatenation is 52 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 470776 is 7 +multiply digit 3 of 470776 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+14=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=52 +the result of the concatenation is 552 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 470776 is 0 +multiply digit 4 of 470776 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=552 + +the result of the concatenation is 1552 +carry=0 +digit 5 of 470776 is 7 +multiply digit 5 of 470776 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=1552 +the result of the concatenation is 41552 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 470776 is 4 +multiply digit 6 of 470776 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=41552 + +the result of the concatenation is 941552 +the final_result is 941552 +",941552 +multiplying 679537 by 5: 679537*5= ,"carry=0 +digit 1 of 679537 is 7 +multiply digit 1 of 679537 which is 7 by 5: temp_mult=7*5=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+35=35 +compare the addition result to 10: temp_add=35>=10 +the first digit of temp_add=35 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 679537 is 3 +multiply digit 2 of 679537 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+15=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=5 +the result of the concatenation is 85 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 679537 is 5 +multiply digit 3 of 679537 which is 5 by 5: temp_mult=5*5=25 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+25=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=85 +the result of the concatenation is 685 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 679537 is 9 +multiply digit 4 of 679537 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+45=47 +compare the addition result to 10: temp_add=47>=10 +the first digit of temp_add=47 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=685 +the result of the concatenation is 7685 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 679537 is 7 +multiply digit 5 of 679537 which is 7 by 5: temp_mult=7*5=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+35=39 +compare the addition result to 10: temp_add=39>=10 +the first digit of temp_add=39 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=7685 +the result of the concatenation is 97685 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 6 of 679537 is 6 +multiply digit 6 of 679537 which is 6 by 5: temp_mult=6*5=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+30=33 +compare the addition result to 10: temp_add=33>=10 +the first digit of temp_add=33 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=97685 +the result of the concatenation is 397685 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 397685 +the result of the concatenation is 3397685 +the final_result is 3397685 +",3397685 +multiplying 482027 by 1: 482027*1= ,"carry=0 +digit 1 of 482027 is 7 +multiply digit 1 of 482027 which is 7 by 1: temp_mult=7*1=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 7 +carry=0 +digit 2 of 482027 is 2 +multiply digit 2 of 482027 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7 + +the result of the concatenation is 27 +carry=0 +digit 3 of 482027 is 0 +multiply digit 3 of 482027 which is 0 by 1: temp_mult=0*1=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=27 + +the result of the concatenation is 027 +carry=0 +digit 4 of 482027 is 2 +multiply digit 4 of 482027 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=027 + +the result of the concatenation is 2027 +carry=0 +digit 5 of 482027 is 8 +multiply digit 5 of 482027 which is 8 by 1: temp_mult=8*1=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2027 + +the result of the concatenation is 82027 +carry=0 +digit 6 of 482027 is 4 +multiply digit 6 of 482027 which is 4 by 1: temp_mult=4*1=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=82027 + +the result of the concatenation is 482027 +the final_result is 482027 +",482027 +multiplying 793589 by 6: 793589*6= ,"carry=0 +digit 1 of 793589 is 9 +multiply digit 1 of 793589 which is 9 by 6: temp_mult=9*6=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+54=54 +compare the addition result to 10: temp_add=54>=10 +the first digit of temp_add=54 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 2 of 793589 is 8 +multiply digit 2 of 793589 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+48=53 +compare the addition result to 10: temp_add=53>=10 +the first digit of temp_add=53 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=4 +the result of the concatenation is 34 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 3 of 793589 is 5 +multiply digit 3 of 793589 which is 5 by 6: temp_mult=5*6=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+30=35 +compare the addition result to 10: temp_add=35>=10 +the first digit of temp_add=35 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=34 +the result of the concatenation is 534 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 793589 is 3 +multiply digit 4 of 793589 which is 3 by 6: temp_mult=3*6=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+18=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=534 +the result of the concatenation is 1534 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 793589 is 9 +multiply digit 5 of 793589 which is 9 by 6: temp_mult=9*6=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+54=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=1534 +the result of the concatenation is 61534 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 793589 is 7 +multiply digit 6 of 793589 which is 7 by 6: temp_mult=7*6=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+42=47 +compare the addition result to 10: temp_add=47>=10 +the first digit of temp_add=47 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=61534 +the result of the concatenation is 761534 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 761534 +the result of the concatenation is 4761534 +the final_result is 4761534 +",4761534 +multiplying 197680 by 9: 197680*9= ,"carry=0 +digit 1 of 197680 is 0 +multiply digit 1 of 197680 which is 0 by 9: temp_mult=0*9=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 197680 is 8 +multiply digit 2 of 197680 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+72=72 +compare the addition result to 10: temp_add=72>=10 +the first digit of temp_add=72 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=0 +the result of the concatenation is 20 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 3 of 197680 is 6 +multiply digit 3 of 197680 which is 6 by 9: temp_mult=6*9=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+54=61 +compare the addition result to 10: temp_add=61>=10 +the first digit of temp_add=61 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=20 +the result of the concatenation is 120 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 4 of 197680 is 7 +multiply digit 4 of 197680 which is 7 by 9: temp_mult=7*9=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+63=69 +compare the addition result to 10: temp_add=69>=10 +the first digit of temp_add=69 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=120 +the result of the concatenation is 9120 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 197680 is 9 +multiply digit 5 of 197680 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+81=87 +compare the addition result to 10: temp_add=87>=10 +the first digit of temp_add=87 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=9120 +the result of the concatenation is 79120 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +carry=8 +digit 6 of 197680 is 1 +multiply digit 6 of 197680 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=8+9=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=79120 +the result of the concatenation is 779120 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 779120 +the result of the concatenation is 1779120 +the final_result is 1779120 +",1779120 +multiplying 196194 by 5: 196194*5= ,"carry=0 +digit 1 of 196194 is 4 +multiply digit 1 of 196194 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 196194 is 9 +multiply digit 2 of 196194 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+45=47 +compare the addition result to 10: temp_add=47>=10 +the first digit of temp_add=47 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=0 +the result of the concatenation is 70 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 196194 is 1 +multiply digit 3 of 196194 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+5=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=70 + +the result of the concatenation is 970 +carry=0 +digit 4 of 196194 is 6 +multiply digit 4 of 196194 which is 6 by 5: temp_mult=6*5=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+30=30 +compare the addition result to 10: temp_add=30>=10 +the first digit of temp_add=30 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=970 +the result of the concatenation is 0970 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 196194 is 9 +multiply digit 5 of 196194 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+45=48 +compare the addition result to 10: temp_add=48>=10 +the first digit of temp_add=48 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=0970 +the result of the concatenation is 80970 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 196194 is 1 +multiply digit 6 of 196194 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+5=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=80970 + +the result of the concatenation is 980970 +the final_result is 980970 +",980970 +multiplying 448621 by 4: 448621*4= ,"carry=0 +digit 1 of 448621 is 1 +multiply digit 1 of 448621 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 4 +carry=0 +digit 2 of 448621 is 2 +multiply digit 2 of 448621 which is 2 by 4: temp_mult=2*4=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4 + +the result of the concatenation is 84 +carry=0 +digit 3 of 448621 is 6 +multiply digit 3 of 448621 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=84 +the result of the concatenation is 484 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 448621 is 8 +multiply digit 4 of 448621 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+32=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=484 +the result of the concatenation is 4484 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 448621 is 4 +multiply digit 5 of 448621 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+16=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=4484 +the result of the concatenation is 94484 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 448621 is 4 +multiply digit 6 of 448621 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+16=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=94484 +the result of the concatenation is 794484 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 794484 +the result of the concatenation is 1794484 +the final_result is 1794484 +",1794484 +multiplying 999797 by 0: 999797*0= ,"carry=0 +digit 1 of 999797 is 7 +multiply digit 1 of 999797 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 999797 is 9 +multiply digit 2 of 999797 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 999797 is 7 +multiply digit 3 of 999797 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 999797 is 9 +multiply digit 4 of 999797 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 999797 is 9 +multiply digit 5 of 999797 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 999797 is 9 +multiply digit 6 of 999797 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 623940 by 1: 623940*1= ,"carry=0 +digit 1 of 623940 is 0 +multiply digit 1 of 623940 which is 0 by 1: temp_mult=0*1=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 623940 is 4 +multiply digit 2 of 623940 which is 4 by 1: temp_mult=4*1=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 40 +carry=0 +digit 3 of 623940 is 9 +multiply digit 3 of 623940 which is 9 by 1: temp_mult=9*1=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=40 + +the result of the concatenation is 940 +carry=0 +digit 4 of 623940 is 3 +multiply digit 4 of 623940 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=940 + +the result of the concatenation is 3940 +carry=0 +digit 5 of 623940 is 2 +multiply digit 5 of 623940 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=3940 + +the result of the concatenation is 23940 +carry=0 +digit 6 of 623940 is 6 +multiply digit 6 of 623940 which is 6 by 1: temp_mult=6*1=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=23940 + +the result of the concatenation is 623940 +the final_result is 623940 +",623940 +multiplying 671120 by 0: 671120*0= ,"carry=0 +digit 1 of 671120 is 0 +multiply digit 1 of 671120 which is 0 by 0: temp_mult=0*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 671120 is 2 +multiply digit 2 of 671120 which is 2 by 0: temp_mult=2*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 671120 is 1 +multiply digit 3 of 671120 which is 1 by 0: temp_mult=1*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 671120 is 1 +multiply digit 4 of 671120 which is 1 by 0: temp_mult=1*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 671120 is 7 +multiply digit 5 of 671120 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 671120 is 6 +multiply digit 6 of 671120 which is 6 by 0: temp_mult=6*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 7699 by 5: 7699*5= ,"carry=0 +digit 1 of 7699 is 9 +multiply digit 1 of 7699 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+45=45 +compare the addition result to 10: temp_add=45>=10 +the first digit of temp_add=45 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 7699 is 9 +multiply digit 2 of 7699 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+45=49 +compare the addition result to 10: temp_add=49>=10 +the first digit of temp_add=49 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=5 +the result of the concatenation is 95 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 7699 is 6 +multiply digit 3 of 7699 which is 6 by 5: temp_mult=6*5=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+30=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=95 +the result of the concatenation is 495 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 7699 is 7 +multiply digit 4 of 7699 which is 7 by 5: temp_mult=7*5=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+35=38 +compare the addition result to 10: temp_add=38>=10 +the first digit of temp_add=38 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=495 +the result of the concatenation is 8495 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 8495 +the result of the concatenation is 38495 +the final_result is 38495 +",38495 +multiplying 603697 by 7: 603697*7= ,"carry=0 +digit 1 of 603697 is 7 +multiply digit 1 of 603697 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+49=49 +compare the addition result to 10: temp_add=49>=10 +the first digit of temp_add=49 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result= +the result of the concatenation is 9 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 603697 is 9 +multiply digit 2 of 603697 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+63=67 +compare the addition result to 10: temp_add=67>=10 +the first digit of temp_add=67 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=9 +the result of the concatenation is 79 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 3 of 603697 is 6 +multiply digit 3 of 603697 which is 6 by 7: temp_mult=6*7=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+42=48 +compare the addition result to 10: temp_add=48>=10 +the first digit of temp_add=48 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=79 +the result of the concatenation is 879 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 603697 is 3 +multiply digit 4 of 603697 which is 3 by 7: temp_mult=3*7=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+21=25 +compare the addition result to 10: temp_add=25>=10 +the first digit of temp_add=25 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=879 +the result of the concatenation is 5879 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 603697 is 0 +multiply digit 5 of 603697 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5879 + +the result of the concatenation is 25879 +carry=0 +digit 6 of 603697 is 6 +multiply digit 6 of 603697 which is 6 by 7: temp_mult=6*7=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+42=42 +compare the addition result to 10: temp_add=42>=10 +the first digit of temp_add=42 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=25879 +the result of the concatenation is 225879 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 225879 +the result of the concatenation is 4225879 +the final_result is 4225879 +",4225879 +multiplying 402057 by 5: 402057*5= ,"carry=0 +digit 1 of 402057 is 7 +multiply digit 1 of 402057 which is 7 by 5: temp_mult=7*5=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+35=35 +compare the addition result to 10: temp_add=35>=10 +the first digit of temp_add=35 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 402057 is 5 +multiply digit 2 of 402057 which is 5 by 5: temp_mult=5*5=25 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+25=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=5 +the result of the concatenation is 85 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 402057 is 0 +multiply digit 3 of 402057 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=85 + +the result of the concatenation is 285 +carry=0 +digit 4 of 402057 is 2 +multiply digit 4 of 402057 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=285 +the result of the concatenation is 0285 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 402057 is 0 +multiply digit 5 of 402057 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0285 + +the result of the concatenation is 10285 +carry=0 +digit 6 of 402057 is 4 +multiply digit 6 of 402057 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=10285 +the result of the concatenation is 010285 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 010285 +the result of the concatenation is 2010285 +the final_result is 2010285 +",2010285 +multiplying 934376 by 1: 934376*1= ,"carry=0 +digit 1 of 934376 is 6 +multiply digit 1 of 934376 which is 6 by 1: temp_mult=6*1=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 6 +carry=0 +digit 2 of 934376 is 7 +multiply digit 2 of 934376 which is 7 by 1: temp_mult=7*1=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6 + +the result of the concatenation is 76 +carry=0 +digit 3 of 934376 is 3 +multiply digit 3 of 934376 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=76 + +the result of the concatenation is 376 +carry=0 +digit 4 of 934376 is 4 +multiply digit 4 of 934376 which is 4 by 1: temp_mult=4*1=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=376 + +the result of the concatenation is 4376 +carry=0 +digit 5 of 934376 is 3 +multiply digit 5 of 934376 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4376 + +the result of the concatenation is 34376 +carry=0 +digit 6 of 934376 is 9 +multiply digit 6 of 934376 which is 9 by 1: temp_mult=9*1=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=34376 + +the result of the concatenation is 934376 +the final_result is 934376 +",934376 +multiplying 112059 by 9: 112059*9= ,"carry=0 +digit 1 of 112059 is 9 +multiply digit 1 of 112059 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+81=81 +compare the addition result to 10: temp_add=81>=10 +the first digit of temp_add=81 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result= +the result of the concatenation is 1 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +carry=8 +digit 2 of 112059 is 5 +multiply digit 2 of 112059 which is 5 by 9: temp_mult=5*9=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=8+45=53 +compare the addition result to 10: temp_add=53>=10 +the first digit of temp_add=53 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=1 +the result of the concatenation is 31 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 3 of 112059 is 0 +multiply digit 3 of 112059 which is 0 by 9: temp_mult=0*9=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+0=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=31 + +the result of the concatenation is 531 +carry=0 +digit 4 of 112059 is 2 +multiply digit 4 of 112059 which is 2 by 9: temp_mult=2*9=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=531 +the result of the concatenation is 8531 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 112059 is 1 +multiply digit 5 of 112059 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+9=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=8531 +the result of the concatenation is 08531 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 112059 is 1 +multiply digit 6 of 112059 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+9=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=08531 +the result of the concatenation is 008531 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 008531 +the result of the concatenation is 1008531 +the final_result is 1008531 +",1008531 +multiplying 817250 by 1: 817250*1= ,"carry=0 +digit 1 of 817250 is 0 +multiply digit 1 of 817250 which is 0 by 1: temp_mult=0*1=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 817250 is 5 +multiply digit 2 of 817250 which is 5 by 1: temp_mult=5*1=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+5=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 50 +carry=0 +digit 3 of 817250 is 2 +multiply digit 3 of 817250 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=50 + +the result of the concatenation is 250 +carry=0 +digit 4 of 817250 is 7 +multiply digit 4 of 817250 which is 7 by 1: temp_mult=7*1=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=250 + +the result of the concatenation is 7250 +carry=0 +digit 5 of 817250 is 1 +multiply digit 5 of 817250 which is 1 by 1: temp_mult=1*1=1 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+1=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7250 + +the result of the concatenation is 17250 +carry=0 +digit 6 of 817250 is 8 +multiply digit 6 of 817250 which is 8 by 1: temp_mult=8*1=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=17250 + +the result of the concatenation is 817250 +the final_result is 817250 +",817250 +multiplying 928564 by 5: 928564*5= ,"carry=0 +digit 1 of 928564 is 4 +multiply digit 1 of 928564 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 928564 is 6 +multiply digit 2 of 928564 which is 6 by 5: temp_mult=6*5=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+30=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=0 +the result of the concatenation is 20 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 928564 is 5 +multiply digit 3 of 928564 which is 5 by 5: temp_mult=5*5=25 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+25=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=20 +the result of the concatenation is 820 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 928564 is 8 +multiply digit 4 of 928564 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+40=42 +compare the addition result to 10: temp_add=42>=10 +the first digit of temp_add=42 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=820 +the result of the concatenation is 2820 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 928564 is 2 +multiply digit 5 of 928564 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+10=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=2820 +the result of the concatenation is 42820 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 928564 is 9 +multiply digit 6 of 928564 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+45=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=42820 +the result of the concatenation is 642820 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 642820 +the result of the concatenation is 4642820 +the final_result is 4642820 +",4642820 +multiplying 727098 by 0: 727098*0= ,"carry=0 +digit 1 of 727098 is 8 +multiply digit 1 of 727098 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 727098 is 9 +multiply digit 2 of 727098 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 727098 is 0 +multiply digit 3 of 727098 which is 0 by 0: temp_mult=0*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 727098 is 7 +multiply digit 4 of 727098 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 727098 is 2 +multiply digit 5 of 727098 which is 2 by 0: temp_mult=2*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 727098 is 7 +multiply digit 6 of 727098 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 866050 by 8: 866050*8= ,"carry=0 +digit 1 of 866050 is 0 +multiply digit 1 of 866050 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 866050 is 5 +multiply digit 2 of 866050 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+40=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=0 +the result of the concatenation is 00 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 866050 is 0 +multiply digit 3 of 866050 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+0=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 400 +carry=0 +digit 4 of 866050 is 6 +multiply digit 4 of 866050 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+48=48 +compare the addition result to 10: temp_add=48>=10 +the first digit of temp_add=48 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=400 +the result of the concatenation is 8400 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 866050 is 6 +multiply digit 5 of 866050 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+48=52 +compare the addition result to 10: temp_add=52>=10 +the first digit of temp_add=52 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=8400 +the result of the concatenation is 28400 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 866050 is 8 +multiply digit 6 of 866050 which is 8 by 8: temp_mult=8*8=64 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+64=69 +compare the addition result to 10: temp_add=69>=10 +the first digit of temp_add=69 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=28400 +the result of the concatenation is 928400 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +final carry=6>0 +the final carry which is 6 is concatenated to the left of the final result which is 928400 +the result of the concatenation is 6928400 +the final_result is 6928400 +",6928400 +multiplying 875607 by 7: 875607*7= ,"carry=0 +digit 1 of 875607 is 7 +multiply digit 1 of 875607 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+49=49 +compare the addition result to 10: temp_add=49>=10 +the first digit of temp_add=49 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result= +the result of the concatenation is 9 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 875607 is 0 +multiply digit 2 of 875607 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+0=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=9 + +the result of the concatenation is 49 +carry=0 +digit 3 of 875607 is 6 +multiply digit 3 of 875607 which is 6 by 7: temp_mult=6*7=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+42=42 +compare the addition result to 10: temp_add=42>=10 +the first digit of temp_add=42 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=49 +the result of the concatenation is 249 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 875607 is 5 +multiply digit 4 of 875607 which is 5 by 7: temp_mult=5*7=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+35=39 +compare the addition result to 10: temp_add=39>=10 +the first digit of temp_add=39 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=249 +the result of the concatenation is 9249 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 875607 is 7 +multiply digit 5 of 875607 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+49=52 +compare the addition result to 10: temp_add=52>=10 +the first digit of temp_add=52 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=9249 +the result of the concatenation is 29249 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 875607 is 8 +multiply digit 6 of 875607 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+56=61 +compare the addition result to 10: temp_add=61>=10 +the first digit of temp_add=61 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=29249 +the result of the concatenation is 129249 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +final carry=6>0 +the final carry which is 6 is concatenated to the left of the final result which is 129249 +the result of the concatenation is 6129249 +the final_result is 6129249 +",6129249 +multiplying 7461 by 2: 7461*2= ,"carry=0 +digit 1 of 7461 is 1 +multiply digit 1 of 7461 which is 1 by 2: temp_mult=1*2=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 2 +carry=0 +digit 2 of 7461 is 6 +multiply digit 2 of 7461 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=2 +the result of the concatenation is 22 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 7461 is 4 +multiply digit 3 of 7461 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=22 + +the result of the concatenation is 922 +carry=0 +digit 4 of 7461 is 7 +multiply digit 4 of 7461 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=922 +the result of the concatenation is 4922 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 4922 +the result of the concatenation is 14922 +the final_result is 14922 +",14922 +multiplying 868470 by 6: 868470*6= ,"carry=0 +digit 1 of 868470 is 0 +multiply digit 1 of 868470 which is 0 by 6: temp_mult=0*6=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 868470 is 7 +multiply digit 2 of 868470 which is 7 by 6: temp_mult=7*6=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+42=42 +compare the addition result to 10: temp_add=42>=10 +the first digit of temp_add=42 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=0 +the result of the concatenation is 20 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 868470 is 4 +multiply digit 3 of 868470 which is 4 by 6: temp_mult=4*6=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+24=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=20 +the result of the concatenation is 820 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 868470 is 8 +multiply digit 4 of 868470 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+48=50 +compare the addition result to 10: temp_add=50>=10 +the first digit of temp_add=50 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=820 +the result of the concatenation is 0820 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 868470 is 6 +multiply digit 5 of 868470 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+36=41 +compare the addition result to 10: temp_add=41>=10 +the first digit of temp_add=41 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=0820 +the result of the concatenation is 10820 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 868470 is 8 +multiply digit 6 of 868470 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+48=52 +compare the addition result to 10: temp_add=52>=10 +the first digit of temp_add=52 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=10820 +the result of the concatenation is 210820 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +final carry=5>0 +the final carry which is 5 is concatenated to the left of the final result which is 210820 +the result of the concatenation is 5210820 +the final_result is 5210820 +",5210820 +multiplying 402824 by 7: 402824*7= ,"carry=0 +digit 1 of 402824 is 4 +multiply digit 1 of 402824 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+28=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 402824 is 2 +multiply digit 2 of 402824 which is 2 by 7: temp_mult=2*7=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+14=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=8 +the result of the concatenation is 68 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 402824 is 8 +multiply digit 3 of 402824 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+56=57 +compare the addition result to 10: temp_add=57>=10 +the first digit of temp_add=57 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=68 +the result of the concatenation is 768 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 4 of 402824 is 2 +multiply digit 4 of 402824 which is 2 by 7: temp_mult=2*7=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+14=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=768 +the result of the concatenation is 9768 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 402824 is 0 +multiply digit 5 of 402824 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=9768 + +the result of the concatenation is 19768 +carry=0 +digit 6 of 402824 is 4 +multiply digit 6 of 402824 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+28=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=19768 +the result of the concatenation is 819768 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 819768 +the result of the concatenation is 2819768 +the final_result is 2819768 +",2819768 +multiplying 678805 by 8: 678805*8= ,"carry=0 +digit 1 of 678805 is 5 +multiply digit 1 of 678805 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+40=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 678805 is 0 +multiply digit 2 of 678805 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+0=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 40 +carry=0 +digit 3 of 678805 is 8 +multiply digit 3 of 678805 which is 8 by 8: temp_mult=8*8=64 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+64=64 +compare the addition result to 10: temp_add=64>=10 +the first digit of temp_add=64 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=40 +the result of the concatenation is 440 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 4 of 678805 is 8 +multiply digit 4 of 678805 which is 8 by 8: temp_mult=8*8=64 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+64=70 +compare the addition result to 10: temp_add=70>=10 +the first digit of temp_add=70 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=440 +the result of the concatenation is 0440 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 5 of 678805 is 7 +multiply digit 5 of 678805 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+56=63 +compare the addition result to 10: temp_add=63>=10 +the first digit of temp_add=63 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=0440 +the result of the concatenation is 30440 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 6 of 678805 is 6 +multiply digit 6 of 678805 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+48=54 +compare the addition result to 10: temp_add=54>=10 +the first digit of temp_add=54 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=30440 +the result of the concatenation is 430440 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +final carry=5>0 +the final carry which is 5 is concatenated to the left of the final result which is 430440 +the result of the concatenation is 5430440 +the final_result is 5430440 +",5430440 +multiplying 168473 by 9: 168473*9= ,"carry=0 +digit 1 of 168473 is 3 +multiply digit 1 of 168473 which is 3 by 9: temp_mult=3*9=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+27=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result= +the result of the concatenation is 7 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 168473 is 7 +multiply digit 2 of 168473 which is 7 by 9: temp_mult=7*9=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+63=65 +compare the addition result to 10: temp_add=65>=10 +the first digit of temp_add=65 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=7 +the result of the concatenation is 57 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 3 of 168473 is 4 +multiply digit 3 of 168473 which is 4 by 9: temp_mult=4*9=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+36=42 +compare the addition result to 10: temp_add=42>=10 +the first digit of temp_add=42 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=57 +the result of the concatenation is 257 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 168473 is 8 +multiply digit 4 of 168473 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+72=76 +compare the addition result to 10: temp_add=76>=10 +the first digit of temp_add=76 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=257 +the result of the concatenation is 6257 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 5 of 168473 is 6 +multiply digit 5 of 168473 which is 6 by 9: temp_mult=6*9=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+54=61 +compare the addition result to 10: temp_add=61>=10 +the first digit of temp_add=61 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=6257 +the result of the concatenation is 16257 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 6 of 168473 is 1 +multiply digit 6 of 168473 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+9=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=16257 +the result of the concatenation is 516257 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 516257 +the result of the concatenation is 1516257 +the final_result is 1516257 +",1516257 +multiplying 232732 by 1: 232732*1= ,"carry=0 +digit 1 of 232732 is 2 +multiply digit 1 of 232732 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 2 +carry=0 +digit 2 of 232732 is 3 +multiply digit 2 of 232732 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2 + +the result of the concatenation is 32 +carry=0 +digit 3 of 232732 is 7 +multiply digit 3 of 232732 which is 7 by 1: temp_mult=7*1=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=32 + +the result of the concatenation is 732 +carry=0 +digit 4 of 232732 is 2 +multiply digit 4 of 232732 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=732 + +the result of the concatenation is 2732 +carry=0 +digit 5 of 232732 is 3 +multiply digit 5 of 232732 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2732 + +the result of the concatenation is 32732 +carry=0 +digit 6 of 232732 is 2 +multiply digit 6 of 232732 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=32732 + +the result of the concatenation is 232732 +the final_result is 232732 +",232732 +multiplying 613193 by 5: 613193*5= ,"carry=0 +digit 1 of 613193 is 3 +multiply digit 1 of 613193 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+15=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 613193 is 9 +multiply digit 2 of 613193 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+45=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=5 +the result of the concatenation is 65 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 613193 is 1 +multiply digit 3 of 613193 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+5=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=65 + +the result of the concatenation is 965 +carry=0 +digit 4 of 613193 is 3 +multiply digit 4 of 613193 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+15=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=965 +the result of the concatenation is 5965 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 613193 is 1 +multiply digit 5 of 613193 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+5=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5965 + +the result of the concatenation is 65965 +carry=0 +digit 6 of 613193 is 6 +multiply digit 6 of 613193 which is 6 by 5: temp_mult=6*5=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+30=30 +compare the addition result to 10: temp_add=30>=10 +the first digit of temp_add=30 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=65965 +the result of the concatenation is 065965 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 065965 +the result of the concatenation is 3065965 +the final_result is 3065965 +",3065965 +multiplying 529251 by 9: 529251*9= ,"carry=0 +digit 1 of 529251 is 1 +multiply digit 1 of 529251 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 9 +carry=0 +digit 2 of 529251 is 5 +multiply digit 2 of 529251 which is 5 by 9: temp_mult=5*9=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+45=45 +compare the addition result to 10: temp_add=45>=10 +the first digit of temp_add=45 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=9 +the result of the concatenation is 59 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 529251 is 2 +multiply digit 3 of 529251 which is 2 by 9: temp_mult=2*9=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+18=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=59 +the result of the concatenation is 259 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 529251 is 9 +multiply digit 4 of 529251 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+81=83 +compare the addition result to 10: temp_add=83>=10 +the first digit of temp_add=83 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=259 +the result of the concatenation is 3259 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +carry=8 +digit 5 of 529251 is 2 +multiply digit 5 of 529251 which is 2 by 9: temp_mult=2*9=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=8+18=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=3259 +the result of the concatenation is 63259 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 529251 is 5 +multiply digit 6 of 529251 which is 5 by 9: temp_mult=5*9=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+45=47 +compare the addition result to 10: temp_add=47>=10 +the first digit of temp_add=47 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=63259 +the result of the concatenation is 763259 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 763259 +the result of the concatenation is 4763259 +the final_result is 4763259 +",4763259 +multiplying 68841 by 6: 68841*6= ,"carry=0 +digit 1 of 68841 is 1 +multiply digit 1 of 68841 which is 1 by 6: temp_mult=1*6=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 6 +carry=0 +digit 2 of 68841 is 4 +multiply digit 2 of 68841 which is 4 by 6: temp_mult=4*6=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=6 +the result of the concatenation is 46 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 68841 is 8 +multiply digit 3 of 68841 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+48=50 +compare the addition result to 10: temp_add=50>=10 +the first digit of temp_add=50 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=46 +the result of the concatenation is 046 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 4 of 68841 is 8 +multiply digit 4 of 68841 which is 8 by 6: temp_mult=8*6=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+48=53 +compare the addition result to 10: temp_add=53>=10 +the first digit of temp_add=53 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=046 +the result of the concatenation is 3046 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 68841 is 6 +multiply digit 5 of 68841 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+36=41 +compare the addition result to 10: temp_add=41>=10 +the first digit of temp_add=41 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=3046 +the result of the concatenation is 13046 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +final carry=4>0 +the final carry which is 4 is concatenated to the left of the final result which is 13046 +the result of the concatenation is 413046 +the final_result is 413046 +",413046 +multiplying 416066 by 7: 416066*7= ,"carry=0 +digit 1 of 416066 is 6 +multiply digit 1 of 416066 which is 6 by 7: temp_mult=6*7=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+42=42 +compare the addition result to 10: temp_add=42>=10 +the first digit of temp_add=42 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 416066 is 6 +multiply digit 2 of 416066 which is 6 by 7: temp_mult=6*7=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+42=46 +compare the addition result to 10: temp_add=46>=10 +the first digit of temp_add=46 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=2 +the result of the concatenation is 62 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 416066 is 0 +multiply digit 3 of 416066 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+0=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=62 + +the result of the concatenation is 462 +carry=0 +digit 4 of 416066 is 6 +multiply digit 4 of 416066 which is 6 by 7: temp_mult=6*7=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+42=42 +compare the addition result to 10: temp_add=42>=10 +the first digit of temp_add=42 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=462 +the result of the concatenation is 2462 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 416066 is 1 +multiply digit 5 of 416066 which is 1 by 7: temp_mult=1*7=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+7=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=2462 +the result of the concatenation is 12462 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 416066 is 4 +multiply digit 6 of 416066 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+28=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=12462 +the result of the concatenation is 912462 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 912462 +the result of the concatenation is 2912462 +the final_result is 2912462 +",2912462 +multiplying 28736 by 0: 28736*0= ,"carry=0 +digit 1 of 28736 is 6 +multiply digit 1 of 28736 which is 6 by 0: temp_mult=6*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 28736 is 3 +multiply digit 2 of 28736 which is 3 by 0: temp_mult=3*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 28736 is 7 +multiply digit 3 of 28736 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 28736 is 8 +multiply digit 4 of 28736 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 28736 is 2 +multiply digit 5 of 28736 which is 2 by 0: temp_mult=2*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +the final_result is 00000 +",0 +multiplying 29509 by 7: 29509*7= ,"carry=0 +digit 1 of 29509 is 9 +multiply digit 1 of 29509 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+63=63 +compare the addition result to 10: temp_add=63>=10 +the first digit of temp_add=63 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result= +the result of the concatenation is 3 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 2 of 29509 is 0 +multiply digit 2 of 29509 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+0=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=3 + +the result of the concatenation is 63 +carry=0 +digit 3 of 29509 is 5 +multiply digit 3 of 29509 which is 5 by 7: temp_mult=5*7=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+35=35 +compare the addition result to 10: temp_add=35>=10 +the first digit of temp_add=35 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=63 +the result of the concatenation is 563 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 29509 is 9 +multiply digit 4 of 29509 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+63=66 +compare the addition result to 10: temp_add=66>=10 +the first digit of temp_add=66 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=563 +the result of the concatenation is 6563 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 29509 is 2 +multiply digit 5 of 29509 which is 2 by 7: temp_mult=2*7=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+14=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=6563 +the result of the concatenation is 06563 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 06563 +the result of the concatenation is 206563 +the final_result is 206563 +",206563 +multiplying 883999 by 0: 883999*0= ,"carry=0 +digit 1 of 883999 is 9 +multiply digit 1 of 883999 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 883999 is 9 +multiply digit 2 of 883999 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 883999 is 9 +multiply digit 3 of 883999 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 883999 is 3 +multiply digit 4 of 883999 which is 3 by 0: temp_mult=3*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 883999 is 8 +multiply digit 5 of 883999 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 883999 is 8 +multiply digit 6 of 883999 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 704752 by 8: 704752*8= ,"carry=0 +digit 1 of 704752 is 2 +multiply digit 1 of 704752 which is 2 by 8: temp_mult=2*8=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 704752 is 5 +multiply digit 2 of 704752 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+40=41 +compare the addition result to 10: temp_add=41>=10 +the first digit of temp_add=41 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=6 +the result of the concatenation is 16 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 704752 is 7 +multiply digit 3 of 704752 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+56=60 +compare the addition result to 10: temp_add=60>=10 +the first digit of temp_add=60 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=16 +the result of the concatenation is 016 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 4 of 704752 is 4 +multiply digit 4 of 704752 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+32=38 +compare the addition result to 10: temp_add=38>=10 +the first digit of temp_add=38 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=016 +the result of the concatenation is 8016 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 704752 is 0 +multiply digit 5 of 704752 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+0=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8016 + +the result of the concatenation is 38016 +carry=0 +digit 6 of 704752 is 7 +multiply digit 6 of 704752 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+56=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=38016 +the result of the concatenation is 638016 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +final carry=5>0 +the final carry which is 5 is concatenated to the left of the final result which is 638016 +the result of the concatenation is 5638016 +the final_result is 5638016 +",5638016 +multiplying 481177 by 1: 481177*1= ,"carry=0 +digit 1 of 481177 is 7 +multiply digit 1 of 481177 which is 7 by 1: temp_mult=7*1=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 7 +carry=0 +digit 2 of 481177 is 7 +multiply digit 2 of 481177 which is 7 by 1: temp_mult=7*1=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+7=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=7 + +the result of the concatenation is 77 +carry=0 +digit 3 of 481177 is 1 +multiply digit 3 of 481177 which is 1 by 1: temp_mult=1*1=1 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+1=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=77 + +the result of the concatenation is 177 +carry=0 +digit 4 of 481177 is 1 +multiply digit 4 of 481177 which is 1 by 1: temp_mult=1*1=1 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+1=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=177 + +the result of the concatenation is 1177 +carry=0 +digit 5 of 481177 is 8 +multiply digit 5 of 481177 which is 8 by 1: temp_mult=8*1=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=1177 + +the result of the concatenation is 81177 +carry=0 +digit 6 of 481177 is 4 +multiply digit 6 of 481177 which is 4 by 1: temp_mult=4*1=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=81177 + +the result of the concatenation is 481177 +the final_result is 481177 +",481177 +multiplying 160671 by 3: 160671*3= ,"carry=0 +digit 1 of 160671 is 1 +multiply digit 1 of 160671 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 3 +carry=0 +digit 2 of 160671 is 7 +multiply digit 2 of 160671 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+21=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=3 +the result of the concatenation is 13 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 160671 is 6 +multiply digit 3 of 160671 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+18=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=13 +the result of the concatenation is 013 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 160671 is 0 +multiply digit 4 of 160671 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=013 + +the result of the concatenation is 2013 +carry=0 +digit 5 of 160671 is 6 +multiply digit 5 of 160671 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=2013 +the result of the concatenation is 82013 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 160671 is 1 +multiply digit 6 of 160671 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+3=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=82013 + +the result of the concatenation is 482013 +the final_result is 482013 +",482013 +multiplying 648674 by 0: 648674*0= ,"carry=0 +digit 1 of 648674 is 4 +multiply digit 1 of 648674 which is 4 by 0: temp_mult=4*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 648674 is 7 +multiply digit 2 of 648674 which is 7 by 0: temp_mult=7*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 648674 is 6 +multiply digit 3 of 648674 which is 6 by 0: temp_mult=6*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 648674 is 8 +multiply digit 4 of 648674 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 648674 is 4 +multiply digit 5 of 648674 which is 4 by 0: temp_mult=4*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 648674 is 6 +multiply digit 6 of 648674 which is 6 by 0: temp_mult=6*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 159064 by 7: 159064*7= ,"carry=0 +digit 1 of 159064 is 4 +multiply digit 1 of 159064 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+28=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 159064 is 6 +multiply digit 2 of 159064 which is 6 by 7: temp_mult=6*7=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+42=44 +compare the addition result to 10: temp_add=44>=10 +the first digit of temp_add=44 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=8 +the result of the concatenation is 48 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 159064 is 0 +multiply digit 3 of 159064 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+0=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=48 + +the result of the concatenation is 448 +carry=0 +digit 4 of 159064 is 9 +multiply digit 4 of 159064 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+63=63 +compare the addition result to 10: temp_add=63>=10 +the first digit of temp_add=63 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=448 +the result of the concatenation is 3448 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 159064 is 5 +multiply digit 5 of 159064 which is 5 by 7: temp_mult=5*7=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+35=41 +compare the addition result to 10: temp_add=41>=10 +the first digit of temp_add=41 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=3448 +the result of the concatenation is 13448 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 159064 is 1 +multiply digit 6 of 159064 which is 1 by 7: temp_mult=1*7=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+7=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=13448 +the result of the concatenation is 113448 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 113448 +the result of the concatenation is 1113448 +the final_result is 1113448 +",1113448 +multiplying 654530 by 2: 654530*2= ,"carry=0 +digit 1 of 654530 is 0 +multiply digit 1 of 654530 which is 0 by 2: temp_mult=0*2=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 654530 is 3 +multiply digit 2 of 654530 which is 3 by 2: temp_mult=3*2=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 60 +carry=0 +digit 3 of 654530 is 5 +multiply digit 3 of 654530 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=60 +the result of the concatenation is 060 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 654530 is 4 +multiply digit 4 of 654530 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=060 + +the result of the concatenation is 9060 +carry=0 +digit 5 of 654530 is 5 +multiply digit 5 of 654530 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=9060 +the result of the concatenation is 09060 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 654530 is 6 +multiply digit 6 of 654530 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+12=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=09060 +the result of the concatenation is 309060 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 309060 +the result of the concatenation is 1309060 +the final_result is 1309060 +",1309060 +multiplying 794553 by 3: 794553*3= ,"carry=0 +digit 1 of 794553 is 3 +multiply digit 1 of 794553 which is 3 by 3: temp_mult=3*3=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 9 +carry=0 +digit 2 of 794553 is 5 +multiply digit 2 of 794553 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+15=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=9 +the result of the concatenation is 59 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 794553 is 5 +multiply digit 3 of 794553 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+15=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=59 +the result of the concatenation is 659 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 794553 is 4 +multiply digit 4 of 794553 which is 4 by 3: temp_mult=4*3=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+12=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=659 +the result of the concatenation is 3659 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 794553 is 9 +multiply digit 5 of 794553 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+27=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=3659 +the result of the concatenation is 83659 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 794553 is 7 +multiply digit 6 of 794553 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+21=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=83659 +the result of the concatenation is 383659 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 383659 +the result of the concatenation is 2383659 +the final_result is 2383659 +",2383659 +multiplying 295655 by 3: 295655*3= ,"carry=0 +digit 1 of 295655 is 5 +multiply digit 1 of 295655 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+15=15 +compare the addition result to 10: temp_add=15>=10 +the first digit of temp_add=15 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 295655 is 5 +multiply digit 2 of 295655 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+15=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=5 +the result of the concatenation is 65 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 295655 is 6 +multiply digit 3 of 295655 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+18=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=65 +the result of the concatenation is 965 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 295655 is 5 +multiply digit 4 of 295655 which is 5 by 3: temp_mult=5*3=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+15=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=965 +the result of the concatenation is 6965 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 295655 is 9 +multiply digit 5 of 295655 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+27=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=6965 +the result of the concatenation is 86965 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 295655 is 2 +multiply digit 6 of 295655 which is 2 by 3: temp_mult=2*3=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+6=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=86965 + +the result of the concatenation is 886965 +the final_result is 886965 +",886965 +multiplying 666261 by 8: 666261*8= ,"carry=0 +digit 1 of 666261 is 1 +multiply digit 1 of 666261 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 8 +carry=0 +digit 2 of 666261 is 6 +multiply digit 2 of 666261 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+48=48 +compare the addition result to 10: temp_add=48>=10 +the first digit of temp_add=48 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=8 +the result of the concatenation is 88 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 666261 is 2 +multiply digit 3 of 666261 which is 2 by 8: temp_mult=2*8=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+16=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=88 +the result of the concatenation is 088 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 666261 is 6 +multiply digit 4 of 666261 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+48=50 +compare the addition result to 10: temp_add=50>=10 +the first digit of temp_add=50 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=088 +the result of the concatenation is 0088 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 666261 is 6 +multiply digit 5 of 666261 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+48=53 +compare the addition result to 10: temp_add=53>=10 +the first digit of temp_add=53 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=0088 +the result of the concatenation is 30088 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 6 of 666261 is 6 +multiply digit 6 of 666261 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+48=53 +compare the addition result to 10: temp_add=53>=10 +the first digit of temp_add=53 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=30088 +the result of the concatenation is 330088 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +final carry=5>0 +the final carry which is 5 is concatenated to the left of the final result which is 330088 +the result of the concatenation is 5330088 +the final_result is 5330088 +",5330088 +multiplying 968192 by 0: 968192*0= ,"carry=0 +digit 1 of 968192 is 2 +multiply digit 1 of 968192 which is 2 by 0: temp_mult=2*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 968192 is 9 +multiply digit 2 of 968192 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 968192 is 1 +multiply digit 3 of 968192 which is 1 by 0: temp_mult=1*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 968192 is 8 +multiply digit 4 of 968192 which is 8 by 0: temp_mult=8*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 968192 is 6 +multiply digit 5 of 968192 which is 6 by 0: temp_mult=6*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 968192 is 9 +multiply digit 6 of 968192 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 836561 by 2: 836561*2= ,"carry=0 +digit 1 of 836561 is 1 +multiply digit 1 of 836561 which is 1 by 2: temp_mult=1*2=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 2 +carry=0 +digit 2 of 836561 is 6 +multiply digit 2 of 836561 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=2 +the result of the concatenation is 22 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 836561 is 5 +multiply digit 3 of 836561 which is 5 by 2: temp_mult=5*2=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+10=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=22 +the result of the concatenation is 122 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 836561 is 6 +multiply digit 4 of 836561 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+12=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=122 +the result of the concatenation is 3122 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 836561 is 3 +multiply digit 5 of 836561 which is 3 by 2: temp_mult=3*2=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+6=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=3122 + +the result of the concatenation is 73122 +carry=0 +digit 6 of 836561 is 8 +multiply digit 6 of 836561 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=73122 +the result of the concatenation is 673122 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 673122 +the result of the concatenation is 1673122 +the final_result is 1673122 +",1673122 +multiplying 252495 by 5: 252495*5= ,"carry=0 +digit 1 of 252495 is 5 +multiply digit 1 of 252495 which is 5 by 5: temp_mult=5*5=25 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+25=25 +compare the addition result to 10: temp_add=25>=10 +the first digit of temp_add=25 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 252495 is 9 +multiply digit 2 of 252495 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+45=47 +compare the addition result to 10: temp_add=47>=10 +the first digit of temp_add=47 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=5 +the result of the concatenation is 75 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 252495 is 4 +multiply digit 3 of 252495 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+20=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=75 +the result of the concatenation is 475 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 252495 is 2 +multiply digit 4 of 252495 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+10=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=475 +the result of the concatenation is 2475 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 252495 is 5 +multiply digit 5 of 252495 which is 5 by 5: temp_mult=5*5=25 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+25=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=2475 +the result of the concatenation is 62475 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 252495 is 2 +multiply digit 6 of 252495 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+10=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=62475 +the result of the concatenation is 262475 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 262475 +the result of the concatenation is 1262475 +the final_result is 1262475 +",1262475 +multiplying 177212 by 3: 177212*3= ,"carry=0 +digit 1 of 177212 is 2 +multiply digit 1 of 177212 which is 2 by 3: temp_mult=2*3=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 6 +carry=0 +digit 2 of 177212 is 1 +multiply digit 2 of 177212 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6 + +the result of the concatenation is 36 +carry=0 +digit 3 of 177212 is 2 +multiply digit 3 of 177212 which is 2 by 3: temp_mult=2*3=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=36 + +the result of the concatenation is 636 +carry=0 +digit 4 of 177212 is 7 +multiply digit 4 of 177212 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+21=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=636 +the result of the concatenation is 1636 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 177212 is 7 +multiply digit 5 of 177212 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+21=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=1636 +the result of the concatenation is 31636 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 177212 is 1 +multiply digit 6 of 177212 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+3=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=31636 + +the result of the concatenation is 531636 +the final_result is 531636 +",531636 +multiplying 49008 by 7: 49008*7= ,"carry=0 +digit 1 of 49008 is 8 +multiply digit 1 of 49008 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+56=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 2 of 49008 is 0 +multiply digit 2 of 49008 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+0=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6 + +the result of the concatenation is 56 +carry=0 +digit 3 of 49008 is 0 +multiply digit 3 of 49008 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=56 + +the result of the concatenation is 056 +carry=0 +digit 4 of 49008 is 9 +multiply digit 4 of 49008 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+63=63 +compare the addition result to 10: temp_add=63>=10 +the first digit of temp_add=63 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=056 +the result of the concatenation is 3056 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 49008 is 4 +multiply digit 5 of 49008 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+28=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=3056 +the result of the concatenation is 43056 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 43056 +the result of the concatenation is 343056 +the final_result is 343056 +",343056 +multiplying 126909 by 8: 126909*8= ,"carry=0 +digit 1 of 126909 is 9 +multiply digit 1 of 126909 which is 9 by 8: temp_mult=9*8=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+72=72 +compare the addition result to 10: temp_add=72>=10 +the first digit of temp_add=72 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 2 of 126909 is 0 +multiply digit 2 of 126909 which is 0 by 8: temp_mult=0*8=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+0=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2 + +the result of the concatenation is 72 +carry=0 +digit 3 of 126909 is 9 +multiply digit 3 of 126909 which is 9 by 8: temp_mult=9*8=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+72=72 +compare the addition result to 10: temp_add=72>=10 +the first digit of temp_add=72 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=72 +the result of the concatenation is 272 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 4 of 126909 is 6 +multiply digit 4 of 126909 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+48=55 +compare the addition result to 10: temp_add=55>=10 +the first digit of temp_add=55 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=272 +the result of the concatenation is 5272 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 5 of 126909 is 2 +multiply digit 5 of 126909 which is 2 by 8: temp_mult=2*8=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+16=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=5272 +the result of the concatenation is 15272 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 126909 is 1 +multiply digit 6 of 126909 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+8=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=15272 +the result of the concatenation is 015272 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 015272 +the result of the concatenation is 1015272 +the final_result is 1015272 +",1015272 +multiplying 918887 by 9: 918887*9= ,"carry=0 +digit 1 of 918887 is 7 +multiply digit 1 of 918887 which is 7 by 9: temp_mult=7*9=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+63=63 +compare the addition result to 10: temp_add=63>=10 +the first digit of temp_add=63 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result= +the result of the concatenation is 3 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 2 of 918887 is 8 +multiply digit 2 of 918887 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+72=78 +compare the addition result to 10: temp_add=78>=10 +the first digit of temp_add=78 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=3 +the result of the concatenation is 83 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 3 of 918887 is 8 +multiply digit 3 of 918887 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+72=79 +compare the addition result to 10: temp_add=79>=10 +the first digit of temp_add=79 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=83 +the result of the concatenation is 983 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 4 of 918887 is 8 +multiply digit 4 of 918887 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+72=79 +compare the addition result to 10: temp_add=79>=10 +the first digit of temp_add=79 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=983 +the result of the concatenation is 9983 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 5 of 918887 is 1 +multiply digit 5 of 918887 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+9=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=9983 +the result of the concatenation is 69983 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 918887 is 9 +multiply digit 6 of 918887 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+81=82 +compare the addition result to 10: temp_add=82>=10 +the first digit of temp_add=82 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=69983 +the result of the concatenation is 269983 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +final carry=8>0 +the final carry which is 8 is concatenated to the left of the final result which is 269983 +the result of the concatenation is 8269983 +the final_result is 8269983 +",8269983 +multiplying 350450 by 1: 350450*1= ,"carry=0 +digit 1 of 350450 is 0 +multiply digit 1 of 350450 which is 0 by 1: temp_mult=0*1=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 350450 is 5 +multiply digit 2 of 350450 which is 5 by 1: temp_mult=5*1=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+5=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 50 +carry=0 +digit 3 of 350450 is 4 +multiply digit 3 of 350450 which is 4 by 1: temp_mult=4*1=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=50 + +the result of the concatenation is 450 +carry=0 +digit 4 of 350450 is 0 +multiply digit 4 of 350450 which is 0 by 1: temp_mult=0*1=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=450 + +the result of the concatenation is 0450 +carry=0 +digit 5 of 350450 is 5 +multiply digit 5 of 350450 which is 5 by 1: temp_mult=5*1=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+5=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0450 + +the result of the concatenation is 50450 +carry=0 +digit 6 of 350450 is 3 +multiply digit 6 of 350450 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=50450 + +the result of the concatenation is 350450 +the final_result is 350450 +",350450 +multiplying 331119 by 0: 331119*0= ,"carry=0 +digit 1 of 331119 is 9 +multiply digit 1 of 331119 which is 9 by 0: temp_mult=9*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 331119 is 1 +multiply digit 2 of 331119 which is 1 by 0: temp_mult=1*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0 + +the result of the concatenation is 00 +carry=0 +digit 3 of 331119 is 1 +multiply digit 3 of 331119 which is 1 by 0: temp_mult=1*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00 + +the result of the concatenation is 000 +carry=0 +digit 4 of 331119 is 1 +multiply digit 4 of 331119 which is 1 by 0: temp_mult=1*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=000 + +the result of the concatenation is 0000 +carry=0 +digit 5 of 331119 is 3 +multiply digit 5 of 331119 which is 3 by 0: temp_mult=3*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0000 + +the result of the concatenation is 00000 +carry=0 +digit 6 of 331119 is 3 +multiply digit 6 of 331119 which is 3 by 0: temp_mult=3*0=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=00000 + +the result of the concatenation is 000000 +the final_result is 000000 +",0 +multiplying 155364 by 8: 155364*8= ,"carry=0 +digit 1 of 155364 is 4 +multiply digit 1 of 155364 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+32=32 +compare the addition result to 10: temp_add=32>=10 +the first digit of temp_add=32 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 155364 is 6 +multiply digit 2 of 155364 which is 6 by 8: temp_mult=6*8=48 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+48=51 +compare the addition result to 10: temp_add=51>=10 +the first digit of temp_add=51 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=2 +the result of the concatenation is 12 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 3 of 155364 is 3 +multiply digit 3 of 155364 which is 3 by 8: temp_mult=3*8=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+24=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=12 +the result of the concatenation is 912 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 155364 is 5 +multiply digit 4 of 155364 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+40=42 +compare the addition result to 10: temp_add=42>=10 +the first digit of temp_add=42 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=912 +the result of the concatenation is 2912 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 155364 is 5 +multiply digit 5 of 155364 which is 5 by 8: temp_mult=5*8=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+40=44 +compare the addition result to 10: temp_add=44>=10 +the first digit of temp_add=44 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=2912 +the result of the concatenation is 42912 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 155364 is 1 +multiply digit 6 of 155364 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+8=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=42912 +the result of the concatenation is 242912 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 242912 +the result of the concatenation is 1242912 +the final_result is 1242912 +",1242912 +multiplying 371144 by 7: 371144*7= ,"carry=0 +digit 1 of 371144 is 4 +multiply digit 1 of 371144 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+28=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 371144 is 4 +multiply digit 2 of 371144 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+28=30 +compare the addition result to 10: temp_add=30>=10 +the first digit of temp_add=30 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=8 +the result of the concatenation is 08 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 371144 is 1 +multiply digit 3 of 371144 which is 1 by 7: temp_mult=1*7=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+7=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=08 +the result of the concatenation is 008 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 371144 is 1 +multiply digit 4 of 371144 which is 1 by 7: temp_mult=1*7=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+7=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=008 + +the result of the concatenation is 8008 +carry=0 +digit 5 of 371144 is 7 +multiply digit 5 of 371144 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+49=49 +compare the addition result to 10: temp_add=49>=10 +the first digit of temp_add=49 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=8008 +the result of the concatenation is 98008 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 371144 is 3 +multiply digit 6 of 371144 which is 3 by 7: temp_mult=3*7=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+21=25 +compare the addition result to 10: temp_add=25>=10 +the first digit of temp_add=25 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=98008 +the result of the concatenation is 598008 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 598008 +the result of the concatenation is 2598008 +the final_result is 2598008 +",2598008 +multiplying 714038 by 5: 714038*5= ,"carry=0 +digit 1 of 714038 is 8 +multiply digit 1 of 714038 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+40=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 2 of 714038 is 3 +multiply digit 2 of 714038 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+15=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=0 +the result of the concatenation is 90 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 714038 is 0 +multiply digit 3 of 714038 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=90 + +the result of the concatenation is 190 +carry=0 +digit 4 of 714038 is 4 +multiply digit 4 of 714038 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=190 +the result of the concatenation is 0190 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 714038 is 1 +multiply digit 5 of 714038 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+5=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=0190 + +the result of the concatenation is 70190 +carry=0 +digit 6 of 714038 is 7 +multiply digit 6 of 714038 which is 7 by 5: temp_mult=7*5=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+35=35 +compare the addition result to 10: temp_add=35>=10 +the first digit of temp_add=35 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=70190 +the result of the concatenation is 570190 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 570190 +the result of the concatenation is 3570190 +the final_result is 3570190 +",3570190 +multiplying 151822 by 5: 151822*5= ,"carry=0 +digit 1 of 151822 is 2 +multiply digit 1 of 151822 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+10=10 +compare the addition result to 10: temp_add=10>=10 +the first digit of temp_add=10 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 151822 is 2 +multiply digit 2 of 151822 which is 2 by 5: temp_mult=2*5=10 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+10=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=0 +the result of the concatenation is 10 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 151822 is 8 +multiply digit 3 of 151822 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+40=41 +compare the addition result to 10: temp_add=41>=10 +the first digit of temp_add=41 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=10 +the result of the concatenation is 110 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 151822 is 1 +multiply digit 4 of 151822 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+5=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=110 + +the result of the concatenation is 9110 +carry=0 +digit 5 of 151822 is 5 +multiply digit 5 of 151822 which is 5 by 5: temp_mult=5*5=25 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+25=25 +compare the addition result to 10: temp_add=25>=10 +the first digit of temp_add=25 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=9110 +the result of the concatenation is 59110 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 151822 is 1 +multiply digit 6 of 151822 which is 1 by 5: temp_mult=1*5=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+5=7 +compare the addition result to 10: temp_add=7<10 +carry=0 +temp_add is concatenated to the left of temporary_result=59110 + +the result of the concatenation is 759110 +the final_result is 759110 +",759110 +multiplying 691091 by 3: 691091*3= ,"carry=0 +digit 1 of 691091 is 1 +multiply digit 1 of 691091 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 3 +carry=0 +digit 2 of 691091 is 9 +multiply digit 2 of 691091 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+27=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=3 +the result of the concatenation is 73 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 691091 is 0 +multiply digit 3 of 691091 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=73 + +the result of the concatenation is 273 +carry=0 +digit 4 of 691091 is 1 +multiply digit 4 of 691091 which is 1 by 3: temp_mult=1*3=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=273 + +the result of the concatenation is 3273 +carry=0 +digit 5 of 691091 is 9 +multiply digit 5 of 691091 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+27=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=3273 +the result of the concatenation is 73273 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 691091 is 6 +multiply digit 6 of 691091 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+18=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=73273 +the result of the concatenation is 073273 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 073273 +the result of the concatenation is 2073273 +the final_result is 2073273 +",2073273 +multiplying 597138 by 9: 597138*9= ,"carry=0 +digit 1 of 597138 is 8 +multiply digit 1 of 597138 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+72=72 +compare the addition result to 10: temp_add=72>=10 +the first digit of temp_add=72 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +carry=7 +digit 2 of 597138 is 3 +multiply digit 2 of 597138 which is 3 by 9: temp_mult=3*9=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=7+27=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=2 +the result of the concatenation is 42 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 597138 is 1 +multiply digit 3 of 597138 which is 1 by 9: temp_mult=1*9=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+9=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=42 +the result of the concatenation is 242 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 597138 is 7 +multiply digit 4 of 597138 which is 7 by 9: temp_mult=7*9=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+63=64 +compare the addition result to 10: temp_add=64>=10 +the first digit of temp_add=64 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=242 +the result of the concatenation is 4242 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 597138 is 9 +multiply digit 5 of 597138 which is 9 by 9: temp_mult=9*9=81 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+81=87 +compare the addition result to 10: temp_add=87>=10 +the first digit of temp_add=87 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=4242 +the result of the concatenation is 74242 +the second digit of temp_add is 8 which will be the value of the carry: carry=8 + +carry=8 +digit 6 of 597138 is 5 +multiply digit 6 of 597138 which is 5 by 9: temp_mult=5*9=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=8+45=53 +compare the addition result to 10: temp_add=53>=10 +the first digit of temp_add=53 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=74242 +the result of the concatenation is 374242 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +final carry=5>0 +the final carry which is 5 is concatenated to the left of the final result which is 374242 +the result of the concatenation is 5374242 +the final_result is 5374242 +",5374242 +multiplying 194205 by 7: 194205*7= ,"carry=0 +digit 1 of 194205 is 5 +multiply digit 1 of 194205 which is 5 by 7: temp_mult=5*7=35 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+35=35 +compare the addition result to 10: temp_add=35>=10 +the first digit of temp_add=35 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result= +the result of the concatenation is 5 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 2 of 194205 is 0 +multiply digit 2 of 194205 which is 0 by 7: temp_mult=0*7=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+0=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=5 + +the result of the concatenation is 35 +carry=0 +digit 3 of 194205 is 2 +multiply digit 3 of 194205 which is 2 by 7: temp_mult=2*7=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=35 +the result of the concatenation is 435 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 194205 is 4 +multiply digit 4 of 194205 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+28=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=435 +the result of the concatenation is 9435 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 194205 is 9 +multiply digit 5 of 194205 which is 9 by 7: temp_mult=9*7=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+63=65 +compare the addition result to 10: temp_add=65>=10 +the first digit of temp_add=65 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=9435 +the result of the concatenation is 59435 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 6 of 194205 is 1 +multiply digit 6 of 194205 which is 1 by 7: temp_mult=1*7=7 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+7=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=59435 +the result of the concatenation is 359435 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 359435 +the result of the concatenation is 1359435 +the final_result is 1359435 +",1359435 +multiplying 478277 by 4: 478277*4= ,"carry=0 +digit 1 of 478277 is 7 +multiply digit 1 of 478277 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+28=28 +compare the addition result to 10: temp_add=28>=10 +the first digit of temp_add=28 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 478277 is 7 +multiply digit 2 of 478277 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+28=30 +compare the addition result to 10: temp_add=30>=10 +the first digit of temp_add=30 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=8 +the result of the concatenation is 08 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 478277 is 2 +multiply digit 3 of 478277 which is 2 by 4: temp_mult=2*4=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+8=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=08 +the result of the concatenation is 108 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 478277 is 8 +multiply digit 4 of 478277 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+32=33 +compare the addition result to 10: temp_add=33>=10 +the first digit of temp_add=33 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=108 +the result of the concatenation is 3108 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 478277 is 7 +multiply digit 5 of 478277 which is 7 by 4: temp_mult=7*4=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+28=31 +compare the addition result to 10: temp_add=31>=10 +the first digit of temp_add=31 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=3108 +the result of the concatenation is 13108 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 6 of 478277 is 4 +multiply digit 6 of 478277 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+16=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=13108 +the result of the concatenation is 913108 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 913108 +the result of the concatenation is 1913108 +the final_result is 1913108 +",1913108 +multiplying 313570 by 6: 313570*6= ,"carry=0 +digit 1 of 313570 is 0 +multiply digit 1 of 313570 which is 0 by 6: temp_mult=0*6=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 313570 is 7 +multiply digit 2 of 313570 which is 7 by 6: temp_mult=7*6=42 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+42=42 +compare the addition result to 10: temp_add=42>=10 +the first digit of temp_add=42 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=0 +the result of the concatenation is 20 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 313570 is 5 +multiply digit 3 of 313570 which is 5 by 6: temp_mult=5*6=30 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+30=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=20 +the result of the concatenation is 420 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 4 of 313570 is 3 +multiply digit 4 of 313570 which is 3 by 6: temp_mult=3*6=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+18=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=420 +the result of the concatenation is 1420 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 313570 is 1 +multiply digit 5 of 313570 which is 1 by 6: temp_mult=1*6=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+6=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=1420 + +the result of the concatenation is 81420 +carry=0 +digit 6 of 313570 is 3 +multiply digit 6 of 313570 which is 3 by 6: temp_mult=3*6=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=81420 +the result of the concatenation is 881420 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 881420 +the result of the concatenation is 1881420 +the final_result is 1881420 +",1881420 +multiplying 511603 by 4: 511603*4= ,"carry=0 +digit 1 of 511603 is 3 +multiply digit 1 of 511603 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 511603 is 0 +multiply digit 2 of 511603 which is 0 by 4: temp_mult=0*4=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2 + +the result of the concatenation is 12 +carry=0 +digit 3 of 511603 is 6 +multiply digit 3 of 511603 which is 6 by 4: temp_mult=6*4=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=12 +the result of the concatenation is 412 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 511603 is 1 +multiply digit 4 of 511603 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+4=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=412 + +the result of the concatenation is 6412 +carry=0 +digit 5 of 511603 is 1 +multiply digit 5 of 511603 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6412 + +the result of the concatenation is 46412 +carry=0 +digit 6 of 511603 is 5 +multiply digit 6 of 511603 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=46412 +the result of the concatenation is 046412 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 046412 +the result of the concatenation is 2046412 +the final_result is 2046412 +",2046412 +multiplying 777898 by 3: 777898*3= ,"carry=0 +digit 1 of 777898 is 8 +multiply digit 1 of 777898 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 777898 is 9 +multiply digit 2 of 777898 which is 9 by 3: temp_mult=9*3=27 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+27=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=4 +the result of the concatenation is 94 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 777898 is 8 +multiply digit 3 of 777898 which is 8 by 3: temp_mult=8*3=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+24=26 +compare the addition result to 10: temp_add=26>=10 +the first digit of temp_add=26 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=94 +the result of the concatenation is 694 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 777898 is 7 +multiply digit 4 of 777898 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+21=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=694 +the result of the concatenation is 3694 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 5 of 777898 is 7 +multiply digit 5 of 777898 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+21=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=3694 +the result of the concatenation is 33694 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 777898 is 7 +multiply digit 6 of 777898 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+21=23 +compare the addition result to 10: temp_add=23>=10 +the first digit of temp_add=23 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=33694 +the result of the concatenation is 333694 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 333694 +the result of the concatenation is 2333694 +the final_result is 2333694 +",2333694 +multiplying 442352 by 4: 442352*4= ,"carry=0 +digit 1 of 442352 is 2 +multiply digit 1 of 442352 which is 2 by 4: temp_mult=2*4=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 8 +carry=0 +digit 2 of 442352 is 5 +multiply digit 2 of 442352 which is 5 by 4: temp_mult=5*4=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=8 +the result of the concatenation is 08 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 442352 is 3 +multiply digit 3 of 442352 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+12=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=08 +the result of the concatenation is 408 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 442352 is 2 +multiply digit 4 of 442352 which is 2 by 4: temp_mult=2*4=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=408 + +the result of the concatenation is 9408 +carry=0 +digit 5 of 442352 is 4 +multiply digit 5 of 442352 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=9408 +the result of the concatenation is 69408 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 442352 is 4 +multiply digit 6 of 442352 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+16=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=69408 +the result of the concatenation is 769408 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 769408 +the result of the concatenation is 1769408 +the final_result is 1769408 +",1769408 +multiplying 891532 by 1: 891532*1= ,"carry=0 +digit 1 of 891532 is 2 +multiply digit 1 of 891532 which is 2 by 1: temp_mult=2*1=2 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+2=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 2 +carry=0 +digit 2 of 891532 is 3 +multiply digit 2 of 891532 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2 + +the result of the concatenation is 32 +carry=0 +digit 3 of 891532 is 5 +multiply digit 3 of 891532 which is 5 by 1: temp_mult=5*1=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+5=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=32 + +the result of the concatenation is 532 +carry=0 +digit 4 of 891532 is 1 +multiply digit 4 of 891532 which is 1 by 1: temp_mult=1*1=1 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+1=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=532 + +the result of the concatenation is 1532 +carry=0 +digit 5 of 891532 is 9 +multiply digit 5 of 891532 which is 9 by 1: temp_mult=9*1=9 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+9=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=1532 + +the result of the concatenation is 91532 +carry=0 +digit 6 of 891532 is 8 +multiply digit 6 of 891532 which is 8 by 1: temp_mult=8*1=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=91532 + +the result of the concatenation is 891532 +the final_result is 891532 +",891532 +multiplying 284133 by 4: 284133*4= ,"carry=0 +digit 1 of 284133 is 3 +multiply digit 1 of 284133 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result= +the result of the concatenation is 2 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 284133 is 3 +multiply digit 2 of 284133 which is 3 by 4: temp_mult=3*4=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+12=13 +compare the addition result to 10: temp_add=13>=10 +the first digit of temp_add=13 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=2 +the result of the concatenation is 32 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 284133 is 1 +multiply digit 3 of 284133 which is 1 by 4: temp_mult=1*4=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+4=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=32 + +the result of the concatenation is 532 +carry=0 +digit 4 of 284133 is 4 +multiply digit 4 of 284133 which is 4 by 4: temp_mult=4*4=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=532 +the result of the concatenation is 6532 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 284133 is 8 +multiply digit 5 of 284133 which is 8 by 4: temp_mult=8*4=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+32=33 +compare the addition result to 10: temp_add=33>=10 +the first digit of temp_add=33 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=6532 +the result of the concatenation is 36532 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 6 of 284133 is 2 +multiply digit 6 of 284133 which is 2 by 4: temp_mult=2*4=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+8=11 +compare the addition result to 10: temp_add=11>=10 +the first digit of temp_add=11 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=36532 +the result of the concatenation is 136532 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 136532 +the result of the concatenation is 1136532 +the final_result is 1136532 +",1136532 +multiplying 406164 by 6: 406164*6= ,"carry=0 +digit 1 of 406164 is 4 +multiply digit 1 of 406164 which is 4 by 6: temp_mult=4*6=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 406164 is 6 +multiply digit 2 of 406164 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+36=38 +compare the addition result to 10: temp_add=38>=10 +the first digit of temp_add=38 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=4 +the result of the concatenation is 84 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 3 of 406164 is 1 +multiply digit 3 of 406164 which is 1 by 6: temp_mult=1*6=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+6=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=84 + +the result of the concatenation is 984 +carry=0 +digit 4 of 406164 is 6 +multiply digit 4 of 406164 which is 6 by 6: temp_mult=6*6=36 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+36=36 +compare the addition result to 10: temp_add=36>=10 +the first digit of temp_add=36 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=984 +the result of the concatenation is 6984 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 406164 is 0 +multiply digit 5 of 406164 which is 0 by 6: temp_mult=0*6=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+0=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result=6984 + +the result of the concatenation is 36984 +carry=0 +digit 6 of 406164 is 4 +multiply digit 6 of 406164 which is 4 by 6: temp_mult=4*6=24 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+24=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=36984 +the result of the concatenation is 436984 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 436984 +the result of the concatenation is 2436984 +the final_result is 2436984 +",2436984 +multiplying 488053 by 1: 488053*1= ,"carry=0 +digit 1 of 488053 is 3 +multiply digit 1 of 488053 which is 3 by 1: temp_mult=3*1=3 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+3=3 +compare the addition result to 10: temp_add=3<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 3 +carry=0 +digit 2 of 488053 is 5 +multiply digit 2 of 488053 which is 5 by 1: temp_mult=5*1=5 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+5=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=3 + +the result of the concatenation is 53 +carry=0 +digit 3 of 488053 is 0 +multiply digit 3 of 488053 which is 0 by 1: temp_mult=0*1=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=53 + +the result of the concatenation is 053 +carry=0 +digit 4 of 488053 is 8 +multiply digit 4 of 488053 which is 8 by 1: temp_mult=8*1=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=053 + +the result of the concatenation is 8053 +carry=0 +digit 5 of 488053 is 8 +multiply digit 5 of 488053 which is 8 by 1: temp_mult=8*1=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8053 + +the result of the concatenation is 88053 +carry=0 +digit 6 of 488053 is 4 +multiply digit 6 of 488053 which is 4 by 1: temp_mult=4*1=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result=88053 + +the result of the concatenation is 488053 +the final_result is 488053 +",488053 +multiplying 729484 by 2: 729484*2= ,"carry=0 +digit 1 of 729484 is 4 +multiply digit 1 of 729484 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+8=8 +compare the addition result to 10: temp_add=8<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 8 +carry=0 +digit 2 of 729484 is 8 +multiply digit 2 of 729484 which is 8 by 2: temp_mult=8*2=16 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+16=16 +compare the addition result to 10: temp_add=16>=10 +the first digit of temp_add=16 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result=8 +the result of the concatenation is 68 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 3 of 729484 is 4 +multiply digit 3 of 729484 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=68 + +the result of the concatenation is 968 +carry=0 +digit 4 of 729484 is 9 +multiply digit 4 of 729484 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=968 +the result of the concatenation is 8968 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 5 of 729484 is 2 +multiply digit 5 of 729484 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+4=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=8968 + +the result of the concatenation is 58968 +carry=0 +digit 6 of 729484 is 7 +multiply digit 6 of 729484 which is 7 by 2: temp_mult=7*2=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=58968 +the result of the concatenation is 458968 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 458968 +the result of the concatenation is 1458968 +the final_result is 1458968 +",1458968 +multiplying 700676 by 3: 700676*3= ,"carry=0 +digit 1 of 700676 is 6 +multiply digit 1 of 700676 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result= +the result of the concatenation is 8 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 700676 is 7 +multiply digit 2 of 700676 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+21=22 +compare the addition result to 10: temp_add=22>=10 +the first digit of temp_add=22 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=8 +the result of the concatenation is 28 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 700676 is 6 +multiply digit 3 of 700676 which is 6 by 3: temp_mult=6*3=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+18=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=28 +the result of the concatenation is 028 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 4 of 700676 is 0 +multiply digit 4 of 700676 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+0=2 +compare the addition result to 10: temp_add=2<10 +carry=0 +temp_add is concatenated to the left of temporary_result=028 + +the result of the concatenation is 2028 +carry=0 +digit 5 of 700676 is 0 +multiply digit 5 of 700676 which is 0 by 3: temp_mult=0*3=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result=2028 + +the result of the concatenation is 02028 +carry=0 +digit 6 of 700676 is 7 +multiply digit 6 of 700676 which is 7 by 3: temp_mult=7*3=21 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+21=21 +compare the addition result to 10: temp_add=21>=10 +the first digit of temp_add=21 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=02028 +the result of the concatenation is 102028 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +final carry=2>0 +the final carry which is 2 is concatenated to the left of the final result which is 102028 +the result of the concatenation is 2102028 +the final_result is 2102028 +",2102028 +multiplying 827756 by 9: 827756*9= ,"carry=0 +digit 1 of 827756 is 6 +multiply digit 1 of 827756 which is 6 by 9: temp_mult=6*9=54 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+54=54 +compare the addition result to 10: temp_add=54>=10 +the first digit of temp_add=54 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 2 of 827756 is 5 +multiply digit 2 of 827756 which is 5 by 9: temp_mult=5*9=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+45=50 +compare the addition result to 10: temp_add=50>=10 +the first digit of temp_add=50 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=4 +the result of the concatenation is 04 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 3 of 827756 is 7 +multiply digit 3 of 827756 which is 7 by 9: temp_mult=7*9=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+63=68 +compare the addition result to 10: temp_add=68>=10 +the first digit of temp_add=68 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=04 +the result of the concatenation is 804 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 4 of 827756 is 7 +multiply digit 4 of 827756 which is 7 by 9: temp_mult=7*9=63 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+63=69 +compare the addition result to 10: temp_add=69>=10 +the first digit of temp_add=69 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=804 +the result of the concatenation is 9804 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 827756 is 2 +multiply digit 5 of 827756 which is 2 by 9: temp_mult=2*9=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+18=24 +compare the addition result to 10: temp_add=24>=10 +the first digit of temp_add=24 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=9804 +the result of the concatenation is 49804 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 827756 is 8 +multiply digit 6 of 827756 which is 8 by 9: temp_mult=8*9=72 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+72=74 +compare the addition result to 10: temp_add=74>=10 +the first digit of temp_add=74 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=49804 +the result of the concatenation is 449804 +the second digit of temp_add is 7 which will be the value of the carry: carry=7 + +final carry=7>0 +the final carry which is 7 is concatenated to the left of the final result which is 449804 +the result of the concatenation is 7449804 +the final_result is 7449804 +",7449804 +multiplying 390354 by 5: 390354*5= ,"carry=0 +digit 1 of 390354 is 4 +multiply digit 1 of 390354 which is 4 by 5: temp_mult=4*5=20 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+20=20 +compare the addition result to 10: temp_add=20>=10 +the first digit of temp_add=20 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result= +the result of the concatenation is 0 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 2 of 390354 is 5 +multiply digit 2 of 390354 which is 5 by 5: temp_mult=5*5=25 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+25=27 +compare the addition result to 10: temp_add=27>=10 +the first digit of temp_add=27 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=0 +the result of the concatenation is 70 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 3 of 390354 is 3 +multiply digit 3 of 390354 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+15=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=70 +the result of the concatenation is 770 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 390354 is 0 +multiply digit 4 of 390354 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+0=1 +compare the addition result to 10: temp_add=1<10 +carry=0 +temp_add is concatenated to the left of temporary_result=770 + +the result of the concatenation is 1770 +carry=0 +digit 5 of 390354 is 9 +multiply digit 5 of 390354 which is 9 by 5: temp_mult=9*5=45 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+45=45 +compare the addition result to 10: temp_add=45>=10 +the first digit of temp_add=45 is fd_result=5 +first digit of temp_add which is 5 is concatenated to the left of temp_result=1770 +the result of the concatenation is 51770 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 6 of 390354 is 3 +multiply digit 6 of 390354 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+15=19 +compare the addition result to 10: temp_add=19>=10 +the first digit of temp_add=19 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=51770 +the result of the concatenation is 951770 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 951770 +the result of the concatenation is 1951770 +the final_result is 1951770 +",1951770 +multiplying 488872 by 7: 488872*7= ,"carry=0 +digit 1 of 488872 is 2 +multiply digit 1 of 488872 which is 2 by 7: temp_mult=2*7=14 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+14=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result= +the result of the concatenation is 4 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 2 of 488872 is 7 +multiply digit 2 of 488872 which is 7 by 7: temp_mult=7*7=49 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+49=50 +compare the addition result to 10: temp_add=50>=10 +the first digit of temp_add=50 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=4 +the result of the concatenation is 04 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 3 of 488872 is 8 +multiply digit 3 of 488872 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+56=61 +compare the addition result to 10: temp_add=61>=10 +the first digit of temp_add=61 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=04 +the result of the concatenation is 104 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 4 of 488872 is 8 +multiply digit 4 of 488872 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+56=62 +compare the addition result to 10: temp_add=62>=10 +the first digit of temp_add=62 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=104 +the result of the concatenation is 2104 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 5 of 488872 is 8 +multiply digit 5 of 488872 which is 8 by 7: temp_mult=8*7=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+56=62 +compare the addition result to 10: temp_add=62>=10 +the first digit of temp_add=62 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=2104 +the result of the concatenation is 22104 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 6 of 488872 is 4 +multiply digit 6 of 488872 which is 4 by 7: temp_mult=4*7=28 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+28=34 +compare the addition result to 10: temp_add=34>=10 +the first digit of temp_add=34 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=22104 +the result of the concatenation is 422104 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 422104 +the result of the concatenation is 3422104 +the final_result is 3422104 +",3422104 +multiplying 484177 by 8: 484177*8= ,"carry=0 +digit 1 of 484177 is 7 +multiply digit 1 of 484177 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+56=56 +compare the addition result to 10: temp_add=56>=10 +the first digit of temp_add=56 is fd_result=6 +first digit of temp_add which is 6 is concatenated to the left of temp_result= +the result of the concatenation is 6 +the second digit of temp_add is 5 which will be the value of the carry: carry=5 + +carry=5 +digit 2 of 484177 is 7 +multiply digit 2 of 484177 which is 7 by 8: temp_mult=7*8=56 +Add the multiplication result to the carry: temp_add=carry+temp_mult=5+56=61 +compare the addition result to 10: temp_add=61>=10 +the first digit of temp_add=61 is fd_result=1 +first digit of temp_add which is 1 is concatenated to the left of temp_result=6 +the result of the concatenation is 16 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 3 of 484177 is 1 +multiply digit 3 of 484177 which is 1 by 8: temp_mult=1*8=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+8=14 +compare the addition result to 10: temp_add=14>=10 +the first digit of temp_add=14 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=16 +the result of the concatenation is 416 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 484177 is 4 +multiply digit 4 of 484177 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+32=33 +compare the addition result to 10: temp_add=33>=10 +the first digit of temp_add=33 is fd_result=3 +first digit of temp_add which is 3 is concatenated to the left of temp_result=416 +the result of the concatenation is 3416 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +carry=3 +digit 5 of 484177 is 8 +multiply digit 5 of 484177 which is 8 by 8: temp_mult=8*8=64 +Add the multiplication result to the carry: temp_add=carry+temp_mult=3+64=67 +compare the addition result to 10: temp_add=67>=10 +the first digit of temp_add=67 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=3416 +the result of the concatenation is 73416 +the second digit of temp_add is 6 which will be the value of the carry: carry=6 + +carry=6 +digit 6 of 484177 is 4 +multiply digit 6 of 484177 which is 4 by 8: temp_mult=4*8=32 +Add the multiplication result to the carry: temp_add=carry+temp_mult=6+32=38 +compare the addition result to 10: temp_add=38>=10 +the first digit of temp_add=38 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=73416 +the result of the concatenation is 873416 +the second digit of temp_add is 3 which will be the value of the carry: carry=3 + +final carry=3>0 +the final carry which is 3 is concatenated to the left of the final result which is 873416 +the result of the concatenation is 3873416 +the final_result is 3873416 +",3873416 +multiplying 294632 by 2: 294632*2= ,"carry=0 +digit 1 of 294632 is 2 +multiply digit 1 of 294632 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+4=4 +compare the addition result to 10: temp_add=4<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 4 +carry=0 +digit 2 of 294632 is 3 +multiply digit 2 of 294632 which is 3 by 2: temp_mult=3*2=6 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+6=6 +compare the addition result to 10: temp_add=6<10 +carry=0 +temp_add is concatenated to the left of temporary_result=4 + +the result of the concatenation is 64 +carry=0 +digit 3 of 294632 is 6 +multiply digit 3 of 294632 which is 6 by 2: temp_mult=6*2=12 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+12=12 +compare the addition result to 10: temp_add=12>=10 +the first digit of temp_add=12 is fd_result=2 +first digit of temp_add which is 2 is concatenated to the left of temp_result=64 +the result of the concatenation is 264 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 4 of 294632 is 4 +multiply digit 4 of 294632 which is 4 by 2: temp_mult=4*2=8 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+8=9 +compare the addition result to 10: temp_add=9<10 +carry=0 +temp_add is concatenated to the left of temporary_result=264 + +the result of the concatenation is 9264 +carry=0 +digit 5 of 294632 is 9 +multiply digit 5 of 294632 which is 9 by 2: temp_mult=9*2=18 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+18=18 +compare the addition result to 10: temp_add=18>=10 +the first digit of temp_add=18 is fd_result=8 +first digit of temp_add which is 8 is concatenated to the left of temp_result=9264 +the result of the concatenation is 89264 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +carry=1 +digit 6 of 294632 is 2 +multiply digit 6 of 294632 which is 2 by 2: temp_mult=2*2=4 +Add the multiplication result to the carry: temp_add=carry+temp_mult=1+4=5 +compare the addition result to 10: temp_add=5<10 +carry=0 +temp_add is concatenated to the left of temporary_result=89264 + +the result of the concatenation is 589264 +the final_result is 589264 +",589264 +multiplying 358880 by 5: 358880*5= ,"carry=0 +digit 1 of 358880 is 0 +multiply digit 1 of 358880 which is 0 by 5: temp_mult=0*5=0 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+0=0 +compare the addition result to 10: temp_add=0<10 +carry=0 +temp_add is concatenated to the left of temporary_result= + +the result of the concatenation is 0 +carry=0 +digit 2 of 358880 is 8 +multiply digit 2 of 358880 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=0+40=40 +compare the addition result to 10: temp_add=40>=10 +the first digit of temp_add=40 is fd_result=0 +first digit of temp_add which is 0 is concatenated to the left of temp_result=0 +the result of the concatenation is 00 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 3 of 358880 is 8 +multiply digit 3 of 358880 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+40=44 +compare the addition result to 10: temp_add=44>=10 +the first digit of temp_add=44 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=00 +the result of the concatenation is 400 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 4 of 358880 is 8 +multiply digit 4 of 358880 which is 8 by 5: temp_mult=8*5=40 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+40=44 +compare the addition result to 10: temp_add=44>=10 +the first digit of temp_add=44 is fd_result=4 +first digit of temp_add which is 4 is concatenated to the left of temp_result=400 +the result of the concatenation is 4400 +the second digit of temp_add is 4 which will be the value of the carry: carry=4 + +carry=4 +digit 5 of 358880 is 5 +multiply digit 5 of 358880 which is 5 by 5: temp_mult=5*5=25 +Add the multiplication result to the carry: temp_add=carry+temp_mult=4+25=29 +compare the addition result to 10: temp_add=29>=10 +the first digit of temp_add=29 is fd_result=9 +first digit of temp_add which is 9 is concatenated to the left of temp_result=4400 +the result of the concatenation is 94400 +the second digit of temp_add is 2 which will be the value of the carry: carry=2 + +carry=2 +digit 6 of 358880 is 3 +multiply digit 6 of 358880 which is 3 by 5: temp_mult=3*5=15 +Add the multiplication result to the carry: temp_add=carry+temp_mult=2+15=17 +compare the addition result to 10: temp_add=17>=10 +the first digit of temp_add=17 is fd_result=7 +first digit of temp_add which is 7 is concatenated to the left of temp_result=94400 +the result of the concatenation is 794400 +the second digit of temp_add is 1 which will be the value of the carry: carry=1 + +final carry=1>0 +the final carry which is 1 is concatenated to the left of the final result which is 794400 +the result of the concatenation is 1794400 +the final_result is 1794400 +",1794400