[ 2018 Multi-University Training Contest 4 ] [ HDU6336 ] E Matrix from Arrays