you write piece paper array n positive integer a1a2an m good pair integer i1j1i2j2imjm each good pair ikjk meet follow condition ikjk odd number 1ikjknin operation perform sequence action good pairs ikjk integer v v1 divide number aik ajk divide number v e perform assignment determine maximum number operation sequentially perform give array note pair time describe operation