Perfect!
To find the next code you need to write how many days the frog need to get out of the hole.