n=3 def f(x,y): if x==y==1: return 0 return 1 for i in range(1<>j&1, a,b,c=x if f(f(a,b),c)!=f(a,f(b,c)): exit(print(*x))