n=20; m=2; T=[0, 0, 0, 91, 94, 93, 0, 94, 92, 97, 0, 0, 0, 97, 0, 0, 95, 94, 0, 96];