from typing import List
import random


def random_name(first_names: List[str], last_names: List[str]) -> str:
    """
    Generate a random name of the form <first name> <last name> given the
    input lists.
    """
    return random.choice(first_names) + " " + random.choice(last_names)