Rose=lambda Q,A:( (((3+Q-A)**1)%3)+ (((3+Q-A)**2)%3)+ (((3+Q-A)**3)%3)+ (((3+Q-A)**4)%3) != A) J = 0 while Rose(1,J): J += 1 print(J)
To embed this project on your website, copy the following code and paste it into your website's HTML: