Leveling Mario and Luigi

what is the best to level up on them?