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 5): Pernes, Pas-de-Calais is a commune.