import string
import random


def name_generator(size: int = 6, chars: str = string.ascii_uppercase + string.digits) -> str:
    """Get a random name."""
    return ''.join(random.choice(chars) for _ in range(size))