while(line = readline()){ const [m,n] = line.split(' ').map(Number) const [x1,y1,x2,y2] = readline().split(' ').map(Number) const addx = parseInt(readline())  ...