n=10; m=1; T=[94, 18, 18, 85, 64, 27, 70, 81, 83, 0];