Use -sys.maxint - 1 for min value in argmax