Sherlock and The Beast

  • + 0 comments

    You don't need while loop. You only need 2 iterration because z%3 = (z-15)%3, (z-5)%3 = (z-20)%3, ...