Input (grade 12): The game is the third Mario role-playing game, following Super Mario RPG: Legend of the Seven Stars for the SNES, and Paper Mario for the Nintendo 64.
Output (grade 5): It is the third Mario RPG, after Super Mario RPG for the SNES and Paper Mario for the Nintendo 64. However, it is the first game out of three that stars both Mario and Luigi.