code: def download_mctaco_data_and_write_config(
      task_name: str, task_data_path: str, task_config_path: str
  ):
      os.makedirs(task_data_path, exist_ok=True)
      file_name_list = ["dev_3783.tsv", "test_9442.tsv"]
      for file_name in file_name_list:
          download_utils.download_file(
              f"https://raw.githubusercontent.com/CogComp/MCTACO/master/dataset/{file_name}",
              os.path.join(task_data_path, file_name),
          )
      py_io.write_json(
          data={
              "task": task_name,
              "paths": {
                  "val": os.path.join(task_data_path, "dev_3783.tsv"),
                  "test": os.path.join(task_data_path, "test_9442.tsv"),
              },
              "name": task_name,
          },
          path=task_config_path,
      )
  
imports: import json
  import logging
  import os
  import pandas
  import re
  import shutil
  import tarfile
  from operator import itemgetter
  from collections import Counter
  import jiant.scripts.download_data.utils
  import jiant.utils.display
  import jiant.utils.python.filesystem
  import jiant.utils.python.io
  from jiant.scripts.download_data.constants import SQUAD_TASKS, DIRECT_SUPERGLUE_TASKS_TO_DATA_URLS
label_desc: Use image node_id 6 for calling a global function with example usage: download_mctaco_data_and_write_config(task_name, task_data_path, task_config_path) without return types