Input (grade 12): Pernes (or Pernes-en-Artois) is a commune in the Pas-de-Calais department in the Nord-Pas-de-Calais region of France.
Output (grade 8): It is found in the region Nord-Pas-de-Calais in the Pas-de-Calais department in the north of France.