when i run the code with tc3,the result is 9,why?