Coordinate input and output types with global variables.