Is input the 2nd or 1st coordinate in math?