from typing import List
import re


def substitute_inputs(text: str, placeholders: List[str],
                      inputs: List[str]) -> str:
    """Substitute the inputs for the placeholders in the text"""
    for placeholder, replacement in zip(placeholders, inputs):
        text = re.sub(placeholder, replacement, text, 1)
    return text