Maybe the numbers at the end of each cycle are also linked to the painful box... from what I've seen only 3 digit numbers are appearing, maybe the first 2 numbers are clues to which box to go to then the other number is which number to choose