code: def convert(input_file, output_file):
      """
      Convert bilingual caption file to monolingual caption. Supported caption file type is SRT.
      """
      line_count = 0
      with open(input_file) as file:
          with open(output_file, "w") as output_file:
              for line in file:
                  if line_count == 0:
                      line_count += 1
                      output_file.write(line)
                  elif PATTERN_TIMESTAMP.match(line):
                      line_count += 1
                      output_file.write(line)
                  elif line == "\n":
                      line_count = 0
                      output_file.write(line)
                  else:
                      if line_count == 2:
                          output_file.write(line)
                      line_count += 1
          output_file.close()
  
label_desc: Use image node_id 1 for calling a global function with example usage: convert(input_file, output_file) without return types