Rose=lambda Q,A:(
(((14+Q-A)**5)%14)+(((14-Q+A)**5)%14)+
(((7+Q-A)**4)%7)+(((7-Q+A)**4)%7)+
(((6+Q-A)**3)%6)+(((6-Q+A)**3)%6)+
(((3+Q-A)**2)%3)+(((3-Q+A)**2)%3)+
(((2+Q-A)**1)%2)+(((2-Q+A)**1)%2)
!= 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: