>>123
39 is difficult, but here's what you need to know:
- the symbols turn into different symbols for each iteration: X becomes O, O becomes triangle, triangle becomes X
- the grid shifts itself right by one column each time, with wraparound
- the first column of the grid shifts itself down by one row each time, also with wraparound