Use the list to figure out what to click. Just saying, it seems like M and S do nothing, but S makes him stay, and M lets him move.