Use the up arrow to stop Yoshi and start adding press the space bar to use Yoshi again.Click on the buttons.This uses a list to keep track of a list of numbers. Sorry it's a little glitchy.
Credit goes to Profgarrett