The loop turns your 3 into a 4 so you accidentally pass an 8 into the function, but then the function rudely forces the number back down to a 3, and since 8 plus 3 is 11, the computer just keeps shouting 11 at you forever.