#!/usr/bin/env python3 import re import sys def replace_words(words: list[str], sentence: str) -> str: regexp = r"(?