by@ebiyuu1121_
WA
509ms
a=[*map(int,open(0).read().split()] print(-sum(a[i//2]*a[8-i//12*6-i%3]*a[(i//6+1&2)*3+(i+3)//2%3+3]^-(i%2)for i in range(24))//6-2)
17 09 91 95 47 28 01 33 83 58 41 65
File "/volume/CODE", line 1 a=[*map(int,open(0).read().split()] ^ SyntaxError: invalid syntax