A Transformer grew brain-like input and output gates on certain memory tasks — type0 | type0