from datetime import datetime


def year_and_week_to_monday(year, week):
    """
    Returns the a datetime object for the monday in the given week and year.

    :param year: The year to get the date for
    :param week: The week to get the date for
    :return: The monday in the given week of the given year
    """
    return datetime.strptime(f"{year:04d} {week:02d} 1", "%G %V %w")