Student B is correct.
Student A provided the expression 123, which is incorrect. The expression should involve multiplication to represent the number of nuts collected per hour and the number of hours the squirrel collected nuts. Student A simply added the numbers together instead of multiplying them.
Student B correctly used the expression 12⋅12⋅12 to represent the number of nuts collected. This is because the squirrel collects 12 nuts per hour for 12 hours, and this happens for 12 days. By multiplying these numbers together, we get the total number of nuts collected, which is 1,728.