これが正解の処理やで
https://i.imgur.com/PPUzflJ.gif