These are samples of student work. Both students got the same answer, but did the work differently. Which student did the work correctly?

Answer:
Student B did the problem corectly
Step-by-step explanation:
Student a did 3*4 while student B did 3*3*3*3 which would equal 27