Converted input to array coordinates.